首页 > 运维 > 安全 > 正文

如何实现Juniper JunOS PPPOE配置

WBOY
发布: 2023-05-17 17:55:12
转载
1242人浏览过

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与MSS

set interfaces pp0 unit 0 family inet mtu 1492

set security flow tcp-mss all-tcp mss 1350

4)配置pppoe接口的地址为negotiate-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

Passive CHAP authentication options are configured for unit 0 on pp0 interface.

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

琅琅配音
琅琅配音

全能AI配音神器

琅琅配音 208
查看详情 琅琅配音

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)配置缺省路由

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中文网其它相关文章!

最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:亿速云网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号