SRX Services Gateway
Reply
Visitor
rajeshj1978
Posts: 4
Registered: ‎10-29-2009

ADSL configuration

[ Edited ]

Hi All,

 

i had lot of issues with adsl configuration, but this is the configuration which worked for me, so i am sharing with you all.

 

interfaces


    at-4/0/0 {
        description ADSL;
        encapsulation atm-pvc;
        atm-options {
            vpi 0;
        }
        dsl-options {
            operating-mode auto;
        }
        unit 0 {
            encapsulation atm-ppp-llc;
            vci 38;
            ppp-options {
                chap {
                    default-chap-secret "password"; ## SECRET-DATA
                    local-name "username";
                    passive;
                }
                pap {
                    default-password "password"; ## SECRET-DATA
                    local-name "username";
                    local-password "password"; ## SECRET-DATA
                    passive;
                }
            }
            family inet {
                negotiate-address;
            }


security {
 
          security-zone untrust {
            screen untrust-screen;
            host-inbound-traffic {
                system-services {
                    ssh;
                    ping;
                }
                protocols {
                    all;
                }
            }
            interfaces {
                at-4/0/0.0;
            }


access {
    profile isp {
        client "username" {
            chap-secret "password"; ## SECRET-DATA
            pap-password "password"; ## SECRET-DATA

        }
    }
}

Distinguished Expert
Screenie
Posts: 1,089
Registered: ‎01-10-2008
0

Re: ADSL configuration

Thanks for sharing this with us! It's nice to see solutions posted now and then instead of questions!

best regards,

Screenie.
Juniper Ambassador,
JNCIA IDP AC WX JNCIS FW SSL JNCIP SEC ENT SP JNCI

If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.
Contributor
Posts: 39
Registered: ‎05-27-2008
0

Re: ADSL configuration

Unfortunately, I have one question:

 

which country do you come from? This is a solution for ADSL over ATM, but in Germany, where I have to do most of my support, we have PPPoE in most cases. Do you address a special device with this solution, a PIM (SRX-MP-1ADSL2-x) to more specific? Or do you trigger (?) an external device?

 

regards,

 

Klaus

 

Visitor
thebrains
Posts: 4
Registered: ‎11-09-2009
0

Re: ADSL configuration

COOL, thanks.

 

Together with the upgrade to Junos 10.0 This works!!

 

 

Brian

Visitor
Scumhook
Posts: 3
Registered: ‎11-19-2009
0

Re: ADSL configuration

Could you also post what route(s) you have set up to route from your LAN etc out the ADSL port?  I'm stuck on this at the moment.

 

 

Super Contributor
mwdmeyer
Posts: 204
Registered: ‎03-11-2008
0

Re: ADSL configuration

[ Edited ]

set routing-options static route 0.0.0.0/0 next-hop pp0.0

 

pp0.0 being your dial/adsl interface.

Contributor
paulzugnoni
Posts: 11
Registered: ‎11-16-2009
0

Re: ADSL configuration

In your working config, do you also propagate the TCP/IP settings learned via PPP to a DHCP server in your system services? I have this in place: set system services dhcp propagate-settings pp0.0, but the name servers and domain that are normally learned via the PPP session do not get passed to DHCP clients. The 9.6 CLI says that the propagate-settings command takes the settings learned as a DHCP client on one interface, not necessarily a PPP (or pppoe) client, but the PPPoE config guide includes this statement for the same purpose. Am I hitting a bug? limitation? pebcak? All else is working.

 

Relevant config and info:

set system services dhcp propagate-settings pp0.0

set interfaces pp0 unit 0 ppp-options chap default-chap-secret SECRET
set interfaces pp0 unit 0 ppp-options chap local-name NAME
set interfaces pp0 unit 0 ppp-options chap passive
set interfaces pp0 unit 0 ppp-options pap default-password SECRET
set interfaces pp0 unit 0 ppp-options pap local-name NAME
set interfaces pp0 unit 0 ppp-options pap local-password PASSWORD
set interfaces pp0 unit 0 ppp-options pap passive
set interfaces pp0 unit 0 pppoe-options underlying-interface fe-0/0/7.0
set interfaces pp0 unit 0 pppoe-options client
set interfaces pp0 unit 0 family inet mtu 1492
set interfaces pp0 unit 0 family inet negotiate-address
#

Model: srx100-lm
JUNOS Software Release [9.6R2.11]

 

Thanks.

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.