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

Re: [Xen-users] Xen with 2 eth interface



Franck Delmond wrote:
hello,
I want to configure 2 interface like this

eth0 for LAN is 172.16.0.3
eth1 for SAN is 192.168.0.13

I want all VM can access to all network

my configuration is :

(network-script 'network-bridge netdev=eth0') to have peth0 and I have a peth0 interface (network-script 'network-bridge netdev=eth1') to have peth1but I don't have a peth1 interface

iirc, you cannot specify two network-script options in xend-config.sxp. what you need to do is make a wrapper script that is something like

#!/bin/sh
/etc/xen/scripts/network-bridge netdev=eth0 start
/etc/xen/scripts/network-bridge netdev=eth1 start

and then put that wrapper script in you network-script option for xend. it would hurt to make things a little smart like being able to call start and stop to the same wrapper that will start or stop both of the network interfaces or handling errors. hopefully that points you in the right direction.

mike

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