QEMU networking quirkiness on 7.0

Jim Stapleton stapleton.41 at gmail.com
Sat Apr 12 17:13:24 UTC 2008

OK, my stupid jokes aside, I got this result:

# ifconfig
0 mtu 1500
        ether 00:1a:70:12:bc:55
        inet netmask 0xffffff00 broadcast
        inet netmask 0xffffffff broadcast
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet6 ::1 prefixlen 128
        inet netmask 0xff000000
tap0: flags=8903<UP,BROADCAST,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:bd:cd:fd:1a:00
bridge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 8e:31:f1:19:61:13
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
        root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0
        member: re0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
        member: tap0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
# cat WinXP\ VM
qemu -boot c -net nic -net tap -hda /data/WinXP.img -m 512 -soundhw
es1370 -localtime -smb /data/
# ./WinXP\ VM
warning: could not open /dev/tap4 (No such file or directory): no
virtual network emulation Could not initialize device 'tap'
sjss at elrond 02:11:26 (1) ~/Desktop > ls -lh /etc/ | grep qemu; cat
-rwxr-xr-x 1 root wheel      18 Apr 10 11:35 qemu-ifup*
ifconfig ${1} up

I tried to create tap4 to fix this, then it complained about tap5 not
existing. It creates the /dev/tap device it wants when there is an
I figure I made a  mistake (obviously), any ideas what?

-JIm Stapleton

More information about the freebsd-questions mailing list