On Tue, Jun 30, 2015 at 08:27:03PM +0200, Patrik Lundin wrote:
> This is where possibly unexpected things start happening. Our first
> note is that no default route is appearing for IPv6:

yes, that was an artifact of moving the sending of router
solicitations from rtsol(8) to the kernel. rtsol(8) flat out refused
to do anything with forwarding enabled. There is no such check in
place for "ifconfig inet6 autoconf". But as you note weird stuff
starts to happen on 5.7 if you do this.

However, if you continue using the "rtsol" keyword in hostname.if that
check is still in place (in netstart(8)). I think this is a case of
"Doctor, Doctor! If I do this it hurts." ;)

[...]
> Any input on this would be much appreciated! As a side note, related to
> the "should i handle RAs when I am a router": another friend noted that the
> Linux camp allows two levels of this setting:
> 
> https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt:
> ===
> accept_ra - INTEGER
>         Accept Router Advertisements; autoconfigure using them.
> 
>         It also determines whether or not to transmit Router
>         Solicitations. If and only if the functional setting is to
>         accept Router Advertisements, Router Solicitations will be
>         transmitted.
> 
>         Possible values are:
>                 0 Do not accept Router Advertisements.
>                 1 Accept Router Advertisements if forwarding is disabled.
>                 2 Overrule forwarding behaviour. Accept Router Advertisements
>                   even if forwarding is enabled.
> 
>         Functional default: enabled if local forwarding is disabled.
>                             disabled if local forwarding is enabled.
> ===
> 
> So basically, setting it to 0 disables the handling of router advertisements,
> setting it to 1 accepts them given that forwarding is disabled (pretty close
> to what we are seeing OpenBSD doing right now when handling of RAs are 
> enabled)
> and 2 makes it handle the RAs without any regard of forwarding status (what we
> would probably need in this SOHO case).
> 

This changed in -current, so please test that report back.
These two commits are relevant:
https://marc.info/?l=openbsd-cvs&m=142730518728044&w=2
https://marc.info/?l=openbsd-cvs&m=143359644918955&w=2

We don't have this extra knob (the "1" case). You can enable v6
forwarding in sysctl and enable acceptance of router advertisments per
interface. So if you don't want to accept router advertisments when
forwarding is enabled don't configure the interfaces that way.

I'm not sure if this will solve all your problems but it should solve
some. This should cut down your report considerably and should make it
easier to work through the rest.

> -- 
> Patrik Lundin
> 

-- 
I'm not entirely sure you are real.

Reply via email to