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

Re: IPv6 over ppp autoconfiguration not working in squeeze

Bernhard Schmidt <berni@birkenwald.de> writes:
> Adam Spragg <adam@spra.gg> wrote:
>>     net.ipv6.conf.all.accept_ra=2
> While this supposedly accepts RA and does autoconfiguration even when
> forwarding is enabled, I don't think it is in Squeeze 2.6.32 yet. The
> patch was on LKML somewhere end of 2010.
> So, as the others have pointed out, you will have to configure your
> address and route manually in /etc/ppp/ipv6-up.d. You don't necessarily
> need a global IPv6 address on ppp0 anyway.

No, you can enable per interface SLAAC on 2.6.32 as well.  It's just a
little more convoluted than setting accept_ra=2.  I have added this to a 
/etc/ppp/ipv6-up.d/local script:


 # need to disable forwarding to receive RAs
 sysctl -w net.ipv6.conf.$PPP_IFACE.forwarding=0

Note that this only enables RA acceptance on the interface.  It does
*not* disable forwarding of IPv6 packets.  That's controlled by the
global net.ipv6.conf.all.forwarding variable, and ip6tables rules. 

It's all a bit weird, which I assume is why the accept_ra=2 was


Reply to: