专题7网络地址转换NAT.ppt

* * * * * * * 测试连通性,检查NAT 配置命令 show ip nat translations show ip nat statistics NAT的debug调试 Router#debug ip nat Nat:s=-,d= [0] Nat:s=, d=- [0] Nat:s=-, d= [1] * * * * * * * * * NAT解决地址重叠-1 NAT解决地址重叠 通过在R1上配置NAT,实现两个重叠网段间PCA 通过PCB的域名PING通PCB。 /24 R1 F0/0 F0/1 54/24 R2 F0/1 F0/0 /24 E1/0 PCA DNS 0/24 NAT解决地址重叠-2 R1(config)#access-list 1 permit 55 \\定义内部需要转换的地址范围 R1(config)# ip nat pool net-2 54 prefix-length 24 \\定义外部转内部的地址池 R1(config)#ip nat inside source list 1 interface FastEthernet0/1 overload \\用PAT定义内部到外部的转换 R1(config)#ip nat outside source list 1 pool net-2 \\定义外部地

文档评论(0)

1亿VIP精品文档

相关文档