我家安装的是宽带通的宽带,问客服不知道是chap还是pap认证,只能全配了。
某宝买的二手junper srx 220h 防火墙,带8个千兆口。
set interfaces ge-0/0/0 unit 0 encapsulation ppp-over-ether
set interfaces pp0 unit 0 apply-macro "New Connection"
set interfaces pp0 unit 0 ppp-options chap default-chap-secret "$9$ocGkmtpOhSlwYjkmPF3cSreXN"
set interfaces pp0 unit 0 ppp-options chap local-name "[email protected]"
set interfaces pp0 unit 0 ppp-options chap no-rfc2486
set interfaces pp0 unit 0 ppp-options chap passive
set interfaces pp0 unit 0 ppp-options pap local-name "[email protected]"
set interfaces pp0 unit 0 ppp-options pap no-rfc2486
set interfaces pp0 unit 0 ppp-options pap local-password "$9$JvD.fu01SrKYgH.f5n6yrev7d"
set interfaces pp0 unit 0 ppp-options pap passive
set interfaces pp0 unit 0 pppoe-options underlying-interface ge-0/0/0.0
set interfaces pp0 unit 0 family inet negotiate-address
set routing-options static route 0.0.0.0/0 qualified-next-hop pp0.0 metric 1
set interfaces ge-0/0/7 unit 1 encapsulation ppp-over-ether
set interfaces pp0 unit 1 apply-macro "send Connection"
set interfaces pp0 unit 1 ppp-options chap default-chap-secret "YEZUMPWO"
set interfaces pp0 unit 1 ppp-options chap local-name "[email protected]"
set interfaces pp0 unit 1 ppp-options chap no-rfc2486
set interfaces pp0 unit 1 ppp-options chap passive
set interfaces pp0 unit 1 ppp-options pap local-name "[email protected]"
set interfaces pp0 unit 1 ppp-options pap no-rfc2486
set interfaces pp0 unit 1 ppp-options pap local-password "YEZUMPWO"
set interfaces pp0 unit 1 ppp-options pap passive
set interfaces pp0 unit 1 pppoe-options underlying-interface ge-0/0/7.0
set interfaces pp0 unit 1 family inet negotiate-address
set routing-options static route 0.0.0.0/0 qualified-next-hop pp0.1 metric 10