[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 18:17:21 +0530
  • Delivery-date: Mon, 06 Feb 2006 12:58:17 +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=MtF+wXbaiLE0nOoIoRyAISBP1DAxJc4IhRiTRZSa/endp0M8RSblvgeeSIq3EBqrvdM55aF/uxLdjjTxRuRw1KkVi5kYpCzuzEpcn/mj/OEg6LS9aCiHhVYGq2k8tF9isifBoi077OWvvPCsc6wC9NsEDJR3lldR4cL338znFl0=
  • 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 11:57:28AM +0530, Anand Gupta wrote:
> I have been trying to get the networking working via route however can't get
> it running.

You didn't actually mention at what point it doesn't work, so here's my
best guess.

Sorry. I can't ping from domU to dom0.

> Here is my domU config
[...]
> ip="192.168.1.240"
> netmask="255.255.255.0"
> gateway="192.168.1.1 "
[...]
> ifconfig from dom0
[...]
> eth0      Link encap:Ethernet  HWaddr 00:08:A1:50:FA:19
>           inet addr:192.168.1.250  Bcast: 192.168.1.255  Mask:255.255.255.0
[...]
> vm01      Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
>           inet addr:192.168.1.250   Bcast:192.168.1.250  Mask:255.255.255.255

It seems to me that your virtual network interface (vm01) and external/real
network interface (eth0) are on the same subnet (and even have the same
address). This doesn't make sense to me and I don't see how routing can work
like this.  Aside from that, if it were to work, your gateway inside domU
should probably be 192.168.1.250 or else domU will not be sending outgoing
packets to dom0.

I tried to set the gateway inside domU to 192.168.1.250 and still it doesn't work.

As for the same ip address for both interfaces, i was confused myself until i saw a post on the mailing list which mentioned that using the route method copies the ip of the eth0 to the vif<id>.0 . Same was posted in the wiki as well -> http://wiki.xensource.com/xenwiki/XenNetworking

P.S. I see my config for the domU has "192.168.1.1" as gateway, i will change that and post results.


--
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®.