11-02-2009 06:42 AM - edited 11-02-2009 06:42 AM
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
}
}
}
11-03-2009 06:16 AM
Thanks for sharing this with us! It's nice to see solutions posted now and then instead of questions!
11-03-2009 11:05 AM
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
11-09-2009 11:39 AM
COOL, thanks.
Together with the upgrade to Junos 10.0 This works!!
Brian
11-19-2009 11:45 PM
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.
11-20-2009 03:31 AM - edited 11-20-2009 03:32 AM
set routing-options static route 0.0.0.0/0 next-hop pp0.0
pp0.0 being your dial/adsl interface.
11-28-2009 11:30 AM
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.