首页 > 系统服务 > 详细

Cisco NAT Fundation

时间:2016-07-01 11:29:28      阅读:168      评论:0      收藏:0      [点我收藏+]

技术分享

                      Topology

 

1. DNAT (Dynamic)

int fa0/0

  ip nat inside

int fa0/1

  ip nat outside

 

ip nat pool ISP-POOL 198.51.100.3 192.51.100.14 netmask 255.255.255.240

ip nat inside source list 1 pool ISP-POOL

 

access-list 1 permit 10.1.1.0 0.0.0.255

 

show ip nat translations

 

2 SNAT (Static)

 

ip nat inside source static 10.1.1.1 198.51.100.3

ip nat inside source static 10.1.1.2 198.51.100.4

 

3 PAT (Port Address Translation)

 

int f0/0

  ip nat inside

int f0/1

  ip nat outside

 

ip nat inside source list 1 interface fastethernet0/1 overload

access-list 1 permit 10.1.1.0 0.0.0.255

 

show ip nat translations

 

4 NVI (NAT Virtual Interface)

 

int f0/0

  ip nat enable

int f0/1

  ip nat enable

 

NOTE: The NAT Vitrual Interface feature can be used with a Dynamic NAT configuration or a PAT configuration , but it is not supported with a Static NAT configuration. Not all platforms and Cisco IOS versions since Cisco IOS Release 12.3(14)T support the NAT Virtual Interface feature . Therefore , the ip nat enable command might not be accepted on your device , even though you are running Cisco IOS Release 12.3(14)T or later . 

 

Cisco NAT Fundation

原文:http://www.cnblogs.com/zhnhelloworld/p/5632249.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!