Junos OS

 View Only
last person joined: 6 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  LNS - pool configuration

     
    Posted 06-24-2020 12:00

    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.  RE: LNS - pool configuration
    Best Answer

     
    Posted 06-24-2020 12:12

    Hello,

     

    Please check the following page out:

    https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/mlppp-service-device-pool-load-balancing-pppoe-lns-configuring.html 

     

    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

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



  • 3.  RE: LNS - pool configuration

     
    Posted 06-24-2020 13:28

    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?