Community discussions

MikroTik App
 
P4z
just joined
Topic Author
Posts: 2
Joined: Mon Jan 11, 2021 4:29 pm

Static IP address for L2TP client on ROS v6.46.4

Mon Jan 11, 2021 5:01 pm

Hello,

I have IPsec/L2TP server on RouterOS v6.46.4 with many clients connected. When clients connect they get local IP addresses from defined pool. I want a client authenticated by specific RADIUS account to get always the same local IP address. Some of our clients are connected multiple times but this one would have only one session. How can I achieve that?
Last edited by P4z on Tue Jan 12, 2021 10:18 pm, edited 1 time in total.
 
tdw
Long time Member
Long time Member
Posts: 640
Joined: Sat May 05, 2018 11:55 am

Re: Static IP address for L2TP client on ROS v6.46.4  [SOLVED]

Mon Jan 11, 2021 7:12 pm

Get your RADIUS server to return a Framed-IP-Address attribute when the client authenticates, if present this overrides the pool specified in the PPP profile on the Mikrotik.
 
P4z
just joined
Topic Author
Posts: 2
Joined: Mon Jan 11, 2021 4:29 pm

Re: Static IP address for L2TP client on ROS v6.46.4

Tue Jan 12, 2021 10:18 pm

Thanks, works like a charm.

Who is online

Users browsing this forum: Baidu [Spider] and 209 guests