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

[Xen-users] xen cfg + route + passing a list of IP

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen cfg + route + passing a list of IP
From: Andrew McGregor <andy@xxxxxxxx>
Date: Mon, 05 Feb 2007 12:47:36 +0000
Delivery-date: Mon, 05 Feb 2007 04:47:30 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: TXM.MOBI.Ltd
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)
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
: fi

What 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

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