From owner-freebsd-net@freebsd.org Wed Feb 8 18:31:51 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34D18CD68B7 for ; Wed, 8 Feb 2017 18:31:51 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E9BE1DCB; Wed, 8 Feb 2017 18:31:50 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-yw0-x22b.google.com with SMTP id l19so91203399ywc.2; Wed, 08 Feb 2017 10:31:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=dbxwM7GM5Xe6sR74fTWB7J4VFOpxZfCk50xojeP9adc=; b=dosoSDWrJOI17ZW9ZjkW/WW9JgEI7KSIhC1/BuRqJN+IZkH7FQNg1uhlixw6qtRGPH Tx3KAYijW+RG3nq7CAGOBPIxWcH6/YnFKLmoK6ffTCQ2j/ENZfjOesyAoqZF4LEO7fRG CPQ3xFeaClc/oQng8xP34qdb7mqVJ+bc6Um3gS4HYNenBazoqq2JqGG5Z1qrrZZv/PtG Mr+RS5Coc9qk41hGYosTjHluNTasJby+GlXIKBxILcjW7LrzC3GlW7C2VgSls5sa0uzc I9RpQmserhnagIqK6OmMC5IYj0ewBShHbpra4PrcR3fUWzatWA489d3lA8w6wdKIjSz7 IN7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=dbxwM7GM5Xe6sR74fTWB7J4VFOpxZfCk50xojeP9adc=; b=Sc0lwl2iGccz/S8ZtAU05QVRx5XD9q5QuSFxVlEbG7V45A3NTfs6Lcw2+GicHEReZr LgDgUIZm6jY6pNoN4V6opXblLeKw/7CVec7h4UToeV6eiB3ijZjIBSKHXQUlJoqF/ePC 9+ijwfffdlLBjmmQUNAUCJ1zoKY6Wt6ORqcxc6K+K7M+0FQSz7kO5gqq05nqNcmju62P dYGvBc7B+oRehdMkyF0qyrRCS/dYNhPUCSAXEKlijiIqU1Ki+gmhUA17UeXYqoOisWCk iY2lNGBPBp2Y8UBy4qsMReqz08H+MirbsebvhqR4n1ojgazG/PSnUldzVBMs/+bi1UGP b9og== X-Gm-Message-State: AIkVDXKUxEasyqlm7x5n743droMG+kBrwYT2OWyCXeUE59deZDMu7wtn/ggqZ6wf6Fn9bUV7j963zqa8GL/pfg== X-Received: by 10.129.141.6 with SMTP id d6mr15596326ywg.36.1486578710111; Wed, 08 Feb 2017 10:31:50 -0800 (PST) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.129.38.133 with HTTP; Wed, 8 Feb 2017 10:31:49 -0800 (PST) In-Reply-To: <3e403eb2-b113-12d5-17c4-096ff32239e8@FreeBSD.org> References: <3e403eb2-b113-12d5-17c4-096ff32239e8@FreeBSD.org> From: Alan Somers Date: Wed, 8 Feb 2017 11:31:49 -0700 X-Google-Sender-Auth: aFEoIoeB6zVllkmf29KxKDkDb_8 Message-ID: Subject: Re: Multiple MAC addresses on a single interface To: Alex Dupre Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 18:31:51 -0000 It sounds like overkill, but if you put each PPPoE client in a separate VIMAGE jail, then each one will get a separate vnet interface, with distinct MACs. They can be bridged to the same physical interface. -Alan On Wed, Feb 8, 2017 at 11:06 AM, Alex Dupre wrote: > Hi, > I need to establish two PPPoE sessions on the same LAN using the same > ethernet interface. The sessions are on different VLANs, but they are > handled by the same AC that doesn't allow that both sessions are initiated > by the same MAC address. Is there a way to associate two MAC addresses to a > single physical interface (even by creating a virtual interface linked to > the physical one) and so have VLANs on different mac addresses, without > forcing the use of a secondary physical interface? > > -- > Alex Dupre > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"