addr_gen_mode


Description:

[ NoAccessorMethod ]
[ Version ( since = "1.2" ) ]
public int addr_gen_mode { get; set; }

Configure method for creating the address for use with RFC4862 IPv6 Stateless Address Autoconfiguration.

The permitted values are: nm_setting_ip6_config_addr_gen_mode_eui64, nm_setting_ip6_config_addr_gen_mode_stable_privacy. nm_setting_ip6_config_addr_gen_mode_default_or_eui64 or nm_setting_ip6_config_addr_gen_mode_default .

If the property is set to EUI64, the addresses will be generated using the interface tokens derived from hardware address. This makes the host part of the address to stay constant, making it possible to track host's presence when it changes networks. The address changes when the interface hardware is replaced.

The value of stable-privacy enables use of cryptographically secure hash of a secret host-specific key along with the connection's stable-id and the network address as specified by RFC7217. This makes it impossible to use the address track host's presence, and makes the address stable when the network interface hardware is replaced.

The special values "default" and "default-or-eui64" will fallback to the global connection default in as documented in NetworkManager.conf(5) manual. If the global default is not specified, the fallback value is "stable-privacy" or "eui64", respectively.

For libnm, the property defaults to "default" since 1.40. Previously it defaulted to "stable-privacy". On D-Bus, the absence of an addr-gen-mode setting equals "default". For keyfile plugin, the absence of the setting on disk means "default-or-eui64" so that the property doesn't change on upgrade from older versions.

Note that this setting is distinct from the Privacy Extensions as configured by "ip6-privacy" property and it does not affect the temporary addresses configured with this option.




2022 vala-language.org