#759215 please respect router advertisement flags for IPv6

Package:
ifupdown
Source:
ifupdown
Description:
high level tools to configure network interfaces
Submitter:
Harald Dunkel
Date:
2015-01-25 12:18:04 UTC
Severity:
normal
#759215#5
Date:
2014-08-25 12:04:04 UTC
From:
To:
My gateway (openBSD 5.6) has the "M" bit set on its router advertisement
messages for IPv6, which means that additional addresses and other options
are provided by DHCPv6. See http://tools.ietf.org/html/rfc4861#section-4.2 .

The problem is: ifup seems to ignore these flags.

	# /etc/network/interfaces
	auto eth0
	iface eth0 inet6 auto

Shouldn't ifupdown respect the "M" and "O" flags, regardless whether the
"dhcp" flag is set in /etc/network/interfaces ? For IPv6 autoconfiguration
I would prefer to put as few information into /e/n/interfaces as possible.


Regards
Harri

#759215#10
Date:
2015-01-18 10:14:03 UTC
From:
To:
ifupdown does not even see the RA packets, so I am not sure about how
this could be implemented.
And why is the kernel configuring the address if the M bit of the RA
packet is set?

#759215#15
Date:
2015-01-18 10:25:16 UTC
From:
To:
Hi,

It could run rdisc6 or whatever that program is called, and parse its
output.

#759215#20
Date:
2015-01-25 12:07:59 UTC
From:
To:
Agreed.

Do you think this is a kernel bug? Does RFC 4861 forbid SLAAC if the
M bit is set?


Regards
Harri