Yes, it will get the same ip from the dhcp server.
On Wed, Apr 17, 2013 at 12:09 PM, Anil Vishnoi <vishnoia...@gmail.com>wrote: > Thanks Aaron for quick response. > > OS dashboard shows that both the NIC got their IP addresses from > respective DHCP servers. It also shows the second IP address which actually > is requested by Cirros VM image. If i run udhcp manually from the VM, will > it get the same IP address from its DHCP server? If yes, than i think there > is no issue, but if not then i think it will create inconsistency on what > dashboard is showing and what actual IP address it got assigned. > > > > > On Thu, Apr 18, 2013 at 12:21 AM, Aaron Rosen <aro...@nicira.com> wrote: > >> Hi, >> >> The cirros image only starts the dhcp client on the eth0 interface. If >> you have a vm with multiple interfaces you need to manually run udhcp -i >> <interface> or change the network configuration file in order to start the >> dhcp client for you . >> >> Aaron >> >> >> On Wed, Apr 17, 2013 at 11:44 AM, Anil Vishnoi <vishnoia...@gmail.com>wrote: >> >>> Hi All, >>> >>> I created two network, one private network for project (say >>> 'TestProject'), and second network at admin level, but its shared network. >>> >>> I spawned one VM and connected it to private network. VM successfully >>> boots up and get the IP address from its respective private network DHCP. >>> >>> I spawned second VM and connected it to the shared network, and it boots >>> up successfully and gets IP address from the shared network DHCP. >>> >>> I spawned third VM and connected it to both the network, and the order >>> was 1.Private Network 2. Shared Network. VM boots up successfully but only >>> gets the IP address from the private network DHCP and second NIC didn't >>> receive any ip from shared network DHCP. >>> >>> Next i spawned fourth VM and this time i changed the ordering of NIC, 1. >>> Shared Network 2.Private Network. VM gets the IP address from shared >>> network DHCP but not from private network DHCP. Looks like whatever first >>> network you add while creating VM, it will just make DHCP request for the >>> first network only. Is this expected behavior ? My understanding is both >>> the NIC should get IP address if DHCP is enabled for the connected networks. >>> >>> Few point i want to mention >>> >>> * I am using cirros VM image >>> * Meta data service is running on my network node, but i am still not >>> able to reach the mata data service. >>> >>> Please let me know if further details are needed for debugging this >>> issue. Thanks in advance!!! >>> >>> -- >>> Thanks >>> Anil >>> >>> _______________________________________________ >>> Mailing list: https://launchpad.net/~openstack >>> Post to : openstack@lists.launchpad.net >>> Unsubscribe : https://launchpad.net/~openstack >>> More help : https://help.launchpad.net/ListHelp >>> >>> >> > > > -- > Thanks > Anil >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp