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] Re: How should I configure my virtual network?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: How should I configure my virtual network?
From: "Kris Adler" <spurfan15@xxxxxxxxx>
Date: Thu, 19 Jun 2008 19:18:59 +0000
Delivery-date: Thu, 19 Jun 2008 12:19:38 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=K6qXP5xwSwXs6RHrtmyn7oAEi9WJLgn3eRYvvhf7JrE=; b=RWAYJTygNTGHypS+R5TFi6r9jc1NRhhWkYMhrSCfePCC/Wk+7+hkO7ydIafb9KLilR nWeQ6EkoU9PN693OuESTys+dCwCWwZPhzrReQNFJq/MOCLD3Mdbh+47ewRZBjn9UOk/Z DBS5IbqHfYp8cxPFqHELOS/AR7tAb7IiJnM0w=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=HbrSNzB5FQV+dkM1+FdhsfG0P+TdDnBusKOrw0f+J2OHuKw+VPlPe8Il+nMU6v4yOQ nTXRypiyL6vPNZWpI1PQ2jUJyav7XPME+YQeFSWQiRuUldYPlu4CfIiOKlwmzMxBFMlK QCVd7fn9lR5HSLOn2FmyqfWKK8xVh2rgwaShI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <9846f8ae0806190951l43ab065eq3826f6f5985255c2@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: <9846f8ae0806190951l43ab065eq3826f6f5985255c2@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I found this page: http://watzmann.net/blog/index.php/2007/04/27/networking_with_kvm_and_libvirt and decided to use to for my network setup. I tried lots of configurations in libvirt's virtual networking, but nothing worked. I think for my purposes -- using a physical DHCP server -- doing an actual bridge through network-scripts and setting the domains to use that bridge is more practical.

Regards,

Kris

On Thu, Jun 19, 2008 at 4:51 PM, Kris Adler <spurfan15@xxxxxxxxx> wrote:
Hi,

I've got Xen mostly setup, but I'm trying to connect to a guest OS from another system on my network. I've been reading over libvirt information to figure out my network xml configuration options (http://libvirt.org/formatnetwork.html). Right now, I'm using a fairly default network w/ forward mode='nat', standard bridge, ip address='192.168.122.1' netmask='255.255.255.0' and dhcp range start='192.168.122.2' end='192.168.122.254'.

My network has different IPs than that, so i'll just say for example, my computers within the network are at ips 123.45.68.*. My physical network device has been assigned an IP in this range by the DHCP server. My bridge reads as having the ip I listed for it above, and any guest OS has an IP within that 192.168.122.2->254 range and they always have internet connectivity. So outbound isn't a problem, but I'm having trouble connecting to guest OSs from other computers in my network. Ideally, I would like all guest OSs to fall in that same 123.45.68.* category and have their IPs automatically assigned by the actual DHCP server.

I think I shouldn't use NATing, but what other configurations should I apply? Specifically, I don't know what to do with the <ip> block, because it wants me to specify the bridge's ip address and then a dhcp range, but I don't want it to hand out a specific IP itself, I want the router's DHCP server to do that. Thanks in advance for replies.

Regards,

Kris

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