1 实验拓扑:
2 实验结果:
1、配置路由器端口的IP地址,配置到静态路由。使整个网络联通。
2、在RouterA上配置动态NAT
3、检验动态NAT:
在Host_2上ping Host_3.
4、查看地址转换的结果及地址池的配置情况。
先配置静态路由
R2: ip nat pool D_NAT 202.116.64.3 202.116.64.100 netmask 255.255.255.0
access-list 1 permit 202.116.66.0 0.0.0.255
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat inside source list 1 pool D_NAT
int f0/0
ip nat inside
int f0/1
ip nat outside
R2#debug ip nat(要先ping才有转换过程)
show ip nat translations