Ask Your Question
0

Unable to ping two VM instances with IPv6 address via DHCPv6 [closed]

asked 2018-03-07 01:08:08 -0600

AB239 gravatar image

updated 2018-03-07 01:49:44 -0600

Hello all,

I am using Netwon release openstack and have a requirement of using IPv6 for a complete stack. I have created a tenant network with IPv6 subnet 2001:db8::/64 with a default gateway. Also selected 'Stateful DHCPv6' as option for IP allocation.

I am able to see IPs are getting allocated on the Horizon but I cant see them visible in the VM. I have to do 'dhclient -6 eth1' to attach already allocated IPv6 to VM.

I can see this on one VM:

3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether fa:16:3e:28:22:a5 brd ff:ff:ff:ff:ff:ff
inet6 2001:db8::c/128 scope global 
   valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe28:22a5/64 scope link 
   valid_lft forever preferred_lft forever

IP is there but subnet is /128. Hence, it can't ping any other IP.

Am I missing any configuration on tenant network?

UPDATE 1: I tried to ping these IPs from dhcp but it dint work as well.

a@newton-controller:# ip netns exec qdhcp-4f5e070a-3d0e-408b-bbd3-8c7ee46dc509 traceroute6 2001:db8::9traceroute to 2001:db8::9 (2001:db8::9) from 2001:db8::2, 30 hops max, 24 byte packets

1  * *

Regards AB

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by AB239
close date 2018-03-16 02:37:07.084667

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-03-07 04:01:30 -0600

AB239 gravatar image

Got it working. I had to add a default route for my IPv6 network. Something like this:

ip -6 route add 2001:db8::/64 dev eth1

I think it should be inserted by default from DHCPv6. Any clues where to configure it?

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-03-07 01:08:08 -0600

Seen: 172 times

Last updated: Mar 07