首頁 > 運維 > 安全 > 如何實現Juniper JunOS PPPOE配置

如何實現Juniper JunOS PPPOE配置

WBOY
發布: 2023-05-17 17:55:12
轉載
1181 人瀏覽過

1)選擇接口fe-0/0/1作為PPPOE撥號接口的物理接口,並封裝成pppoe

set interfaces fe-0/0/1 unit 0 encapsulation ppp-over-ether

2)配置PPPOE介面的PP0.0參數

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)配置MTU##3) 配置與MSS

set interfaces pp0 unit 0 family inet mtu 1492

set security flow tcp-mss all-tcp mss 1350

4)配置為address

set interfaces pp0 unit 0 family inet negotiate-address

5)設定PPPOE pap 認證

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

#印#印>印>>成本>>>>>>>>>>>>>>>>已45號options are configured for unit 0 on pp0 interface.

set interfaces pp0 unit 0 ppp-options pap default-password 12345678

set interXXXs@0 unit 0 pap-options papz .gd

set interfaces pp0 unit 0 ppp-options pap local-password 12345678

set interfaces pp0 unit 0 ppp-options pap passive

6)設定預設路由

set routing-options static route 0.0.0.0/0 next-hop pp0.0

7)設定區域

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 基於介面的來源位址轉換

內部網段請自行更改,別全部複製。 。 。

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###

以上是如何實現Juniper JunOS PPPOE配置的詳細內容。更多資訊請關注PHP中文網其他相關文章!

相關標籤:
來源:yisu.com
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板