<div dir="auto">Security group rules?<br><br><div data-smartmail="gmail_signature">Donny Davis<br>c: 805 814 6800</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 12, 2019, 5:53 PM Lucio Seki <<a href="mailto:lucioseki@gmail.com">lucioseki@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi folks, I'm having troubles to ping6 a VM running over DevStack from its hypervisor.<div>Could you please help me troubleshooting it?<br><br></div><div>I deployed DevStack with NEUTRON_CREATE_INITIAL_NETWORKS=False,</div><div>and manually created the networks, subnets and router. Following is my router:<br><br>$ openstack router show router1 -c external_gateway_info -c interfaces_info<br>+-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br>| Field                 | Value                                                                                                                                                                                                                                                                        |<br>+-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br>| external_gateway_info | {"network_id": "b87048ed-1be9-4f31-8d7e-fe74921aeec4", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "28a00bc3-b30b-456f-b26a-44b50d37183f", "ip_address": "10.2.0.199"}, {"subnet_id": "a9729beb-b297-4fec-8ec3-7703f7f6f4bc", "ip_address": "fd12:67:1::3c"}]} |<br>| interfaces_info       | [{"subnet_id": "081e8508-4ceb-4aaf-bf91-36a1e22a768c", "ip_address": "fd12:67:1:1::1", "port_id": "75391abd-8ac8-41f8-acf8-3dfaf2a6b08f"}]                                                                                                                                   |<br>+-----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br><br>I'm trying to ping6 the following VM:<br><br>$ openstack server list<br>+--------------------------------------+---------+--------+------------------------------------------+--------+--------+<br>| ID                                   | Name    | Status | Networks                                 | Image  | Flavor |<br>+--------------------------------------+---------+--------+------------------------------------------+--------+--------+<br>| 938854d0-80e9-45b2-bc29-8fe7651ffa93 | manila1 | ACTIVE | private1=fd12:67:1:1:f816:3eff:fe0e:17c3 | manila | manila |<br>+--------------------------------------+---------+--------+------------------------------------------+--------+--------+<br><br>I intend to reach it via br-ex interface of the hypervisor:<br><br>$ ip a show dev br-ex<br>9: br-ex: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000<br>    link/ether 0e:82:a1:ba:77:4c brd ff:ff:ff:ff:ff:ff<br>    inet6 fd12:67:1::1/64 scope global<br>       valid_lft forever preferred_lft forever<br>    inet6 fe80::c82:a1ff:feba:774c/64 scope link<br>       valid_lft forever preferred_lft forever<br><br>The hypervisor has the following routes:<br><br>$ ip -6 route<br>fd12:67:1:1::/64 via fd12:67:1::3c dev br-ex metric 1024 pref medium<br>fe80::/64 dev ens3 proto kernel metric 256 pref medium<br>fe80::/64 dev br-ex proto kernel metric 256 pref medium<br>fe80::/64 dev br-int proto kernel metric 256 pref medium<br>fe80::/64 dev tapa5cf4799-9f proto kernel metric 256 pref medium<br><br>And within the VM has the following routes:<br><br>root@ubuntu:~# ip -6 route<br>root@ubuntu:~# ip -6 route<br>fd12:67:1::/64 via fd12:67:1:1::1 dev ens3 metric 1024 pref medium<br>fd12:67:1:1::/64 dev ens3 proto kernel metric 256 expires 86360sec pref medium<br>fe80::/64 dev ens3 proto kernel metric 256 pref medium<br>default via fe80::f816:3eff:feb3:bd56 dev ens3 proto ra metric 1024 expires 260sec hoplimit 64 pref medium<div><br>Though the ping6 from VM to hypervisor doesn't work:<div>root@ubuntu:~# ping6 fd12:67:1::1 -c4<br>PING fd12:67:1::1 (fd12:67:1::1): 56 data bytes<br>--- fd12:67:1::1 ping statistics ---<br>4 packets transmitted, 0 packets received, 100% packet loss<br><br></div><div>I'm able to tcpdump inside the router1 netns and see that request packet is passing there, but can't see any reply packets:<br><br>$ sudo ip netns exec qrouter-5172472c-bbe7-4907-832a-e2239c8badb4 tcpdump -l -i any icmp6<br>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode<br>listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes<br>21:29:29.351358 IP6 fd12:67:1:1:f816:3eff:fe0e:17c3 > fd12:67:1::1: ICMP6, echo request, seq 0, length 64<br>21:29:30.033316 IP6 fe80::f816:3eff:feb3:bd56 > fe80::f816:3eff:fe0e:17c3: ICMP6, neighbor solicitation, who has fe80::f816:3eff:fe0e:17c3, length 32<br>21:29:30.035807 IP6 fe80::f816:3eff:fe0e:17c3 > fe80::f816:3eff:feb3:bd56: ICMP6, neighbor advertisement, tgt is fe80::f816:3eff:fe0e:17c3, length 24<br>21:29:30.353646 IP6 fd12:67:1:1:f816:3eff:fe0e:17c3 > fd12:67:1::1: ICMP6, echo request, seq 1, length 64<br>21:29:31.355410 IP6 fd12:67:1:1:f816:3eff:fe0e:17c3 > fd12:67:1::1: ICMP6, echo request, seq 2, length 64<br>21:29:32.357239 IP6 fd12:67:1:1:f816:3eff:fe0e:17c3 > fd12:67:1::1: ICMP6, echo request, seq 3, length 64<br></div></div></div><div><br></div><div>The same happens from hypervisor to VM. I only acan see the request packets, but no reply packets.</div><div><br></div><div>Thanks in advance,</div><div>Lucio Seki</div></div>
</blockquote></div>