Almost the same, just that my bridge was also type manual as I do not
configure a IP address for it. And both devices link status was set to up.
iface vlan2 inet manual
vlan-raw-device eth0
iface br0 inet static
address 192.168.1.2
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
bridge_ports vlan2
bridge_fd 2
I copy pasted your's into my /etc/network/interfaces and up'ed vlan2
first by ifup, then br1. Then I started virt-manager 0.7.0-3 and the new
bridge is not selectable from the list.
iface vlan2 inet manual
vlan-raw-device eth0
iface br1 inet static
address 192.168.1.2
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
bridge_ports vlan2
bridge_fd 2
7: vl...@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP
link/ether 00:24:21:20:dc:4d brd ff:ff:ff:ff:ff:ff
inet6 fe80::224:21ff:fe20:dc4d/64 scope link
valid_lft forever preferred_lft forever
8: br1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UNKNOWN
link/ether 00:24:21:20:dc:4d brd ff:ff:ff:ff:ff:ff
inet 192.168.1.2/24 brd 192.168.1.255 scope global br1
inet6 fe80::224:21ff:fe20:dc4d/64 scope link
valid_lft forever preferred_lft forever
u...@kuecken:~$ sudo virt-manager --debug --no-fork
2009-06-11 08:20:01,131 (virt-manager:144): Application startup
2009-06-11 08:20:01,290 (engine:81): About to connect to uris
['qemu:///system']
2009-06-11 08:20:01,292 (connection:144): Bonding masters are: []
2009-06-11 08:20:01,295 (connection:170): Got physical net device
/org/freedesktop/Hal/devices/net_00_24_21_20_dc_4d
2009-06-11 08:20:01,296 (connection:230): Adding net device eth0
00:24:21:20:dc:4d /sys/class/net/eth0 (bridge: br0)
2009-06-11 08:20:01,296 (connection:202): Checking for VLANs on
/sys/class/net/eth0
2009-06-11 08:20:01,368 (engine:320): window counter incremented to 1
How your debug output looks like when you start virt-manager?
Also restarting hald & libvirtd before makes no difference.
Regards,
Andreas
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]