[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] network bridging breaks host network...

From: Bryan
Subject: [Qemu-discuss] network bridging breaks host network...
Date: Mon, 21 Jan 2013 12:20:06 -0800 (PST)


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, etc)
and load web pages into browser

host ip
router ip

Now, prepare host networking for bridging with a qemu guest (not currently running) as follows:

host# ifconfig eth1 down
host# ifconfig eth1 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 up
host# brctl addbr br0
host# brctl addif br0 eth1
host# brctl addif br0 tap0
host# brctl stp br0 off
host# ifconfig br0 netmask

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

Guest is 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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]