- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
掌握静态NAT动态NAT
3)指定一条默认路由到路由器R1的接口; Sw1(config)# ip route 0.0.0.0 0.0.0.0 192.168.0.1 4)启动OSPF,宣告各个VLAN网络及聚合口对 应的网络,注意各个不同的区域: Sw1(config)# router ospf 100 Sw1(config-router)# net 192.168.2.0 0.0.0.255 area 2 Sw1(config-router)# net 192.168.3.0 0.0.0.255 area 3 Sw1(config-router)# net 192.168.0.0 0.0.0.255 area 0 Sw1(config-router)# net 192.168.10.0 0.0.0.255 a rea 0 Sw1(config-router)# exi 2.对R1进行以下配置 1)定义接口 R1en R1# conf t R1(config)# int f1/0 R1(config-if)# ip add 192.168.0.1 255.255.255.0 R1(config-if)# no sh R1(config-if)# int f1/1 R1(config-if)# ip add 192.168.7.1 255.255.255.0 R1(config-if)# no sh R1(config-if)# int s1/0 R1(config-if)# clock rate 64000 R1(config-if)# ip add 202.121.241.1 255.255.255.252 R1(config-if)# no sh 2)启动OSPF,宣告内网接口的每个网络,为area 0 R1(config)# router ospf 100 R1(config-router)# net 192.168.0.0 0.0.0.255 area 0 R1(config-router)# net 192.168.7.0 0.0.0.255 area 0 R1(config-router)# net 192.168.7.0 0.0.0.255 area 0 R1(config-router)# exi Router# 3)指定默认路由 R1(config)# ip rout 0.0.0.0 0.0.0.0 202.121.241.2 R1(config)# router ospf 100 R1(config-router)# redi stat sub R1(config-router)# redi stat subnets R1(config-router)# exi R1(config)# NAT排错 查看统计信息 清除条目 显示当前的转换 R1# show ip nat translations ror inside ip nat translations pro inside global inside local outside local outside global --- 192.2.2.1 10.1.1.1 --- --- --- 192.2.2.1 10.1.1.2 --- --- pro inside global inside local outside local outside global tcp 192.168.2.1:11003 10.1.1.1:11003 172.16.2.2:23 172.16.2.2:23 tcp 192.168.2.1:1067 10.0.1.1.1:1067 172.16.2.3:23 172.16.2.3:23 R1# show ip nat translation Pro Inside global Inside local Outsids local Outside global tcp 192.168.2.1:11003 10.1.1.1:11003 172.16.2.2:23 172.16.2.2:23 tcp 192.168.2.1:1067 10.1.1.1:1067 172.16.2.2:23 172.16.2.2:23 R1# R1# clear ip nat translation * R1# show ip nat translation R1# nothing Company Name LOGO Nat 技术 Contents NAT 的配置 2 NAT 限速
您可能关注的文档
最近下载
- 2025秋统编版(2024)小学道德与法治三年级上册(全册)课时练习及答案(附目录).docx
- (2025秋新版)人教版三年级数学上册《观察物体》PPT课件.pptx VIP
- (鲁班奖)网架专家论证汇报资料.ppt VIP
- 行业资料 - 国家储备林改培技术规程-国家林业局.pdf VIP
- Q960E高强度调质钢焊接工艺研究.pdf VIP
- 2025-2026学年第一学期数学教研组工作计划.doc VIP
- ISO15378-2017药包材对ISO9001的应用.pptx VIP
- 13.1三角形的概念 课件(共24张PPT) 人教版(2025)数学八年级上册(含音频+视频).pptx VIP
- 2025级中职语文教学工作计划5篇.pdf VIP
- 第十章 商品的品名品质数量和包装.ppt VIP
文档评论(0)