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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] routed networking xen3.0.1
From: Anand Gupta <xen.mails@xxxxxxxxx>
Date: Mon, 6 Feb 2006 20:11:44 +0530
Delivery-date: Mon, 06 Feb 2006 14:52:43 +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=Cbwr0YXaRAJKTdwKgM+jsl68EJJ48jo733oyUx6mpCfVWcMsCESs4l0W3PNvVNt5hgOu7qU/fuWvgWEY4WVpq1ME9va2UPtmAISci3htjve3y8jeFmDITAu01sk2loY/N8UEPx18JiGuCJC/UppEOnetodRnN1rajxTHNvaXFnE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060206143251.GB15155@xxxxxxxxxxxxxxxxxxxxx>
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>
References: <acb757c00602052227p14f33828o22fc785f3a90c322@xxxxxxxxxxxxxx> <20060206122748.GB7920@xxxxxxxxxxxxxxxxxxxxx> <acb757c00602060452y6d7716bfh8e5107ddfc2bf966@xxxxxxxxxxxxxx> <20060206130933.GD7920@xxxxxxxxxxxxxxxxxxxxx> <acb757c00602060512q192b9905x23f17d5abada462e@xxxxxxxxxxxxxx> <acb757c00602060528mc7f08b9k4713fee37de0c421@xxxxxxxxxxxxxx> <20060206133615.GA15155@xxxxxxxxxxxxxxxxxxxxx> <acb757c00602060544p5eb29f70wdf0d09c82044f9e6@xxxxxxxxxxxxxx> <20060206143251.GB15155@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 2/6/06, CJ van den Berg <cj@xxxxxxxxxxxxx> wrote:
On Mon, Feb 06, 2006 at 07:14:27PM +0530, Anand Gupta wrote:
> 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 ?

Sorry, my bad. gateway is of course not interface specific.

Try this:

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

Yes thats what i am doing. Ping from domU to dom0 works, but can't go beyond dom0 as i posted earlier.


--
regards,

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