How to implement Juniper JunOS PPPOE configuration

WBOY
Release: 2023-05-17 17:55:12
forward
1142 people have browsed it

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!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template