Showing posts with label ADSL. Show all posts
Showing posts with label ADSL. Show all posts

SRX ADSL - NZ

I recently installed an SRX in NZ so I though I'd put up here the working ADSL config for our cousins across the pond...

Telecom NZ - PPPOA

at-1/0/0 {
        mtu 1540;
        encapsulation atm-pvc;
        atm-options {
            vpi 0;
        }
        dsl-options {                  
            operating-mode auto;
        }
        unit 0 {
            encapsulation atm-ppp-vc-mux;
            vci 0.100;
            ppp-options {
                pap {
                    default-password "!9$uQQhy76fg543es8XYoZGq.P5QF9A"; ## SECRET-DATA
                    local-name "whoareu.xadsl@xtra.co.nz";
                    local-password "%9$q.Qnkn8765sgvq8LVbs24aDi"; ## SECRET-DATA
                    passive;
                }
            }
            family inet {
                negotiate-address;
            }
        }
    }

routing-options {
    static {
        route 0.0.0.0/0 next-hop at-1/0/0.0;


SRX ADSL

Here is a couple of SRX ADSL configs to 2 different ISPs.
Both these configs have been tested to actually work.

1) Telstra  - PPPOA

    at-1/0/0 {
        mtu 1540;
        encapsulation atm-pvc;
        atm-options {
            vpi 8;
        }
        dsl-options {
            operating-mode auto;
        }
        unit 0 {
            encapsulation atm-ppp-vc-mux;
            vci 8.35;
            ppp-options {
                chap {
                    default-chap-secret "$9$78fgoJGD.fT3JtuBIcS"; ## SECRET-DATA
                    local-name "yourname@direct.telstra.net";
                    passive;
                }
            }
            family inet {
                negotiate-address;
            }
        }
    }


routing-options {
    static {
        route 0.0.0.0/0 next-hop
at-1/0/0.0

2) Netspace - PPPOE

at-1/0/0 {
        mtu 1492;
        encapsulation ethernet-over-atm;
        atm-options {
            vpi 8;
        }
        dsl-options {
            operating-mode auto;
        }
        unit 0 {
            encapsulation ppp-over-ether-over-atm-llc;
            vci 8.35;
        }
    }
    pp0 {
        unit 0 {
            point-to-point;
            ppp-options {
                pap {
                    default-password "$9$CYEtAOwKvLXNdpqvLx92g5Qz"; ## SECRET-DATA
                    local-name "yourname@netspace.net.au";
                    local-password "$9$vMwMxdoraUDHq7XaUjhTQRhc"; ## SECRET-DATA
                    passive;
                }
            }
            pppoe-options {
                underlying-interface at-1/0/0.0;
                idle-timeout 0;
                auto-reconnect 2;
                client;
            }
            family inet {
                negotiate-address;
            }
        }
    }


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