MacOS pptp client + IPv6
jared at puck.nether.net
Mon Feb 7 16:04:22 CET 2011
On Feb 7, 2011, at 9:39 AM, Jared Mauch wrote:
> On Feb 7, 2011, at 9:31 AM, Simon Perreault wrote:
>> On 2011-02-07 09:23, Jared Mauch wrote:
>>> Anyone gotten the MacOS PPTP/VPN client to obtain an IPv6 address? I'm using a Cisco router on the other end, and am looking for anything obvious i'm missing. It appears to be sending the traffic out the virtual-access interface just fine, but I'm not seeing an IPv6 address on the ppp0 interface.
>> Maybe this will be helpful:
>> Especially this part:
>>> However, the IPv6 global addresses are now shown anywhere, either in the Network Settings Panel, nor with ifconfig ppp0. The IPv6 PPP specification(RFC5072) says that the global address is obtained by router advertisements on the PPP link or by DHCPv6.
>>> Inspection of MacOSX shows that router advertisements were not enabled (surprisingly, becauseI'm using IPv6 RA at the office without having to do any change in the kernel config) in the kernel, so I enable them.
>>> # sudo sysctl -w net.inet6.ip6.accept_rtadv=1
>>> net.inet6.ip6.accept_rtadv: 0 -> 1
> This seemed to fix it.
> Thanks.. Was trying to find a good aggregated location with all the configs and it's a bit hard..
> Will finish fixing my configs up and post them.
here's the 'full config' that appears to work with the sysctl change:
! Default PPTP VPDN group
ip unnumbered FastEthernet2/0
ipv6 unnumbered FastEthernet2/0
ipv6 nd reachable-time 30
no ipv6 nd suppress-ra
peer default ip address pool DIAL-IN
peer default ipv6 pool DIAL-IN6
ppp encrypt mppe 128
ppp authentication ms-chap
ppp ipcp dns 18.104.22.168 22.214.171.124
ip local pool DIAL-IN 10.10.15.72 10.10.15.79
ipv6 local pool DIAL-IN6 3ffe:3ffe:0:7080::/62 64
More information about the ipv6-ops