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] Dom0 IP Detection in Routed Mode

To: XEN Mailing List <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Dom0 IP Detection in Routed Mode
From: Aaron Cossey <aaron.cossey@xxxxxxxxx>
Date: Fri, 21 Oct 2011 13:54:35 +0200
Cc:
Delivery-date: Fri, 21 Oct 2011 04:56:02 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=lA8rIUagncKM8aA890rIJKoCB/NGtnlwwGP3eOz+JoU=; b=PmmFC+MTEu4DuSSgqo9nvZg0Hg1Z1P/I/ce5KH27dMlO2vSL2QUD6wljPASU9TEiNL PfwbepoWPby3kGjcfGicwkC9cIgsdm+rgKiGUjbApWTs6LoqOCV9kISjpEs00abfdeWL gSZ+TV90FMy3f8SSuNj3epAyEJhmprhNyUA0Y=
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello Everyone,

my Xen server works with the networking in routed mode, with one exception which I cant seem to resolve. 

In Debian servers with Bridge Mode networking, when I bring a new IP up inside a DomU using the command:
 ip addr add x.x.x.x/32 dev eth0
The IP is automatically detected by Dom0 and I can route to, connect to the address immediately.

With the server I'm running in routed mode, when I bring up an IP inside a DomU with:
 ip addr add x.x.x.x/32 dev eth0 peer x.x.x.x/32 broadcast x.x.x.x
The IP comes up on the DomU, then I have to manually add routing for it on the Dom0 with a command like:
 ip route add x.x.x.x dev vif8.0 scope link src x.x.x.x

I haven't yet got to trying live migration, but I can already see how this is going to get inconvenient even with one server.

Is this a problem which has already been solved somewhere or is there something in my setup I need to pay closer attention to in order to get this running smoother? Ideally I would like to just define the IPs inside the DomUs like I've always done with my routed mode VMs.

Thanks for your assistance,
-Aaron
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>