Corporate Home Open Source Home
Syndicate content
Eucalyptus

Join us at engage.eucalyptus.com

No replies
euca-supernova
Offline
Joined: 12/08/2011

hello:
I have a question.
1、As you know,three network modes(static managed managed-novlan) must have dhcpd in cc. And I know that when run a instance,the cc will allocate a mac (generated from instanceId) and a privateip for the instance. So why we still need a dhcpd?
2、According the source code,I found that the Node create this instance "dom = virDomainCreateLinux (nc_state.conn, xml, 0);" use a xml param.But the xml do not containt a privateIp just a mac,which means that we do not send any ip to the instance when it was created.So where is the ip from the cc used,or how is it used by instance?