vrijdag 5 september 2014

BBNED Routit PPPoA configuration on Juniper SRX 240

One of our clients has a Juniper SRX240 cluster with a primary fiber internet connection and a secondary ADSL connection.

Both of the Junipers are equiped with a MPIM ADSL2/2+ A module.
(If you are having the Junipers configured in cluster, both of the Junipers will need this module. Even though the 2nd module isn't even (going to be) used)


I have been struggling for some time, to get the ADSL configured correctly, even with the information, given by the ISV.

I tried with JTAC, but configuring this ADSL connection seemed to be a difficult task, even for them.
We've tried a lot of different configurations, but none of them were successful.

After my call with JTAC, we were one step closer then before, but it seemed as if we were missing information from the ISV.
I wanted to resolve this issue badly, so I tried to setup the PPPoA configuration step-by-step, based on information on several internet pages, instead of waiting for JTAC to come back to me.

I found out that the settings should be:

VPI = 0
VCI = 35
Encapsulation = PPPoA (of PPP)
MultiPlexing = VC-BASED
IP Assignment = Dynamic
Username = username@routit.nl  (I didn't receive an username with the @routit.nl extension, so I didn't use this)
Password = password

And I also found:

Provider 
DSL netwerk VPI VCI  EncapsulationMultiplexing
XS4ALL, Power / BBnedBBNed035PPPoAVC-Mux

So based on this information and the username and password I had, I created this configuration:

at-6/0/0 {
    atm-options {
        vpi 0;
    }
    dsl-options {
        operating-mode auto;
    }
    unit 0 {
        encapsulation atm-ppp-vc-mux;
        vci 0.35;
        ppp-options {
            pap {
                local-name #snip#;
                local-password "#snip#"; ## SECRET-DATA
            }
        }
        family inet {
            #client ipaddress#;
        }
    }

This brought me another step closer, but when I tried run monitor interface at-6/0/0, I still could see, that this configuration wasn't working correctly.
So I searched the internet for the 'error' I got and found out that I should add passive to the ppp-options.

This worked! Or maybe it didn't....

I entered a static IP address and it looked like this worked, because I could ping the interface from the outside and I could also ping websites from the Juniper. But still it didn't work as expected.

My colleague asked me to remove the static ip address and set it to negotiate-address. This finally worked and also a remote address showed up.

I had a lot of trouble, finding any information about configuring a BBNED-Routit ADSL(2+) connection on a Juniper SRX240, so I wanted to share my working config with you:

at-6/0/0 {
    atm-options {
        vpi 0;
    }
    dsl-options {
        operating-mode auto;
    }
    unit 0 {
        encapsulation atm-ppp-vc-mux;
        vci 0.35;
        ppp-options {
            pap {
                local-name #username#;
                local-password "password"; ## SECRET-DATA
                passive;
            }
        }
        family inet {
            negotiate-address;
        }
    }

How do you set this? :

set interfaces at-6/0/0 atm-options vpi 0
set interfaces at-6/0/0 dsl-options operating-mode auto
set interfaces at-6/0/0 unit 0 encapsulation atm-ppp-vc-mux
set interfaces at-6/0/0 unit 0 vci 0.35
set interfaces at-6/0/0 unit 0 ppp-options pap local-name #username#
set interfaces at-6/0/0 unit 0 ppp-options pap local-password "#password#"
set interfaces at-6/0/0 unit 0 ppp-options pap passive
set interfaces at-6/0/0 unit 0 family inet negotiate-address
Hope this helps anyone out!