掌握静态NAT动态NAT.PPT

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 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 限速

文档评论(0)

fengruiling + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档