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: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Interesting networking problem (network is unreachable)
From: "Martin Hierling" <martin@xxxxxxxxx>
Date: Tue, 9 Jan 2007 17:09:31 +0100
Delivery-date: Tue, 09 Jan 2007 08:09:23 -0800
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
Hi,


ifconfig eth0:0 83.143.83.193 netmask 255.255.255.248 up

I can ping the IP-address from home.  The output from route
is like this:

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
localnet        *               255.255.255.248 U     0      0        0 eth0
default         83.143.83.121   0.0.0.0         UG    0      0        0 eth0

with that setting you are not able to reach anything! The default router is beyond your network.
83.143.83.192 netmask 255.255.255.248 means that you can reach hosts from  83.143.83.192 to 83.143.83.199 directly, for every other address a route is needed. So you never can reach your default gateway.

I dont know why your Dom0 can be pinged but with that settings it cant be.

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

Any ideas what's wrong?

Your default route is not inside the netmask range.
So if 83.143.83.121 is really you gateway you netmask should at be:
255.255.255.0!
It may be that your provider gave your the adresses 83.143.83.192/29 for your use but your netmask is /25.

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