[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] xen cfg + route + passing a list of IP
Hi there,I've just set up Etch/Xen and my ISP requires routing instead of bridging. Dom0 has a single IP and I have a network x.x.x.x/24. DomU couldn't route outside until I ran the following on Dom0: : ip route add ${FIRST_DOMU_IP} dev vif2.0 src ${DOM0_IP} I found it in this script, /etc/xen/scripts/vif-route. : if [ "${ip}" ] ; then: # If we've been given a list of IP addresses, then add routes from dom0 to : # the guest using those addresses. : for addr in ${ip} ; do : ${cmdprefix} ip route ${ipcmd} ${addr} dev ${vif} src ${main_ip} : done : fiWhat do I have to change, presumably in /etc/xen/xend-config.sxp to pass a list of IP addresses? Thanks, -- Andrew McGregor - TXM.MOBI Ltd Launching: http://www.ariel-leve.com _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |