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

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

<Prev in Thread] Current Thread [Next in Thread>