Problems with createing a tap interface.

Nikos Vassiliadis nvass at teledomenet.gr
Mon Feb 20 07:19:39 PST 2006


On Sunday 19 February 2006 09:17, Vulpes Velox wrote:
> #ifconfig tap create
> ifconfig: SIOCIFCREATE: Invalid argument
>
> The if_tap module is loaded, but I can't seem to get around this. Any
> suggestions?

Yes, try to open the tap device and it will be created automagically...

root at brad:0:/usr/ports/mail/imp# ifconfig tap0
ifconfig: interface tap0 does not exist
root at brad:0:/usr/ports/mail/imp# < /dev/tap0
root at brad:0:/usr/ports/mail/imp# ifconfig tap0 
tap0: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:bd:dc:d6:84:00
root at brad:0:/usr/ports/mail/imp# 





More information about the freebsd-questions mailing list