[ovs-dev] [PATCH RFC v1] ovn: add SLAAC support for IPv6

Alexey I. Froloff raorn at raorn.name
Wed Oct 19 13:05:07 UTC 2016


On Wed, Jul 27, 2016 at 11:04:55PM -0700, Ben Pfaff wrote:
> The commit message here is so detailed that I can't figure out what the
> actual goal is.  What is SLAAC and how does it benefit the user or
> administrator?
I apologies for necro-posting, but Router Advertisement in not
only about address autoconfiguration.  This is an advertisement
of a router (Link-Local router address) in the first place.  In
terms of OVN - Logical_Router_Port.  Besides router, RA message
also contains information about IPv6 Prefixes (subnets),
available on this link.

Since DHCPv6 does not provide prefix length to client (assigned
addresses will have /128 prefix), communication between VMs in
one Logical_Switch will be done via configured "router"
(options:server_id).  If OS receives RA message, it will set
routing to announced prefix via network interface:

$ ip -6 ro
2001:470:XXX:XXX::/64 dev eth0  proto kernel  metric 256  expires 7035sec mtu 1280 advmss 1220 hoplimit 0
fd4b:XXX:XXX::/64 dev eth0  proto kernel  metric 256  expires 7035sec mtu 1280 advmss 1220 hoplimit 0
fe80::/64 dev eth0  proto kernel  metric 256  mtu 1280 advmss 1220 hoplimit 0
default via fe80::1 dev eth0  proto kernel  metric 1024  expires 1653sec mtu 1280 advmss 1220 hoplimit 0

So, even with DHCPv6, it would be great if OVN provide RA
support.

-- 
Regards,    --
Sir Raorn.   --- https://plus.google.com/+AlexeyFroloff



More information about the dev mailing list