[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Getting the bridged network running on Debian Squeeze with Xen 4.0.1
Thanks for your fast response. On 29.02.2012, at 13:04, Simon Hobson wrote: > Taschik, Daniel wrote: > >> On the Host, my xend-configuration.sxp looks like this: >> >> (vif-script vif-bridge) >> (network-script 'network-bridge bridge=eth0') > > OK, stop right there, comment out network-script. The Xen supplied > scripts are not needed now and are to all intents deprecated in > favour of Host OS facilities. Debian in particular make sit an > absolute doddle to set up the bridge. All you need in > /etc/network/interfaces is something like this : > > auto eth0 > iface eth0 inet static > bridge_ports peth0 > address 192.168.x.y > netmask 255.255.255.0 > gateway 192.168.x.z > I commented (network-script 'network-bridge bridge=eth0') and m y interfaces now look like the following: auto eth0 iface eth0 inet static bridge_ports peth0 address 192.168.67.12 netmask 255.255.255.128 network 192.168.67.0 broadcast 192.168.67.127 gateway 192.168.67.1 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 192.168.67.1 dns-search signavio.com I also changed /etc/udev/rules.d/70-persistent-net.rules to: # PCI device 0x8086:0x10c9 (igb) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:25:90:49:93:20", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="peth0" # PCI device 0x8086:0x10c9 (igb) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:25:90:49:93:21", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" # PCI device 0x8086:0x10c9 (igb) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:25:90:49:93:1f", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3" # PCI device 0x8086:0x10c9 (igb) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:25:90:49:93:1e", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2" I also changed my guest vif config to: vif = [ 'bridge=xenbr0,mac=39:fa:a9:88:a1:5c' ] When I create the guest I still get the following error: Configuring network interfaces...SIOCSIFFLAGS: Cannot assign requested address SIOCSIFFLAGS: Cannot assign requested address Failed to bring up eth0. any other ideas? > And I've used /etc/udev/rules.d/70-persistent-net.rules to set the > name of the physical interface to peth0. You don't have to do this, > you can use any name for the bridge, and any name for the physical > NIC. > > That *really* is all you need to create a bridge in Debian these days ! > > I'd try that first and see if it changes anything. If not then > there's something else going on. I'm running 4.0.1 & Debian Squeeze > both at home and work, i686 and AMD64. > > > One other thing I'd try is not specifying any IP addressing when > creating the guest. That ought to bypass any iptables stuff being set > up in vif-script. > > -- > Simon Hobson > > Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed > author Gladys Hobson. Novels - poetry - short stories - ideal as > Christmas stocking fillers. Some available as e-books. > > _______________________________________________ > Xen-users mailing list > Xen-users@xxxxxxxxxxxxx > http://lists.xen.org/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |