can not ping neutron network from external network

提问于 2016-09-17 01:29:17 -0500

greatbsky 图像

After deploy openstack using kolla on three compute, I create neutron network successfully, but I can not ping the network from external network.

because I have only one NIC, so I create a VLAN: eth0.20, neutron_external_interface: "eth0.20".

if I assign a floating ip to an instance, It's error: External network ce554e2f-bc0d-47bc-95f4-6b9f9d2202ef is not reachable from subnet 9fe487c3-46b3-486e-ac14-60d03590792d. Therefore, cannot associate Port e23daebe-16d1-4189-a194-242fcd73e5ab with a Floating IP. Neutron server returns request_ids: ['req-184ca305-8af6-4671-aaea-494232c87abd']

for more information, I upload two images on github, please open: https://raw.githubusercontent.com/greatbsky/openstack/master/1.png (https://raw.githubusercontent.com/gre...) https://raw.githubusercontent.com/greatbsky/openstack/master/2.png (https://raw.githubusercontent.com/gre...)

[root@oscontroller ~]# ifconfig docker0: flags=4163<up,broadcast,running,multicast> mtu 1500 inet 172.17.0.1 netmask 255.255.0.0 broadcast 0.0.0.0 inet6 fe80::42:82ff:fe43:b91f prefixlen 64 scopeid 0x20<link> ether 02:42:82:43:b9:1f txqueuelen 0 (Ethernet) RX packets 8 bytes 536 (536.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 9 bytes 690 (690.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth0: flags=4163<up,broadcast,running,multicast> mtu 1500 inet 192.168.1.61 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::2e0:66ff:fe85:6b24 prefixlen 64 scopeid 0x20<link> ether 00:e0:66:85:6b:24 txqueuelen 1000 (Ethernet) RX packets 374 bytes 32803 (32.0 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 212 bytes 22583 (22.0 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth0.1: flags=4163<up,broadcast,running,multicast> mtu 1500 inet 192.168.1.61 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::2e0:66ff:fe85:6b24 prefixlen 64 scopeid 0x20<link> ether 00:e0:66:85:6b:24 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 13 bytes 858 (858.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth0.20: flags=4163<up,broadcast,running,multicast> mtu 1500 inet 192.168.20.61 netmask 255.255.255.0 broadcast 192.168.20.255 inet6 fe80::2e0:66ff:fe85:6b24 prefixlen 64 scopeid 0x20<link> ether 00:e0:66:85:6b:24 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 10 bytes 732 (732.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<up,loopback,running> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 0 (Local Loopback) RX packets 14 bytes 1210 (1.1 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 14 bytes 1210 (1.1 KiB) TX errors 0 ... (more)

edit retag flag offensive close merge delete