Instance can't ping external network and nodes, kilo legacy network

asked 2017-08-07 03:46:30 -0500

Dear all,

I am setting up a private cloud on three servers. I am using openstack Kilo and adopting Legacy network. My configuration is one controller node and two compute node connecting to the route, which serves as a management network(10.0.0.1) and is also connected to the external network(192.168.0.1). And controller is also connected to external network. Everything works pretty good until we test whether our instance could ping external network and controller nodes. Now, the issue is our instance couldn't ping external network, controller nodes and compute nodes. Controller node couldn't ping instance. But compute nodes which instance is created on could ping the instance. At last, my instance couldn't use commands like "sudo apt-get", etc. Plz help me and this stuff has driven me crazy!!!

controller ifconfig

em1 Link encap:Ethernet HWaddr f4:8e:38:bf:9a:74 inet addr:10.0.0.11 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::f68e:38ff:febf:9a74/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:10517 errors:0 dropped:0 overruns:0 frame:0 TX packets:9474 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2485193 (2.4 MB) TX bytes:2176984 (2.1 MB) Interrupt:76

em2 Link encap:Ethernet HWaddr f4:8e:38:bf:9a:75 inet addr:192.168.0.109 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::f68e:38ff:febf:9a75/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:28772 errors:0 dropped:96 overruns:0 frame:0 TX packets:95 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2044968 (2.0 MB) TX bytes:12930 (12.9 KB) Interrupt:77

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:70235 errors:0 dropped:0 overruns:0 frame:0 TX packets:70235 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:17584712 (17.5 MB) TX bytes:17584712 (17.5 MB)

virbr0 Link encap:Ethernet HWaddr 52:54:00:96:40:17 inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

controller /etc/network/interfaces

This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

The loopback network interface

auto lo iface lo inet loopback

The primary network interface

auto em1

iface em1 inet dhcp

iface em1 inet static address 10 ... (more)

edit retag flag offensive close merge delete