[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 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=
  • 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 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.