L2TP/PPP SLAAC

L2TP related questions
Post Reply
haniaro
Posts: 23
Joined: 29 Dec 2019, 14:18

L2TP/PPP SLAAC

Post by haniaro »

2.jpg
2.jpg (57.21 KiB) Viewed 4140 times
1.jpg
1.jpg (122.92 KiB) Viewed 4140 times
:?: I need a help please
this is my conf:
#######################################################################################
[modules]
log_file
log
ipv6_nd
ipv6_dhcp
ipv6pool
auth_chap_md5
l2tp
ppp
radius
pppd_compat
[core]
log-error=/var/log/accel-ppp/core.log
thread-count=4
verbose=5

[pppd-compat]
ip-up=/etc/ppp/ip-up
#ip-down=/etc/ppp/ip-down
radattr=/var/run/radattr
verbose=5

[ppp]
verbose=5
min-mtu=1280
mtu=1400
mru=1400
ipv6=allow
unit-cache=300
ipv6-dns#lcp-echo-failure=5
#lcp-echo-interval=20
#ipv6_pool=pppv6
ipv6-accept-peer-intf-id=1
pcomp=allow
[ipv6-dns]
2001:4860:4860::8888
2001:4860:4860::8844

[ipv6-pool]
XXXX:XXXX:2::/48,64
delegate=XXXX:XXXX::/32,48
[ipv6-dhcp]
verbose=1
pref-lifetime=604800
valid-lifetime=2592000
route-via-gw=1

[lcp]
echo-interval=5
echo-failure=1
[l2tp]
verbose=5
dictionary=/usr/local/share/accel-ppp/l2tp/dictionary
bind=A.B.C.D
secret=***********
dataseq=allow
[radius]
dictionary=/usr/local/share/accel-ppp/radius/dictionary
nas-identifier=accel-ppp
nas-ip-address=A.B.C.D
gw-ip-address=A.B.C.D
server=A1.B1.D1.C1,**********,auth-port=1812,acct-port=1813,req-limit=50,fail-timeout=0,max-fail=10,weight=1
verbose=5
acct-timeout=120
acct-delay-time=0
acct-on=1
[client-ip-range]
0.0.0.0/0

[log]
log-fail-file=/var/log/accel-ppp/auth-fail.log
log-file=/var/log/accel-ppp/accel-ppp.log
log-emerg=/var/log/accel-ppp/emerg.log
level=5
copy=1
color=1

[cli]
telnet=127.0.0.1:2000
tcp=127.0.0.1:2001
###################################################################################
I have ADSL Router for testing (TP-LINK td-w986-1n):
- for IPv4 only I passed some radius attributes and everything OK(I can assign the address,subnet,gateway,and DNS).
- for IPv4/IPv6 Dual stack: if I choose DHCP IPv6 Enable ====>DHCP every thing work OK ( I can assign address,prefix length,gateway,DNS,prefix delegation from radius attribute).
-for IPv4/IPv6 Dual stack: if I choose DHCP IPv6 Enable ====>SLAAC it doesn't work ( I can assign DNS,prefix delegation from radius attribute) ONLY !!!!!!! so no (address,prefix length,gateway)
so, I need your help with SLAAC please.
dimka88
Posts: 866
Joined: 13 Oct 2014, 05:51
Contact:

Re: L2TP/PPP SLAAC

Post by dimka88 »

Hi, add following and restart accel-ppp daemon

Code: Select all

[ipv6-nd]
AdvAutonomousFlag=1
ps:// note: prepare your forum message more pretty with tag <code>
haniaro
Posts: 23
Joined: 29 Dec 2019, 14:18

Re: L2TP/PPP SLAAC

Post by haniaro »

thank you dimka88 :D it works like a dream
but please tell me why I didn't find this in the documentation?????
dimka88
Posts: 866
Joined: 13 Oct 2014, 05:51
Contact:

Re: L2TP/PPP SLAAC

Post by dimka88 »

Hi, if you have time, you can help us with documentations
https://accel-ppp.readthedocs.io/en/latest/
Post Reply