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

Re: [Xen-users] Multiple IP addresses



Ian Tobin wrote:
> Hello,
>  
> does anybody how to add a second IP address to a domU?
>  
> thanks
>  
> Ian

Ian,

        assuming you want to add that to a second
interface, you need to create a second bridge. See the
config file parts below.

Sincerely,

Jan.

===========================================
/etc/xen/xend-config.sxp:
===========================================

(network-script 'my-network-bridge')

===========================================
/etc/xen/scripts/my-network-bridge:
===========================================

#!/bin/sh
# start bridges on both eth0 and eth1

XENDIR="/etc/xen/scripts"

$XENDIR/network-bridge "$@" netdev=eth0 bridge=xenbr0 vifnum=0
$XENDIR/network-bridge "$@" netdev=eth1 bridge=xenbr1 vifnum=1

===========================================
vm1.cfg:
===========================================

...
vif = [ 'mac=aa:00:01:00:10:08,bridge=xenbr0', 
'mac=aa:00:01:00:10:07,bridge=xenbr1' ]
dhcp    = "off"
...

_______________________________________________
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®.