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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] How should I configure my virtual network?
From: "Kris Adler" <spurfan15@xxxxxxxxx>
Date: Thu, 19 Jun 2008 16:51:03 +0000
Delivery-date: Thu, 19 Jun 2008 09:51:37 -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:mime-version:content-type; bh=rnvrw1Y203OlQSv8hiUxYP9ZXD2T2r3uksz7pc+XM/0=; b=xSLSXfnBfHSv6+dAk9lX04TMAPBdaNJfki0Pv3au49NLG4nny6ql5baaXXPLVl37b8 Pa4Wx1PSijA8QXxHUTJoGm1R9Ro8jVPxmwY6KvUDTEZVM9stqz5tKmFo72MZ594xEeIt xtMi2tPnT9LI5LS6T9OktFQlfn3ZozL5KBucY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=DYw74AMIPhe480UJgLBE8IvLyUS018DcWoZBeduG/5IfKYtxJyTjC9obdzyc5I4P42 bRaIkOlBQcVog1ot3KlEH+d/jHCqadqp8EWfC6YFFouH6Bk3kAvA16xQmmjbw+sh86Kx f7Fwrmpf9I1fVfScz8OCDLZ3P04SoyCBL5ToM=
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
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>