Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Jan 2002 10:56:40 -0500
From:      Naga R Narayanaswamy <nraju@mindspring.com>
To:        freebsd-net@freebsd.org, drwilco@drwilco.net
Subject:   Re: Bridging and 'pseudo-device tap' and PPPoE
Message-ID:  <3C372238.F529FB40@mindspring.com>

next in thread | raw e-mail | index | archive | help
> From: Rogier R. Mulhuijzen 
> To: Naga R Narayanaswamy 
> Cc: freebsd-net@freebsd.org 
> Sent: Friday, January 04, 2002 8:26 PM
> Subject: Re: Bridging and 'pseudo-device tap' and PPPoE
> 
> At 07:39 3-1-2002 -0500, you 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. But after searching the archives, I find that I have to use 
>>  tap device. Is there any other way than the approach I am using below.

> Doing that on Solaris gives you additional MAC addresses?

No, but I can configure my own MAC address as in freebsd by changing the
mac address using ifconfig lladdr option.

> I've used bridging with tap devices plenty. Works fine for me.

What bridging method do you use with tap device ? 
option BRIDGE in kernel method OR netgraph bridging method?


> TAP devices don't actually work unless there's a process that has the /dev/ entry
> opened and reads from it (well, they'll buffer a little).

So, just let a process like "cat /dev/tap0" read the tap device, I
assume.

Thanks
Naga

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C372238.F529FB40>