can't ping router's ip
I install quantum and use gre tunnel and l3-agent.
i create a router, set the router's gateway and add an interface to a subnet.
Finally ,router 's gateway is 172.20.9.66, interface ip is 192.168.120.254.
root@openstack-
PING 192.168.120.254 (192.168.120.254) 56(84) bytes of data.
64 bytes from 192.168.120.254: icmp_req=1 ttl=64 time=0.434 ms
64 bytes from 192.168.120.254: icmp_req=2 ttl=64 time=0.073 ms
64 bytes from 192.168.120.254: icmp_req=3 ttl=64 time=0.077 ms
64 bytes from 192.168.120.254: icmp_req=4 ttl=64 time=0.084 ms
root@openstack-
PING 172.20.9.66 (172.20.9.66) 56(84) bytes of data.
64 bytes from 172.20.9.66: icmp_req=1 ttl=64 time=0.058 ms
64 bytes from 172.20.9.66: icmp_req=2 ttl=64 time=0.049 ms
however, i can't ping the router's gateway not using "ip netns "
root@openstack-
PING 172.20.9.66 (172.20.9.66) 56(84) bytes of data.
^C
--- 172.20.9.66 ping statistics ---
29 packets transmitted, 0 received, 100% packet loss, time 28004ms
After that i create floating ip 172.20.9.67 and associate with a vm 192.168.120.2
root@openstack-
+------
| id | fixed_ip_address | floating_ip_address | port_id |
+------
| 221554d5-
+------
root@openstack-
PING 172.20.9.67 (172.20.9.67) 56(84) bytes of data.
64 bytes from 172.20.9.67: icmp_req=1 ttl=64 time=82.2 ms
64 bytes from 172.20.9.67: icmp_req=2 ttl=64 time=0.843 ms
64 bytes from 172.20.9.67: icmp_req=3 ttl=64 time=0.791 ms
yet i still can't ping 172.20.9.67 without using ip netns:
root@openstack-
PING 172.20.9.67 (172.20.9.67) 56(84) bytes of data.
^C
--- 172.20.9.67 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4031ms
I don't know the cause of the problem as i know little about ip netns. Any one get the answer?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- yong sheng gong
- Solved:
- Last query:
- Last reply: