After I restart the network, I can not ping the IP now.

asked 2017-12-14 05:52:11 -0500

liaodalin19903 gravatar image

I have a CentOS7.2 server, on it I have ->, five public IPs.

And I deploy openstack on the server, I set the provider sub network to this:

image description

Please pay attention now I have set the allocation_pools start to, before is, so you can ignore the after snapshot. you just think its start= .

use the ip a shows the ips:

image description

You can see, there the enp2s0f0 and brq1ba4f98d-64 all have ->

So, there comes the trouble, in the /etc/sysconfig/network-scripts/enp2s0f0, I commented out the ->'s IPADDR* and PREFIX*, then restart the network:

systemctl restart network

Now, it restart success, but I can not ping the now in my local PC.

I then remove the comments, then restart the network, still can not ping it.

image description

edit retag flag offensive close merge delete


My thinking: You used to have a setting that allowed you to access the OpenStack server from your PC. By restarting the network, you overwrote this setting.

Perhaps the routing table. Or enp2s0f0 must be a member of that bridge, and lost that membership. Now two interfaces have the same addresses.

Bernd Bausch gravatar imageBernd Bausch ( 2017-12-15 00:01:11 -0500 )edit