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:30:18 +0530
Delivery-date: Mon, 06 Feb 2006 15:11:16 +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=rBZjchisSpSnlFziylrpqfAZIjn3v4zkG8M69v6A4imPpKGHRNJDtZDMWgMXKTl6hJ6lWUNIpFuw6+1JSqRjWeG20UDt+B8DgJpBGdjSmV7fMDQCk4KfuPDaPgHzhoPQSWoXJnEUKu4DiCCdWuS6jJMfWhw/TJEwyvnTm4s2l0E=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060206144712.GD15155@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> <acb757c00602060452y6d7716bfh8e5107ddfc2bf966@xxxxxxxxxxxxxx> <20060206130933.GD7920@xxxxxxxxxxxxxxxxxxxxx> <acb757c00602060512q192b9905x23f17d5abada462e@xxxxxxxxxxxxxx> <acb757c00602060528mc7f08b9k4713fee37de0c421@xxxxxxxxxxxxxx> <20060206133615.GA15155@xxxxxxxxxxxxxxxxxxxxx> <acb757c00602060544p5eb29f70wdf0d09c82044f9e6@xxxxxxxxxxxxxx> <20060206143251.GB15155@xxxxxxxxxxxxxxxxxxxxx> <acb757c00602060641w4319f9e7m28f41ac25f20b34f@xxxxxxxxxxxxxx> <20060206144712.GD15155@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 2/6/06, CJ van den Berg <cj@xxxxxxxxxxxxx> wrote:
On Mon, Feb 06, 2006 at 08:11:44PM +0530, Anand Gupta wrote:
> On 2/6/06, CJ van den Berg <cj@xxxxxxxxxxxxx> wrote:
> > 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.

Well then either the routing table in domU is still missing something or
proxy_arp is not working properly in dom0.

Can you post the domU routing table?

route -n from inside domU

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
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.250    0.0.0.0         UG    0      0        0 eth0

As per advise from Patrick, i did the following:

In dom0
arp -s 192.168.1.240 00:08:a1:50:fa:19 pub (00:08:a1:50:fa:19 being the mac address for eth0)

Now from inside domU i can ping outside dom0.

However shouldn't the vif-route script be doing this automatically ?

--
regards,

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