vm guest can ping first ip of floating ip range, but failed to ping gateway of floating ip

asked 2015-05-19 13:08:04 -0600

blanka gravatar image

Hi all, I met a problem that my guest vm which is located under a tenant network, and it can ping the first range of floating ip successfully, but it failed to ping the gateway of floating ip.

Host IP: 192.168.110.10 gateway: 192.168.110.254

I followed the section of initial network section of ubuntu installation guide to build the network, steps are following:

neutron net-create ext-net --router:external \
--provider:physical_network external --provider:network_type flat

neutron subnet-create ext-net 192.168.110.0/24 --name ext-subnet \
--allocation-pool start=192.168.110.20,end=192.168.110.29 \
--disable-dhcp --gateway 192.168.110.254

neutron net-create admin-net

neutron subnet-create admin-net 192.168.1.0/24 \
  --name admin-subnet --gateway 192.168.1.1

neutron router-create admin-router

neutron router-interface-add admin-router admin-subnet

neutron router-gateway-set admin-router ext-net

on the host side, I can ping the first ip of floating ip range which is 192.168.110.20

user@controller01:~$ ping 192.168.110.20
PING 192.168.110.20 (192.168.110.20) 56(84) bytes of data.
64 bytes from 192.168.110.20: icmp_seq=9 ttl=64 time=0.440 ms
64 bytes from 192.168.110.20: icmp_seq=10 ttl=64 time=0.071 ms
64 bytes from 192.168.110.20: icmp_seq=11 ttl=64 time=0.067 ms
64 bytes from 192.168.110.20: icmp_seq=12 ttl=64 time=0.091 ms

in the guest vm(ip:192.168.1.3) which is located under the tenant network whose ip ranage is 192.168.1.1-254, and 192.168.1.1 is the gateway of tenant network

within the guest vm can ping 192.168.1.1, 192.168.110.10(which is br-ex ip) and 192.168.110.20(which is first ip of floating ip range (sorry, I tried to copy the ping results from guest vm but failed)

and the result of traceroute from guest vm to 192.168.110.254 traveled 2 hubs and then stopped at 192.168.110.20

  1. 192.168.1.1
  2. 192.168.110.20

how should I trace furthur into the issue? thanks for your patient to finish my question!

edit retag flag offensive close merge delete