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/
Home Products Support Community News


[Xen-devel] Question about network-route

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] Question about network-route
From: wei huang <huanwei@xxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Jul 2005 18:41:42 -0400 (EDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 28 Jul 2005 22:40:13 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <258bd2b369872356f2ad147acf573bee@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

I saw in file /etc/xen/xend-config.sxp that I also have the choice to use
network-route to configure the network. I have troubles using veth0 so I
would like to give it a shot.

I saw some of instruction given in the mailing list:

I strictly follow it: modify the xend-config.sxp, configuration script and
start domu. (I didn't change the network-route and vif-route scripts

But it seems that DomU is still trying to get ip from dhcp. It stops at
determine eth0 ip address for quite a long time and quits with fail.
Do I have to change something at /etc/sysconfig/network-script/ifcfg-eth0
in my domU disk image? If so, I guess it should not be booted with dhcp.
But what should my static ip, netmask, default gateway be?

Here I tried to change the static ip to "" (what ever I specify in
the script) and mask to be but leave the gateway blank.
Now DomU got its ip during boot time cannot connect outside.

I check dom0's route table after domU boots, it seems that is
Kernel IP routing table
tination     Gateway         Genmask         Flags Metric Ref    Use Iface         *      UH    0      0      0 vif1.0        *      U     0      0      0 eth0     *          U     0      0      0 eth0
default         lab001.watson.i         UG    0      0      0 eth0

And DomU's routing table:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface     *          U     0      0        0 eth0
default         *              U     0      0        0 eth0

Dom0 can ping but cannot ssh. DomU cannot access outside, even use

Am I miss something here? I really got stuck here so any suggestions will
be helpful.

Thank you very much!

Wei Huang

Xen-devel mailing list