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

[Xen-users] XEN bridging external ip



Hi,

i've a small problem with bridging in xen

Dom0: gentoo, xen configured with
   (network-script network-bridge)
   (vif-script vif-bridge)

After starting xend then bridge seems to be configured properly
########BEGIN#########
> brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              vif0.0
                                                        peth0
######################


Now i want a DomU (using debian) do be on the bridge using one of my
public ip-adresses, so that the DomU can be used as a standalone server.
######################
kernel = "/home/xen/vmlinuz"
memory = 64
name = "vserv"

vif=[ 'mac=aa:00:00:00:00:11, bridge=xenbr0' ]
netmask="<public netmask>"
gateway="<public gateway>"
ip="<public ip of domU"
broadcast="<broadcase>"

disk = [
'file:/home/xen/vserv/diskimage,sda1,w','file:/home/xen/vservi/swapimage,sda2,w'

]
######################


After starting the DomU the newly created interface is added to the
bridge (as expected)
######################
> brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              vif0.0
                                                        peth0
                                                        vif108.0
######################

But the host systen can't start the interface on the public ip-address.
While booting the DomU I get the folowing error message.

######################
Configuring network interfaces...SIOCADDRT: Network is unreachable
Failed to bring up eth0.
######################

my interfaces configfile on the debain DomU
######################
launchpad:~# cat /etc/network/interfaces
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
     address <public ip>
     network <public networkadress>
     netmask <public netmask>
     broadcast <public broadcast>
     gateway <public gateway>
######################

Except for the ip, this are the same networks ettings I use in the Dom0.


any ideas?

-- 
Best regards
Hendrik Jürgens

Northern Network Gamer Assiciation e.V.
Buschstraße 23 - 26789 Leer

http://www.nnga.info

mailto: hendrik.juergens@xxxxxxxxx
PGP Public Key: http://www.dncornholio.de/pubkey.asc

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.