Question about bridging code

kw3wong at engmail.uwaterloo.ca kw3wong at engmail.uwaterloo.ca
Thu Jul 10 14:19:47 PDT 2003


Hi guys,

I finally got it working - apparently, the taps won't work unless I were to 
ifconfig the tap device with an ip address (I don't think an ip address is 
actually needed, but the ifconfig probably does some ioctl that is needed to 
start up the tap device). I'll try to find what exact ioctl call is necessary 
to jump start it. 

Thanks for everyone's help, I didn't know there are so many potential solutions 
out there for this problem. I'm so glad to find out first hand what a friendly 
and helpful developer community that FreeBSD has! Thanks!

Bernie


Quoting kw3wong at engmail.uwaterloo.ca:

> Hi Luigi,
>  
> > It's just a naming issue, vmnetX is the network-device name of /dev/tapX.
> > (the ip-equivalent thing, "tun", has the same name for both the network
> > device and the device entry in the filesystem. As a matter of fact the
> > latter is totally arbitrary so "tun" perhaps should be called "vmnet"...)
> 
> But when I do a ifconfig, only tapX devices are there, where there is no
> vmnetX 
> devices. And when I set up the bridge with vmnetX, the kernel will complain 
> that the vmnetX devices do not exist. Do I need to perform a makedev on it 
> first to create the devices? If so, do they have a special major and minor 
> number that I should assign it to?
> 
> Bernie
> 
> ----------------------------------------
> This mail sent through www.mywaterloo.ca
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
> 




----------------------------------------
This mail sent through www.mywaterloo.ca


More information about the freebsd-net mailing list