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

Re: [Xen-users] routed networking xen3.0.1


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Anand Gupta <xen.mails@xxxxxxxxx>
  • Date: Mon, 6 Feb 2006 19:14:27 +0530
  • Delivery-date: Mon, 06 Feb 2006 13:55:22 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=TUskqaH1v2lxuvyfL3Yz6gkfGdnaOa5QzXsFklc7SmA80XJpvLEO2o5evUNxpWCNvC2oe13LBvz3dSIgMEgvCKQrMKlFlhSX+Ka0Uknq/EE2n9CxXwvfFg48ovs9qAvwZYBDrh+DHNINppUYCixfRmJkZ/bftfGNT9V7Sdrpwxg=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On 2/6/06, CJ van den Berg <cj@xxxxxxxxxxxxx> wrote:
On Mon, Feb 06, 2006 at 06:58:43PM +0530, Anand Gupta wrote:
> Shouldn't the vif-route be adding the route in dom0?

Yes it should. It seems the vif script is not seeing the ip parameter. I
suggest you try moving the ip= and gateway= parameters into the vif=
parameter. (Assuming you're are running 3.0.1)

This is what i use in the config file (yes i have 3.0.1)

vif = ['mac=AA:00:00:18:98:FB, ip=192.168.1.240 , gateway=192.168.1.250, vifname=vm01']

when i try to start the domU, i get the following error:

Error: Invalid vif option: gateway

Without the gateway option it boots up. Now i can ping dom0 from inside domU. However can't go beyond dom0.

Any ideas ?

route -n from dom0
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.240   0.0.0.0         255.255.255.255 UH    0      0        0 vm01
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0

Thanks for the help so far.

--
regards,

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