question regarding tap/tun devices

From: Goran Gajic <ggajic_at_afrodita.rcub.bg.ac.yu>
Date: Sun, 28 May 2006 20:33:32 +0200 (CEST)
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.
Received on Sun May 28 2006 - 16:33:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:56 UTC