重庆分公司,新征程启航

为企业提供网站建设、域名注册、服务器等服务

如何实现JuniperJunOSPPPOE配置-创新互联

这篇文章给大家介绍如何实现Juniper JunOS PPPOE配置,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。

创新互联建站长期为超过千家客户提供的网站建设服务,团队从业经验10年,关注不同地域、不同群体,并针对不同对象提供差异化的产品和服务;打造开放共赢平台,与合作伙伴共同营造健康的互联网生态环境。为安仁企业提供专业的成都网站制作、网站设计,安仁网站改版等技术服务。拥有十年丰富建站经验和众多成功案例,为您定制开发。

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

set interfaces pp0 unit 0 ppp-options chap passive

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

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配置就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


分享题目:如何实现JuniperJunOSPPPOE配置-创新互联
文章出自:http://cqcxhl.com/article/dcohsi.html

其他资讯

在线咨询
服务热线
服务热线:028-86922220
TOP