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/
Home Products Support Community News


[Xen-users] Re: Routing problem

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Routing problem
From: "Janke Dávid" <janke.david@xxxxxxxxx>
Date: Wed, 13 Sep 2006 12:03:47 +0200
Delivery-date: Wed, 13 Sep 2006 03:04:45 -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:references; b=Yg6eIGskXiWj5ouAA5nu75BIvCaYUBwe4XlyqXsNnsZnm9NnRvF+6MVznMRKZuT3+bRqYUB+DU1ek3aV+rSexw5hzCNZmo7eUjeCPK0ZV/n7rvUoKB5FqT5/D3BGWM/wo1bQSR+v3ZIM/0VfxU5xia6HCEwukpHB5WzDHFzTBqs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <889f15280609130239v3aaa8f22u1fd80dcff6da9257@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: <889f15280609130239v3aaa8f22u1fd80dcff6da9257@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Additional info:
Within testhosts I can NOT ping their own interfaces. So no reply from within testhost1

On 9/13/06, Janke Dávid <janke.david@xxxxxxxxx> wrote:
Hi all!

I'm trying for a few days now and I don't get it so I need help.
I'm trying to set up several test systems as domUs. We've got a Intranet, the ethernet interface in dom0 is and the test servers would be (testhost1), (testhost2), (testhost3), (testhost4).

I guess routing via dom0 would be appropriate.

I've also read this: http://www.debian-administration.org/articles/360
According to this I have to create dummy ethernet drivers in dom0 and then create a bridge to connect interfaces on one LAN to it.

Here's the layout in ASCII:
           | physical machine, dom0                        |
           |                                   +---------+ |
Intranet -----eth0                         +---|testhost1| |
           |                               |   +---------+ |
           |         dummy0 --- xenbridge0 +               |
           |                               |   +---------+ |
           |                               +---|testhost2| |
           |                                   +---------+ |
           |                                   +---------+ |
           |                               +---|testhost3| |
           |                               |   +---------+ |
           |         dummy1 --- xenbridge1 +               |
           |                               |   +---------+ |
           |                               +---|testhost4| |
           |                                   +---------+ |

xend-config.xsp contains:
(network-script network-route)
(vif-script vif-route)

The config file of a host looks like:
name = "testhost1"
kernel = "/boot/vmlinuz-2.6-xen"
ramdisk = "/boot/initrd.img-2.6.16-xen"
memory = 256
disk = ['phy:/dev/mapper/vg0-testhost1root,sda1,w','phy:/dev/mapper/vg0-testhost1swap,sda2,w']
root = "/dev/sda1"
# network config
vif = [ 'ip= ' ]
dhcp = "off"
hostname = "testhost1"

Here are the problems.
When starting a teshost, xend creates vif<x>.0 and assigns as IP!!!! Not 10.12.whatever

I know I have to assign vif<x>.0 to xenbridge manually (will do that later in vif-route). But for testing reasons I do this per hand. 'brctl show' says:
xenbridge0              8000.66c7fb672b7e       no              dummy0

'route' says:       *        U     0      0        0 vif37.0       *         U     0      0        0 vif36.0
localnet        *            U     0      0        0 eth0
default         gw.localnet         UG    0      0        0 eth0

dummy0 is:

default gw on teshosts is set

And I can NOT ping from or the other way. Nor can I ping or What i CAN is pinging and from dom0

I know, I doing something wrong but I can't figure it out.


Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>