1) Select interface fe-0/0/1 as the physical interface of the PPPOE dial-up interface and encapsulate it into pppoe
set interfaces fe-0/0/1 unit 0 encapsulation ppp-over-ether
2) Configure the PP0.0 parameters of the PPPOE interface
set interfaces pp0 unit 0 pppoe-options underlying-interface fe-0/0/1.0
set interfaces pp0 unit 0 pppoe-options idle-timeout 0
set interfaces pp0 unit 0 pppoe-options auto-reconnect 3
set interfaces pp0 unit 0 pppoe-options client
3) Configure MTU With MSS
set interfaces pp0 unit 0 family inet mtu 1492
set security flow tcp-mss all-tcp mss 1350
4) Configure the address of the pppoe interface as negotiate- address
set interfaces pp0 unit 0 family inet negotiate-address
5) Configure PPPOE pap authentication
set interfaces pp0 unit 0 ppp-options chap default-chap-secret 12345678
set interfaces pp0 unit 0 ppp-options chap local-name szXXXXXXXX@163.gd
set interfaces pp0 unit 0 ppp-options chap no-rfc2486
Passive CHAP authentication options are configured for unit 0 on pp0 interface.
set interfaces pp0 unit 0 ppp-options pap default-password 12345678
set interfaces pp0 unit 0 ppp-options pap local-name szXXXXXXXX@163 .gd
set interfaces pp0 unit 0 ppp-options pap local-password 12345678
set interfaces pp0 unit 0 ppp-options pap passive
6) Configure default route
set routing-options static route 0.0.0.0/0 next-hop pp0.0
7)Set zone
set security zones security-zone untrust interfaces pp0.0
set security zones security-zone untrust interfaces fe-0/0/1.0
8)Interface based Nat interface-based source address translation
Please change the internal network segment by yourself. Don’t copy them all. . .
set security nat source rule-set trust-to-untrust from zone trust
set security nat source rule-set trust-to-untrust to zone untrust
set security nat source rule-set trust-to-untrust rule source-nat-rule match source-address 192.168.10.0/24
set security nat source rule-set trust-to-untrust rule source-nat-rule match source-address 172.16.0.0/16
set security nat source rule-set trust-to-untrust rule source-nat-rule then source-nat interface
The above is the detailed content of How to implement Juniper JunOS PPPOE configuration. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

Dreamweaver CS6
Visual web development tools

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version
Visual web development tools

SublimeText3 English version
Recommended: Win version, supports code prompts!
