question regarding tap/tun devices
Goran Gajic
ggajic at afrodita.rcub.bg.ac.yu
Sun May 28 11:33:43 PDT 2006
Hi,
I'm running 7.0-CURRENT build Thu May 25 23:17:10 CEST 2006 GENERIC config.
While playing with dynamips emulator which uses tap I've noticed that
ifconifg tun0 create or ifconfig tap0 create doesn't work (this doesn't
have anything to do with emulator which works great).
fbsd# ifconfig tap0 create
ifconfig: SIOCIFCREATE: Invalid argument
However, doing:
fbsd# stat /dev/tap0
83951360 128 crw------- 1 root wheel 128 0 "May 28 18:41:03 2006" "May 28
18:41:03 2006" "May 28 18:41:03 2006" "Jan 1 00:59:59 1970" 4096 0 0 /dev/tap0
fbsd# ifconfig tap0
ifconfig: interface tap0 does not exist
fbsd# cat /dev/tap0
^C
fbsd# ifconfig tap0
tap0: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:bd:79:64:40:00
Is this normal or am I missing something?
Regards,
gg.
More information about the freebsd-current
mailing list