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] vif-route script not getting domU-IP (vif-IP)

To: xen-users Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] vif-route script not getting domU-IP (vif-IP)
From: Maik Brauer <mailinglist@xxxxxxxxxxxxxxx>
Date: Tue, 23 Jun 2009 15:51:58 +0200
Delivery-date: Tue, 23 Jun 2009 06:52:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I'm using the XEN 3.4.1-pre4 Hypervisor in Routet Mode and I'm facing some problems when I start the DomU. In detail, it means that the DomU IP-Adress will not be implemented in the Kernel routing table after starting the domU via "xm create /<path +configfle>" After making a "netstat -nr" it will not show the IPadress bound to the VIF<..>-interface.

A small echo in the vif-route script shows that the variable $IP is empty. So no value will be available, therefore the script can't work.

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

Has sombody faced the same problems ?

Cheers,
Maik

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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