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

Re: [Xen-users] DHCP server on Dom-0: guests fail to connect



On Tue, Jun 9, 2009 at 11:17 PM, Siddharth Wagh<siddharth.wagh@xxxxxxxxx> wrote:
> Hello,
>
> Scrapping off DHCP, I am working on following NAT approach with static
> addresses to VMs...
> I did the following:
> 1. Changed xend-config.sxp file as:
> (network-type network-nat)
> (vif-script vif-nat)

Since you're using Centos anyway, by default it has libvirtd which
does what you want by default. It creates virbr0, with address
192.168.122.0/24, using network-bridge script. So its NAT on top of
bridge. As a bonus, it also uses "builtin" dhcp and dns server for
domUs so you don't have to worry about that. You simply use thye
default setting (network-bridge) and point your domU config to use
virbr0 bridge.

-- 
Fajar

_______________________________________________
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®.