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] Network problem

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Network problem
From: "Gino LV. Ledesma" <gledesma@xxxxxxxxx>
Date: Thu, 21 Apr 2005 13:29:05 -0700
Delivery-date: Thu, 21 Apr 2005 20:28:53 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=G/lX0zqnnR/jXRDk1XCD2f8sHe7tFzFGGH30ZxFfIebHZvEp6ar7Gx/a3khB0a+4uKxW58mv9Og2bOXTbnbOp2V0XCmkJyCIgWH6h5drtcgdfwA6t21tiBPg5YmB/NaHkXEDaWzIbV1c1IbCdSfhw5ZTIhI0oNXCBDCIBzF/x1c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Reply-to: "Gino LV. Ledesma" <gledesma@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi, everyone

I just started with Xen yesterday and have been doing a search through
Google and the mailing lists. So far, I can't seem to get my
networking right (between dom0 and dom1) even though I think I've
followed the right steps.

Background:
Dom0: 192.168.0.1 / 255.255.0.0
Dom1: 192.168.0.2 / 255.255.0.0

Here's what I have on the host OS:
eth0      Link encap:Ethernet  HWaddr 00:0C:29:BA:AC:E0
          inet addr:192.168.0.1  Bcast:192.168.255.255  Mask:255.255.0.0
vif1.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
xen-br0   Link encap:Ethernet  HWaddr 00:0C:29:BA:AC:E0
          inet addr:192.168.0.1  Bcast:192.168.255.255  Mask:255.255.255.255

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     0.0.0.0            255.255.0.0     U     0      0     
  0 xen-br0
0.0.0.0         192.168.254.254    0.0.0.0         UG    0      0     
  0 xen-br0

And on the guest OS:
eth0      Link encap:Ethernet  HWaddr DE:AD:29:BA:AC:EA
          inet addr:192.168.0.2  Bcast:182.168.255.255  Mask:255.255.0.0

In the dom1 config, I've configured vif as follows:
vif = [ 'mac=DE:AD:29:BA:AC:EA, bridge=xen-br0' ]

bridge utils seems to have it correct:

bridge name     bridge id               STP enabled     interfaces
xen-br0         8000.000c29baace0       no              eth0
                                                        vif1.0
I can't even get the guest OS and the host OS to talk to each other.
I've also tried enabling ip_forward but still no dice. I was mucking
around before and managed to get them to talk to each other once, but
from there I couldn't make the guest OS talk to the gateway of the
host OS.

Not sure what I've missed. I'm using xen-2.0.5 on Centos 4 (both host
and guest OSs).

Any advise appreciated.

- gino

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

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