[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "accept_ra 1" vs "accept_ra 2" in interfaces configuration-file

Hi Martin,

On Mon, Aug 20, 2018 at 05:12:56AM +0300, Martin T wrote:
> According to "man interfaces" "accept_ra 1" makes interface to accept
> IPv6 RA messages. "accept_ra 2" does the same and in addition, it also
> enables forwarding. What does the forwarding mean in this context? One
> could think, that it modifies the /proc/sys/net/ipv6/conf/*/forwarding
> file(s), but this does not seem to be the case.

If forwarding = 1 then by default RAs will not be accepted. Setting
accept_ra to 2 allows RAs to be accepted even when forwarding = 1.

Changing the values of either forwarding or accept_ra does not alter
the values of the other. Only the behaviour of the system.

Back in 2011 this was a hard-won battle:



Reply to: