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] How do I configure Virtual machines to DHCP from networ

To: Tom80112 <nezwek@xxxxxxxxx>
Subject: Re: [Xen-users] How do I configure Virtual machines to DHCP from network instead of Dom0 ??
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Mon, 1 Feb 2010 19:57:11 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 01 Feb 2010 04:57:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <27362803.post@xxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <27362803.post@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Jan 29, 2010 at 4:40 AM, Tom80112 <nezwek@xxxxxxxxx> wrote:
> Dom0 grabbed an IP address from our network using DHCP.  Great!
>
> But the 4 virtual Guest machines did not grab a DHCP address from our
> network.
> I think these 4 virtual Guest machines grabbed their DHCP addresses from
> Dom0.
> The 4 virtual Guest machines DHCP'd addresses as:  192.168.122.xxx
>
> How do I get these 4 virtual Guest machines to DHCP from the network like
> Dom0 did??

assuming your dom0 is connected using eth0, you simply need to set
domU to use "eth0" or "xenbr0" bridge instead of "virbr0" bridge that
you're using now.

However, if your dom0 is connected using wireless, then bridging domUs
there won't work. In this case you're stuck with your current setup.

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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