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] Interesting networking problem (network is unreachable)

To: "Morten W. Petersen" <morten@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Interesting networking problem (network is unreachable)
From: "Manu Garg" <manugarg@xxxxxxxxx>
Date: Tue, 9 Jan 2007 17:26:31 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Vinay S Shastry <shastry@xxxxxxxxxxxxxx>
Delivery-date: Tue, 09 Jan 2007 03:56:20 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=X/jSUNJBaV/nZpEQXYPGIIS6HZn6x+Zbrt9rasKnm0/pZOxPKRhRUMuTZ9/Pu/DwogksRBChgEe1B+pv+g5kFzF2JSPHdahMLT/5YgTmhflxTVkO60U/K7kZuD2sEp9SaSnpKOHJFwAR6M97Ivtlv85q0nF96k6u324KbY4DSUk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45A37E78.2050805@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>
References: <45A37E78.2050805@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
and the /etc/network/interfaces file in the guest domain says

auto lo eth0

iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
iface eth0 inet static
        address 83.143.83.193
        netmask 255.255.255.248
        gateway 83.143.83.121
        # dns-* options are implemented by the resolvconf package, if
installed
        dns-nameservers 193.67.79.39
        dns-search nidelven-it.no

and the output from route on the guest domain is

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
83.143.83.192   *               255.255.255.248 U     0      0        0 eth0

when I try to ping and outside host from the guest domain,
the message "connect: Network is unreachable" appears.

Any ideas what's wrong?


Yes, IP routing table on guest doesn't have a default route. Try
adding a default route like this in domU:
route add default gw 83.143.83.121

(I don't know why it's not being picked up from
/etc/network/interfaces. Probably, because you're defining IP in xen
domain configuration file and xen is controlling it.)
--
Manu Garg
http://www.manugarg.com
"Journey is the destination of the life."

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