Instance couldn't get IP from DHCP [closed]
Hi, I've installed Openstack Kilo release on my ubuntu 14.04. I followed the installation guide of creating neutron network, and created several instances. However, none of them could ping each other. I checked ifconfig on each instance, and found that none of them got an IP.
I'm following OpenStack Networking (neutron), installed Controller Node and Network Node on one machine, and Compute Node on the other. test1 is the instance I created. Since there are only two network cards on my computers, I use em1 as management network interface, em2 as tunnel network and external network interface.
Now I can assign floating IP from Horizon, but it has no effect on instances at all. Is there anything wrong with my configurations?
Thanks in advance!
ifconfig result on network node:
root@networknode: /# ifconfig
br-ex Link encap:Ethernet HWaddr 74:86:7a:e0:63:68
inet addr:192.168.173.220 Bcast:192.168.173.255 Mask:255.255.255.0
inet6 addr: fe80::7686:7aff:fee0:6368/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32882 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4134630 (4.1 MB) TX bytes:774 (774.0 B)
em1 Link encap:Ethernet HWaddr 74:86:7a:e0:63:66
inet addr:192.168.1.220 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1266208 errors:0 dropped:114 overruns:0 frame:0
TX packets:980797 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:151512706 (151.5 MB) TX bytes:213464804 (213.4 MB)
Interrupt:16
em2 Link encap:Ethernet HWaddr 74:86:7a:e0:63:68
inet addr:192.168.173.220 Bcast:192.168.173.255 Mask:255.255.255.0
inet6 addr: fe80::7686:7aff:fee0:6368/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:63540 errors:0 dropped:0 overruns:0 frame:0
TX packets:229 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8037486 (8.0 MB) TX bytes:15112 (15.1 KB)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2901884 errors:0 dropped:0 overruns:0 frame:0
TX packets:2901884 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:868974098 (868.9 MB) TX bytes:868974098 (868.9 MB)
ifconfig result on test1:
### ifconfig -a
eth0 Link encap:Ethernet HWaddr FA:16:3E:44:EA:87
inet6 addr: fe80::f816:3eff:fe44:ea87/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 ...