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: CJ van den Berg <cj@xxxxxxxxxxxxx>
Date: Mon, 6 Feb 2006 13:27:49 +0100
Delivery-date: Mon, 06 Feb 2006 12:38:54 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <acb757c00602052227p14f33828o22fc785f3a90c322@xxxxxxxxxxxxxx>
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>
Mail-followup-to: xen-users@xxxxxxxxxxxxxxxxxxx
References: <acb757c00602052227p14f33828o22fc785f3a90c322@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11+cvs20060126
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.

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

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