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

Re: [Xen-users] Re: Bridge Setup problem in domU and Static IP Issues!

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: Bridge Setup problem in domU and Static IP Issues!
From: Mark Hurenkamp <mark.hurenkamp@xxxxxxxxx>
Date: Tue, 16 Feb 2010 21:13:17 +0100
Cc: Jan Muhammad <janmuhd@xxxxxxxxx>
Delivery-date: Tue, 16 Feb 2010 12:14:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <749750.66585.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <749750.66585.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.12.2 (Linux/2.6.31.6mh13; KDE/4.3.2; x86_64; ; )
Hi Jan,


> auto eth0
> iface eth0 inet manual
> 
> auto br0
> iface br0 inet static
> address xxx.xxx.xxx.xxx (My Static IP as assigned by Sys admin)
> network xxx.xxx.xxx.x  (network address)
> netmask 255.255.255.0
> gateway 130.209.58.1
> bridge_ports eth0
Okay, I'm missing the broadcast line here, not sure if that could be
a problem though, since it is also not in the original...


> kernel      = '/boot/vmlinuz-2.6.26-1-xen-686'
> ramdisk     = '/boot/initrd.img-2.6.26-1-xen-686'
> memory      = '512'
> root        = '/dev/sda2 ro'
> disk        = [
>                   'file:/home/xen/domains/debiantest2/swap.img,sda1,w',
>                   'file:/home/xen/domains/debiantest2/disk.img,sda2,w',
>               ]
> name        = 'debiantest2'
> dhcp        = 'dhcp'
> vif         = [ 'mac=00:16:3E:85:31:E6' ]
Here you might want to add a 'bridge=br0' statement:
vif         = [ 'mac=00:16:3E:85:31:E6, bridge=br0' ]

> on_poweroff = 'destroy'
> on_reboot   = 'restart'
> on_crash    = 'restart'

In xend-config.sxp comment this line out:
>  (network-script network-bridge)

And uncomment this line:
> # (network-script network-dummy)

You don't need to use the network-bridge script supplied by xen since you have 
already setup the bridge from /etc/network/interfaces
Thus you can simply use network-dummy, which basically does nothing.

For the rest of the config files, they look alright to me.


Regards,
Mark.


P.S. For next time, could you post without all the comments in your config 
files 
by using a filter like this:
cat configfile | sed s/^#.*// | sed /^$/d
Thanks.

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

<Prev in Thread] Current Thread [Next in Thread>