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