I'm having some network bridging problems with qemu.
I have full networking on a host (ubuntu 12.04 64 bit):
able to ping other system on the network (router, printer, yahoo,
and load web pages into browser
host ip 192.168.1.57
router ip 192.168.1.1
Now, prepare host networking for bridging with a qemu guest (not currently running) as follows:
host# ifconfig eth1 down
host# ifconfig eth1 0.0.0.0 promisc up
host# openvpn --mktun --dev tap0
Mon Jan 21 12:46:47 2013 TUN/TAP device tap0 opened
Mon Jan 21 12:46:47 2013 Persist state set to: ON
host# ifconfig tap0 0.0.0.0 up
host# brctl addbr br0
host# brctl addif br0
host# brctl addif br0 tap0
host# brctl stp br0 off
host# ifconfig br0 192.168.1.201 netmask 255.255.255.0
at this point, the host can still ping the router, but can no longer ping yahoo.com or load web pages....
start qemu as follows:
qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1" -hda 2012-12-16-wheezy-raspbian.img -net nic -net tap,ifname=tap0,script=no
able to ping the router, and yahoo and load web pages. Also, host and guest can ping each other.
And host can ssh into guest.
Looks close. What is broken/missing that will re-enable the hosts ability to reach the internet?