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

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



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


 


Rackspace

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