I’ve just upgraded the Reading datacentre from Linksys to Juniper SRX connectivity! Bit of a trauma because I got the PPP password wrong at some point and spent a day trying to make it work with an incorrect password. D’oh.
Final working config on the DSL interface is as follows – turns out that the VCI can be specified as 0.38 or just 38 – it doesn’t seem to make a difference:
root> show configuration interfaces at-1/0/0
encapsulation atm-pvc;
atm-options {
vpi 0;
}
dsl-options {
operating-mode auto;
}
unit 0 {
encapsulation atm-ppp-vc-mux;
vci 38;
oam-period 100;
oam-liveness {
up-count 200;
down-count 200;
}
ppp-options {
chap {
default-chap-secret "not telling you"; ## SECRET-DATA
local-name "not telling you this either";
passive;
}
}
family inet {
negotiate-address;
}
}
Now if SixXS will re-activate my account, I will get working on an IPv6 tunnel…
If you want to trace PPP success or failure, you can’t do it on the interface for DSL. You need to do it under ‘protocols ppp’:
root> show configuration protocols ppp
traceoptions {
file ppp.log;
flag chap;
}
monitor-session {
at-1/0/0.0;
}
Here’s what a PPP interface looks like when it is up – until I got the password correct it was showing ‘CReq Sent’ and ‘closed’ for the LCP status:
root> show ppp interface at-1/0/0 extensive
Sessions for interface at-1/0/0
Session at-1/0/0.0, Type: PPP, Phase: Network
Session flags: Monitored
LCP
State: Opened
Last started: 2012-02-24 04:35:56 UTC
Last completed: 2012-02-24 04:35:56 UTC
Negotiated options:
Authentication protocol: CHAP, Authentication algorithm: MD5,
Magic number: 1330290417, MRU: 1506
Authentication: CHAP
State: Success
Last completed: 2012-02-24 04:35:56 UTC
IPCP
State: Opened
Last started: 2012-02-24 04:36:02 UTC
Last completed: 2012-02-24 04:36:02 UTC
Negotiated options:
Local address: [removed], Remote address: 194.159.169.245,
Primary DNS: [removed], Secondary DNS: [removed]
root>
Here’s my log when it finally succeeded:
Feb 24 04:13:29 at-1/0/0.0: Out LCP, Config-Request, id 100, len 10 Feb 24 04:13:29 MRU: 1506, Magic Num: 2660563263 Feb 24 04:13:32 at-1/0/0.0: Out LCP, Config-Request, id 101, len 10 Feb 24 04:13:32 MRU: 1506, Magic Num: 2660563263 Feb 24 04:13:35 at-1/0/0.0: Out LCP, Config-Request, id 102, len 10 Feb 24 04:13:35 MRU: 1506, Magic Num: 2660563263 Feb 24 04:13:38 at-1/0/0.0: Out LCP, Config-Request, id 103, len 10 Feb 24 04:13:38 MRU: 1506, Magic Num: 2660563263 Feb 24 04:13:41 at-1/0/0.0: Out LCP, Config-Request, id 104, len 10 Feb 24 04:13:45 MRU: 1506, Magic Num: 2660563263 Feb 24 04:13:45 at-1/0/0.0: Out LCP, Config-Request, id 105, len 10 Feb 24 04:13:45 MRU: 1506, Magic Num: 2660563263 Feb 24 04:13:45 at-1/0/0.0: In LCP, Config-Request, id 143, len 11 Feb 24 04:13:45 Magic Num: 1516138640 Feb 24 04:13:45 at-1/0/0.0: Out LCP, Config-Ack, id 143, len 11 Feb 24 04:13:45 at-1/0/0.0: In LCP, Config-Ack, id 104, len 10 Feb 24 04:13:48 at-1/0/0.0: Out LCP, Config-Request, id 106, len 10 Feb 24 04:13:48 MRU: 1506, Auth proto: CHAP, algo: MD5, Magic Num: 2660563263 Feb 24 04:13:48 at-1/0/0.0: In LCP, Config-Request, id 144, len 11 Feb 24 04:13:48 Magic Num: 498753614 Feb 24 04:13:48 at-1/0/0.0: Out LCP, Config-Ack, id 144, len 11 Feb 24 04:13:48 at-1/0/0.0: In LCP, Config-Ack, id 106, len 10 Feb 24 04:13:48 at-1/0/0.0: In CHAP, CHAP_CHALLENGE, len 31, id 182 name: bkl-bng-012 challenge_size: 19 Feb 24 04:13:48 at-1/0/0.0: Out CHAP, CHAP_RESPONSE, len 51, id 182 name: infohaus@lon1-aj1a.demonadsl.co.uk challenge_size: 16 Feb 24 04:13:48 at-1/0/0.0: In CHAP, CHAP_SUCCESS, len 0, id 182 Feb 24 04:13:48 at-1/0/0.0: Out IPCP, Config-Request, id 107, len 18 Feb 24 04:13:48 Address: local , remote , Primary DNS: 0.0.0.0, Secondary DNS: 0.0.0.0 Feb 24 04:13:48 at-1/0/0.0: In IPCP, Config-Request, id 1, len 6 Feb 24 04:13:48 Address: local , remote 194.159.169.245 Feb 24 04:13:48 at-1/0/0.0: Out IPCP, Config-Ack, id 1, len 6 Feb 24 04:13:48 at-1/0/0.0: In IPCP, Config-Nak, id 107, len 18 Feb 24 04:13:48 Address: local [removed], remote , Primary DNS: [removed], Secondary DNS: [removed] Feb 24 04:13:50 at-1/0/0.0: In IPCP, Config-Request, id 2, len 6 Feb 24 04:13:50 Address: local , remote 194.159.169.245 Feb 24 04:13:50 at-1/0/0.0: Out IPCP, Config-Ack, id 2, len 6 Feb 24 04:13:51 at-1/0/0.0: Out IPCP, Config-Request, id 108, len 6 Feb 24 04:13:51 Address: local [removed], remote 194.159.169.245, Primary DNS: [removed], Secondary DNS: [removed] Feb 24 04:13:51 at-1/0/0.0: In IPCP, Config-Nak, id 108, len 6 Feb 24 04:13:51 Primary DNS: [removed] Feb 24 04:13:52 at-1/0/0.0: In IPCP, Config-Request, id 3, len 6 Feb 24 04:13:52 Address: local , remote 194.159.169.245 Feb 24 04:13:52 at-1/0/0.0: Out IPCP, Config-Ack, id 3, len 6 Feb 24 04:13:54 at-1/0/0.0: In IPCP, Config-Request, id 4, len 6 Feb 24 04:13:54 Address: local , remote 194.159.169.245 Feb 24 04:13:54 at-1/0/0.0: Out IPCP, Config-Ack, id 4, len 6 Feb 24 04:13:54 at-1/0/0.0: Out IPCP, Config-Request, id 109, len 6 Feb 24 04:13:54 Address: local [removed], remote 194.159.169.245, Primary DNS: [removed], Secondary DNS: [removed] Feb 24 04:13:54 at-1/0/0.0: In IPCP, Config-Ack, id 109, len 6 Feb 24 04:28:00 at-1/0/0.0: Out LCP, Config-Request, id 110, len 10 Feb 24 04:28:00 MRU: 1506, Magic Num: 1330290417 Feb 24 04:28:03 at-1/0/0.0: Out LCP, Config-Request, id 111, len 10 Feb 24 04:28:03 MRU: 1506, Magic Num: 1330290417 Feb 24 04:28:03 at-1/0/0.0: In LCP, Config-Request, id 133, len 11 Feb 24 04:28:03 Magic Num: 1829228896 Feb 24 04:28:03 at-1/0/0.0: Out LCP, Config-Ack, id 133, len 11 Feb 24 04:28:03 at-1/0/0.0: In LCP, Config-Ack, id 111, len 10 Feb 24 04:28:03 at-1/0/0.0: In CHAP, CHAP_CHALLENGE, len 29, id 21 name: bkl-bng-012 challenge_size: 17 Feb 24 04:28:03 at-1/0/0.0: Out CHAP, CHAP_RESPONSE, len 51, id 21 name: [my DSL login name] challenge_size: 16 Feb 24 04:28:04 at-1/0/0.0: In CHAP, CHAP_SUCCESS, len 0, id 21 Feb 24 04:28:04 at-1/0/0.0: Out IPCP, Config-Request, id 112, len 18 Feb 24 04:28:04 Address: local , remote , Primary DNS: 0.0.0.0, Secondary DNS: 0.0.0.0 Feb 24 04:28:04 at-1/0/0.0: In IPCP, Config-Request, id 1, len 6 Feb 24 04:28:04 Address: local , remote 194.159.169.245 Feb 24 04:28:04 at-1/0/0.0: Out IPCP, Config-Ack, id 1, len 6 Feb 24 04:28:04 at-1/0/0.0: In IPCP, Config-Nak, id 112, len 18 Feb 24 04:28:04 Address: local [removed], remote , Primary DNS: [removed], Secondary DNS: [removed] Feb 24 04:28:06 at-1/0/0.0: In IPCP, Config-Request, id 2, len 6 Feb 24 04:28:06 Address: local , remote 194.159.169.245 Feb 24 04:28:06 at-1/0/0.0: Out IPCP, Config-Ack, id 2, len 6 Feb 24 04:28:07 at-1/0/0.0: Out IPCP, Config-Request, id 113, len 6 Feb 24 04:28:07 Address: local [removed], remote 194.159.169.245, Primary DNS: [removed], Secondary DNS: [removed] Feb 24 04:28:07 at-1/0/0.0: In IPCP, Config-Nak, id 113, len 6 Feb 24 04:28:07 Primary DNS: [removed] Feb 24 04:28:08 at-1/0/0.0: In IPCP, Config-Request, id 3, len 6 Feb 24 04:28:08 Address: local , remote 194.159.169.245 Feb 24 04:28:08 at-1/0/0.0: Out IPCP, Config-Ack, id 3, len 6 Feb 24 04:28:10 at-1/0/0.0: Out IPCP, Config-Request, id 114, len 6 Feb 24 04:28:10 Address: local [removed], remote 194.159.169.245, Primary DNS: 158.152.1.58, Secondary DNS: [removed] Feb 24 04:28:10 at-1/0/0.0: In IPCP, Config-Ack, id 114, len 6 Feb 24 04:35:50 at-1/0/0.0: Out LCP, Config-Request, id 115, len 10 Feb 24 04:35:50 MRU: 1506, Magic Num: 1330290417 Feb 24 04:35:53 at-1/0/0.0: Out LCP, Config-Request, id 116, len 10 Feb 24 04:35:53 MRU: 1506, Magic Num: 1330290417 Feb 24 04:35:56 at-1/0/0.0: Out LCP, Config-Request, id 117, len 10 Feb 24 04:35:56 MRU: 1506, Magic Num: 1330290417 Feb 24 04:35:56 at-1/0/0.0: In LCP, Config-Request, id 54, len 11 Feb 24 04:35:56 Magic Num: 2083257803 Feb 24 04:35:56 at-1/0/0.0: Out LCP, Config-Ack, id 54, len 11 Feb 24 04:35:56 at-1/0/0.0: In LCP, Config-Ack, id 117, len 10