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

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"

-- 
CJ van den Berg

mailto:cj@xxxxxxxxxxxxx
  xmpp:cj@xxxxxxxxxxxxx
   sip:8918316@xxxxxxxxxx

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