Re: IPv6 over ppp autoconfiguration not working in squeeze

Bjørn Mork <[email protected]>
Newsgroups gmane.linux.debian.devel.ipv6
Organization m
Message-ID <[email protected]>
Bernhard Schmidt <[email protected]> writes:
> Adam Spragg <[email protected]> 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:

 #!/bin/sh

 # 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
introduced.


Bjørn


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.