To avoid DHCP race conditions, we've split our network and create a separate network/scope - such that only cloudstack dhcp is served out cloud network.
> -----Original Message----- > From: David Ortiz [mailto:dpor...@outlook.com] > Sent: Monday, August 05, 2013 2:46 PM > To: users@cloudstack.apache.org > Subject: RE: IP Address assigned by CS is not passed to new instance VM > > Cindy, > Just as a heads up, if you have two DHCP servers configured (e.g. > external > DHCP server and virtual router on the same network), there's no guarantee > which one will assign the IP address. Both will try, but only one will > succeed. > If you can, add a filter to the external DHCP address which will ignore any > DHCP request with a MAC address from cloudstack. This is what we had to > do to get our VMs to come up correctly. > Thanks, David Ortiz > > > Date: Sat, 3 Aug 2013 01:22:31 +0100 > > Subject: Re: IP Address assigned by CS is not passed to new instance > > VM > > From: davest...@gmail.com > > To: users@cloudstack.apache.org > > > > Why do you have ONBOOT="no"? > > That's explicitly telling the interface not to come up on boot, which > > seems a little odd.?. > > > > Best regards, > > David Comerford > > ------------------------ > > Tel: +353 87 1238295 > > Email: davest...@gmail.com > > Website: http://dave.ie > > GPG key: http://gpg.dave.ie > > > > > > On 1 August 2013 22:24, Cindy Jiang <cji...@infoblox.com> wrote: > > > > > Hello, > > > > > > We are trying to create a new instance with basic networking setup > > > using CentOS 6.0 ISO. Cloudstack assigns the correct IP Address (in my > case: > > > 10.60.176.110) to this new centOS instance, but once you log into > > > this VM, check "ifconfig" and > > > "/etc/sysconfig/network-scripts/ifcfg-eth0", the IP Address and default > gateway information are not passed through correctly. > > > The same issue with hostname - instead of "centos-107", it shows as > > > "localhost.localdomain". Please see attached screenshots. Has anyone > > > experienced the similar issue? > > > > > > Our environment: > > > > > > 1. CS 4.2 > > > 2. XenServer 6.0.2 > > > 3. CentOS 6.0 ISO > > > > > > Thanks, > > > Cindy > > > >