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@lists.xensource.com http://lists.xensource.com/xen-users
Kris Adler
2008-Jun-19 19:18 UTC
[Xen-users] Re: How should I configure my virtual network?
I found this page: http://watzmann.net/blog/index.php/2007/04/27/networking_with_kvm_and_libvirtand 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@gmail.com> 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@lists.xensource.com http://lists.xensource.com/xen-users