Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2006 20:33:32 +0200 (CEST)
From:      Goran Gajic <ggajic@afrodita.rcub.bg.ac.yu>
To:        freebsd-current@freebsd.org
Subject:   question regarding tap/tun devices 
Message-ID:  <Pine.LNX.4.63.0605282032240.10175@afrodita.rcub.bg.ac.yu>

next in thread | raw e-mail | index | archive | help


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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.63.0605282032240.10175>