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] routing problem in network-route mode

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] routing problem in network-route mode
From: "Alexey Koptsevich" <akopts@xxxxxxxxx>
Date: Wed, 20 Sep 2006 21:15:12 -0400
Delivery-date: Wed, 20 Sep 2006 18:16:01 -0700
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:content-transfer-encoding:content-disposition:references; b=tWS/utzZcX0NR3SBZ+4q8f3JNv5PUCt2yQ6NC8vUsR27dGvva5UZ9B7Wnkm4GHk+PiDKCsvgLsInsOX5Dr8EqGh2CQMcwf4bS87u4KQRz7CdGbXFYGtnAaBxoPukV6oj9QU9CuD5k6wSRIqKyL/gnslfE/mD6UWVytxRf5rHElw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <450EB80F.5000307@xxxxxxxxxxxxx>
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: <67e9a8bb0609180504i27466fb0w936156cca9ed3f23@xxxxxxxxxxxxxx> <450EB80F.5000307@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
It was indeed obvious: if domU's IP is private, network-nat must be used.

I was also trying to figure out how to specify default gateway for domU
in routing configuration: I thought I should use IP of vif<domU>.0 from
dom0 for it, so I tried to find the determine the rule how it is chosen.
But it turned out it does not necessarily should be this IP, it can be
any IP from domU's subnet -- it looks strange, but works.

Alex


On 9/18/06, Jaume Sabater <jsabater@xxxxxxxxxxxxx> wrote:
Alexey Koptsevich wrote:

> I am able to ping domU (192.168.4.200) from dom0 (192,168.1.111)
> and vice versa, but I cannot ping anything outside the server from domU.
> Am I missing something obvious in routing setup?
>
> Is there a way to configure domU's networking via configs?
> Standard way does not seem to work. I do not mind to put the above
> commands to rc.local, but is there better way?

Same happens here. Can ping the Internet, but cannot get pinged from any
of the PCs in the LAN, nor ping them. I hope someone can throw some
light here with this routing thing, as I can't use bridging because the
server is also acting as a proxy-cache and router.

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

<Prev in Thread] Current Thread [Next in Thread>