From owner-freebsd-net Sat Jan 5 20:20:25 2002 Delivered-To: freebsd-net@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id EA37C37B449 for ; Sat, 5 Jan 2002 20:20:16 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020106042011.UAUN20395.rwcrmhc52.attbi.com@InterJet.elischer.org>; Sun, 6 Jan 2002 04:20:11 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id UAA35808; Sat, 5 Jan 2002 20:19:13 -0800 (PST) Date: Sat, 5 Jan 2002 20:19:11 -0800 (PST) From: Julian Elischer To: Naga R Narayanaswamy Cc: cjclark@alum.mit.edu, freebsd-net@FreeBSD.ORG Subject: Re: Bridging and 'pseudo-device tap' and PPPoE In-Reply-To: <3C3722D0.7DF8B00C@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org you should be able to use N ng_eiface interfaces and then connect them together with teh bridging code somehow, so that all teh packets come and go on a single physical interface. the ng_eiface node is not in -stable but it's a pretty simple edit to make it work there, as it was originally written there. (I have not actually looked at trying this but just get the feeling that it should work.) julian On Sat, 5 Jan 2002, Naga R Narayanaswamy wrote: > "Crist J. Clark" wrote: > > > > On Thu, Jan 03, 2002 at 07:39:20AM -0500, Naga R Narayanaswamy wrote: > > > Hello: > > > > > > I want to create pseudo ethernet devices to simulate many NICs on > > > a PC. In Solaris, we can do "ifconfig hme0:1 10.1.1.1 up" > > > hme0:2 etc to create logival interfaces. I am trying to do a similar thing > > > on FreeBSD. > > > > # ifconfig fxp0 inet 10.1.1.1 alias > > This will only add another IP address to the same fxp0 interface. > I want different interfaces like fxp0:1, fxp0:2 (like tap0, tap1 ...) > with their own MAC addresses and IP addresses (but no physical card > to represent them) > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message