NAT(第一篇)

NAT的三个实验
NAT(第一篇)_第1张图片
【静态NAT
1、ip nat inside source static 192.168.10.10 209.165.200.225      netmask  255.255.255.0
2、interface s0/0/0
     ip nat inside
3、interface s0/1/0
     ip nat outside 
【动态NAT
1、ip nat pool pool-name 209.165.200.100 209.165.200.225 netmask 255.255.255.0
2、access-list 1 permit 192.168.10.0 0.0.0.255
3、ip nat inside source list 1 pool pool-name
4、interface s0/0/0
     ip nat inside
5、interface s0/1/0
     ip nat outside 
【过载NAT(PAT
I:
1、access-list 1 permit 192.168.10.0 0.0.0.255
2、ip nat inside source list 1 interface s0/1/0 overload
3、interface s0/0/0
     ip nat inside
4、interface s0/1/0
     ip nat outside
II:
1、ip nat pool pool-name 209.165.200.255 209.165.200.225 netmask 255.255.255.0
2、access-list 1 permit 192.168.10.0 0.0.0.255
3、ip nat inside source list 1 pool pool-name overload
4、interface s0/0/0
      ip nat inside
5、interface s0/1/0
      ip nat outside 
 

你可能感兴趣的:(职场,NAT,休闲)