ip netns cannot ping ipv6 gateway

asked 2017-07-06 04:41:21 -0500

Ritesh Paiboina gravatar image

updated 2017-07-06 08:04:17 -0500

Hello, I have created a only IPV6 network and trying to ping its gateway but not able to succeed.

Environment : Single Node Devstack setup

Following are the steps of network creation

openstack --os-cloud devstack-admin --os-region RegionOne network create --project 3c40cfbd7c144f2ca6efb9a4a5c8189a test-net-private

openstack --os-cloud devstack-admin --os-region RegionOne subnet pool create shared-test-net-private --default-prefix-length 64 --pool-prefix 2001:db8:cafe:1e::/56 --share --default

openstack --os-cloud devstack-admin --os-region RegionOne subnet create --project 3c40cfbd7c144f2ca6efb9a4a5c8189a --ip-version 6 --subnet-pool 67dcfe0f-3b81-46a7-83b4-bb4b70d7f5fc --ipv6-ra-mode slaac --ipv6-address-mode slaac --network 623a5401-9192-4d1e-9afd-430317a8722b subnet-test-net-private

Now , I try to ping it and check in the tcpdump also

ritesh@smiley:~$ sudo ip netns exec qdhcp-623a5401-9192-4d1e-9afd-430317a8722b ping6 -c 2 2001:db8:cafe::1 PING 2001:db8:cafe::1(2001:db8:cafe::1) 56 data bytes From 2001:db8:cafe:0:f816:3eff:feb1:f021 icmp_seq=1 Destination unreachable: Address unreachable From 2001:db8:cafe:0:f816:3eff:feb1:f021 icmp_seq=2 Destination unreachable: Address unreachable

--- 2001:db8:cafe::1 ping statistics --- 2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 1023ms

root@smiley:/home/ritesh/devstack# ip netns exec qdhcp-623a5401-9192-4d1e-9afd-430317a8722b tcpdump -vvv -i tapf2bb3ec9-ea tcpdump: listening on tapf2bb3ec9-ea, link-type EN10MB (Ethernet), capture size 262144 bytes

^C11:11:23.173786 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) 2001:db8:cafe:0:f816:3eff:feb1:f021 > ff02::1:ff00:1: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has 2001:db8:cafe::1 source link-address option (1), length 8 (1): fa:16:3e:b1:f0:21 0x0000: fa16 3eb1 f021 11:11:24.196694 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) 2001:db8:cafe:0:f816:3eff:feb1:f021 > ff02::1:ff00:1: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has 2001:db8:cafe::1 source link-address option (1), length 8 (1): fa:16:3e:b1:f0:21 0x0000: fa16 3eb1 f021 11:11:25.219179 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32) 2001:db8:cafe:0:f816:3eff:feb1:f021 > ff02::1:ff00:1: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has 2001:db8:cafe::1 source link-address option (1), length 8 (1): fa:16:3e:b1:f0:21 0x0000: fa16 3eb1 f021

3 packets captured 3 packets received by filter 0 packets dropped by kernel

edit retag flag offensive close merge delete