Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2008 17:13:23 +0000
From:      "Jim Stapleton" <stapleton.41@gmail.com>
To:        "Andrew Cid" <andrew@accid.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: QEMU networking quirkiness on 7.0
Message-ID:  <80f4f2b20804121013y5d980abereb05e4aa2a1a1b77@mail.gmail.com>
In-Reply-To: <20080410093625.GA95076@farnborough.darq.net>
References:  <80f4f2b20804081710k5af28466k17f3d38cdd6e344a@mail.gmail.com> <20080409091859.GA14939@farnborough.darq.net> <80f4f2b20804091825y2a37bddehd68e91f57426dc04@mail.gmail.com> <20080410093625.GA95076@farnborough.darq.net>

next in thread | previous in thread | raw e-mail | index | archive | help
OK, my stupid jokes aside, I got this result:


# ifconfig
re0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric
0 mtu 1500
        options=98<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether 00:1a:70:12:bc:55
        inet 192.168.1.84 netmask 0xffffff00 broadcast 192.168.1.255
        inet 192.168.1.85 netmask 0xffffffff broadcast 192.168.1.85
        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 127.0.0.1 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
#!/bin/sh
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@elrond 02:11:26 (1) ~/Desktop > ls -lh /etc/ | grep qemu; cat
/etc/qemu-ifup
-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
error.
I figure I made a  mistake (obviously), any ideas what?

Thanks,
-JIm Stapleton



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