WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] XEN bridging external ip

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] XEN bridging external ip
From: Hendrik Jürgens <speedburner@xxxxxxxxx>
Date: Mon, 10 Jul 2006 13:57:00 +0200
Delivery-date: Mon, 10 Jul 2006 04:58:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060619)
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] XEN bridging external ip, Hendrik Jürgens <=