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

[Xen-users] Interesting networking problem (network is unreachable)

To: xen-users@xxxxxxxxxxxxxxxxxxx, Vinay S Shastry <shastry@xxxxxxxxxxxxxx>
Subject: [Xen-users] Interesting networking problem (network is unreachable)
From: "Morten W. Petersen" <morten@xxxxxxxxxxxxxx>
Date: Tue, 09 Jan 2007 12:37:28 +0100
Delivery-date: Tue, 09 Jan 2007 03:37:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)
Hi,

I have an interesting networking problem, an IP-address works
in the host domain, but doesn't work in the guest domain.  The
server is located at a co-location facility.

If I configure the IP address in the host domain, like so:

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

However, the IP-address does not work when it is running
in a guest domain.  The Xen configuration says

vif = [ 'mac=00:16:3E:00:00:01, bridge=xenbr0, ip=83.143.83.193']

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?

Thanks,

Morten

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