Thread: KVM/QEMU Bridged Networking Problem
i have been running win7 under kvm/qemu. after upgrading to
kubuntu 11.04 has changed win7 client
bridged networking no longer works.
/etc/network/interfaces , ifconfig output below. the
ifconfig shows eth1 getting ip address dhcp while the
/etc/network/interfaces configured static address.
-where primary ethernet interface configured use dhcp?
(apparently not in /etc/network/interfaces)
-where did virbr0 come , how configured? didn't configure it
$ cat /etc/network/interfaces
# file describes network interfaces available on system
# , how activate them. more information, see interfaces(5).
# loopback network interface
auto lo
iface lo inet loopback
# configure actual ethernet device in promiscuous mode and
# add bridge
iface eth0 inet manual
pre-up ifconfig eth0 0.0.0.0 promisc up
pre-up brctl addif br0 eth0
pre-down brctl delif br0 eth0
pre-down ifconfig eth0 down
# create our bridge interface using static ip address on network
auto br0
iface br0 inet static
address 192.168.1.17
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
pre-up ifconfig eth0 down
pre-up ifconfig eth0 0.0.0.0 promisc up
pre-up brctl addbr br0
pre-up brctl addif br0 eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
$ ifconfig
eth1 link encap:ethernet hwaddr 00:30:67:74:87:d1
inet addr:192.168.1.118 bcast:192.168.1.255 mask:255.255.255.0
inet6 addr: fe80::230:67ff:fe74:87d1/64 scope:link
broadcast running multicast mtu:1500 metric:1
rx packets:5130 errors:0 dropped:0 overruns:0 frame:0
tx packets:5633 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
rx bytes:3011820 (3.0 mb) tx bytes:786062 (786.0 kb)
interrupt:42 base address:0x6000
lo link encap:local loopback
inet addr:127.0.0.1 mask:255.0.0.0
inet6 addr: ::1/128 scope:host
loopback running mtu:16436 metric:1
rx packets:38 errors:0 dropped:0 overruns:0 frame:0
tx packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
rx bytes:2180 (2.1 kb) tx bytes:2180 (2.1 kb)
virbr0 link encap:ethernet hwaddr b2:6f:00:08:a3:eb
inet addr:192.168.122.1 bcast:192.168.122.255 mask:255.255.255.0
broadcast running multicast mtu:1500 metric:1
rx packets:0 errors:0 dropped:0 overruns:0 frame:0
tx packets:90 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
rx bytes:0 (0.0 b) tx bytes:13522 (13.5 kb)
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [kubuntu] KVM/QEMU Bridged Networking Problem
Ubuntu
Comments
Post a Comment