xapi-project / xcp-networkd

The XCP networking daemon
Other
14 stars 42 forks source link

CA-82314: networkd: introduce Linklocal6 IPv6 address mode #16

Closed robhoes closed 11 years ago

robhoes commented 11 years ago

This patch is present on the ea1254 branch, and was present in xen-api. It should go into master as well.

This commit redefines the IPv6 address mode "None6" to mean "no IPv6 addresses at all, not even a link local one", and introduces the new mode Linklocal6, which means "no IPv6 addresses, except a link local one".

Previously, it was not possible to get networkd to remove the link-local IPv6 address from an interface.

When a link local IPv6 address is requested, it is derived from the interface's MAC address as commonly done.

Signed-off-by: Rob Hoes rob.hoes@citrix.com Imported-by: Jon Ludlam jonathan.ludlam@eu.citrix.com

thomassa commented 11 years ago

Just a comment on the commit-message and pull-request description, which caused me a few moments of puzzlement. I think that where it says "only IPv6 addresses, except a link local one" it should be "no IPv6 addresses, except..." (or perhaps "only IPv4 addresses, except a link local IPv6 address")

robhoes commented 11 years ago

@thomassa Quite right! It should be "no IPv6 addresses". I'll fix the message.