Junos
Highlighted
Junos

LNS - pool configuration

2 weeks ago

Quick question....

 

I have completed this in the format below before and it has worked fine... here is the config (basic of the broken section for LNS):

 

set services l2tp tunnel-group lns-test service-device-pool lns

set access address-assignment pool POOL family inet network 192.168.85.0/24
set access address-assignment pool POOL family inet range lns low 192.168.85.1
set access address-assignment pool POOL family inet range lns high 192.168.85.254

 

Now when I try and commit the whole config I get the following error:

 

'service-device-pool lns'
referenced service device pool must be defined

 

Now, I understand that I have configured a pool called POOL but it has the range labelled as "lns" which is normally called within the group.


Any help please here?

 

 

 

2 REPLIES 2
Highlighted
Junos
Solution
Accepted by topic author adgwytc
2 weeks ago

Re: LNS - pool configuration

2 weeks ago

Hello,

 

Please check the following page out:

https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/mlppp-service-device-poo... 

 

This is the configuration that I often use for LNS:

services {
    l2tp {
        tunnel-group lns-group {
            l2tp-access-profile l2tp-session;
            aaa-access-profile aaa-profile;
            tos-reflect;
            local-gateway {
                address 10.1.1.3;
            }
            service-device-pool sdp-1;
            dynamic-profile prod-l2tp-base;
        }
    }
    service-device-pools {
        pool sdp-1 {
            interface si-0/0/0;
            interface si-0/1/0;
            interface si-0/2/0;
            interface si-0/3/0;
        }
    }
}

HTH

 

 

Best regards,

Sergii

-------------------------------------------------------------------

Please accept the solution if your problem is resolved Smiley Happy

-------------------------------------------------------------------

Highlighted
Junos

Re: LNS - pool configuration

[ Edited ]
2 weeks ago

Yep, figured it out. All working.

 

Quick other question:

 

Can I configure an LNS and a LAC on an MX80 or MX104 or must they be separate devices?