[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: How should I configure my virtual network?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Kris Adler" <spurfan15@xxxxxxxxx>
  • Date: Thu, 19 Jun 2008 19:18:59 +0000
  • Delivery-date: Thu, 19 Jun 2008 12:19:38 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.