First of all, to have and idea about my network topology :
http://hpics.li/1b8668e (Network Topology)
and the gateway of my external network is : 192.168.122.1
When I capture in the router namespace and I ping for the instance the gateway of the external network by using :
ip netns exec <router_namespace> tcpdump -i any icmp -nn
I got :
10:05:07.805982 IP 192.168.0.10 > 192.168.122.1: ICMP echo request, id 24321, seq 0, length 64
10:05:08.808850 IP 192.168.0.10 > 192.168.122.1: ICMP echo request, id 24321, se q 1, length 64
10:05:09.810047 IP 192.168.0.10 > 192.168.122.1: ICMP echo request, id 24321, se q 2, length 64
10:05:10.809102 IP 192.168.122.200 > 192.168.0.10: ICMP host 192.168.122.1 unrea chable, length 92
10:05:10.809138 IP 192.168.122.200 > 192.168.0.10: ICMP host 192.168.122.1 unrea chable, length 92
10:05:10.809147 IP 192.168.122.200 > 192.168.0.10: ICMP host 192.168.122.1 unrea chable, length 92
10:05:10.810718 IP 192.168.0.10 > 192.168.122.1: ICMP echo request, id 24321, se q 3, length 64
10:05:11.811284 IP 192.168.0.10 > 192.168.122.1: ICMP echo request, id 24321, se q 4, length 64
10:05:12.812171 IP 192.168.0.10 > 192.168.122.1: ICMP echo request, id 24321, se q 5, length 64
10:05:13.808613 IP 192.168.122.200 > 192.168.0.10: ICMP host 192.168.122.1 unrea chable, length 92
10:05:13.808633 IP 192.168.122.200 > 192.168.0.10: ICMP host 192.168.122.1 unrea chable, length 92
10:05:13.808637 IP 192.168.122.200 > 192.168.0.10: ICMP host 192.168.122.1 unrea chable, length 92
10:05:13.812479 IP 192.168.0.10 > 192.168.122.1: ICMP echo request, id 24321, se q 6, length 64
10:05:14.814060 IP 192.168.0.10 > 192.168.122.1: ICMP echo request, id 24321, se q 7, length 64
10:05:15.815577 IP 192.168.0.10 > 192.168.122.1: ICMP echo request, id 24321, se q 8, length 64
10:05:16.808625 IP 192.168.122.200 > 192.168.0.10: ICMP host 192.168.122.1 unrea chable, length 92
10:05:16.808672 IP 192.168.122.200 > 192.168.0.10: ICMP host 192.168.122.1 unrea chable, length 92
10:05:16.808676 IP 192.168.122.200 > 192.168.0.10: ICMP host 192.168.122.1 unrea chable, length 92
10:05:16.820334 IP 192.168.0.10 > 192.168.122.1: ICMP echo request, id 24321, se q 9, length 64
10:05:19 ...
(more)
Have you tried pinging your instance from the router namespace? Or can your instance ping router private ip and public ip?
That's the problem, i could get the console on horizon to work, so basicly i could not do anything from the instance itself ... could u please tell me how to ping the instance from the router namespace as u said ? but when i used tracepath the floating ip of the instance it works Thank u
Check your router id from horizon. Then in Controller node, get the router namespace using
ip netns | grep router
which will have the same id as your router. Then you can try pinging your instance from router namespace usingip netns exec <router_namespace> ping <instance ip>
i m able to ping in instance from the router, but from the instance i cannot ping the external network, i think this is where the problem came from, u have an idea ? thank you
Can you capture in the router namespace using
ip netns exec <router_namespace> tcpdump -i any icmp -nn
to check if you ping from instance, whether the packet is forwarded by router or not and if there is any reply from the destination coming to the router or not