雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 2851|回复: 3

[讨论/求助] NAT相关 ip nat outside

[复制链接]
发表于 2010-5-5 17:49:53 | 显示全部楼层 |阅读模式
本帖最后由 tiq 于 2010-5-6 16:45 编辑

最近做个NAT试验,参照CISCO文档http://www.cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080093f8e.shtml那个文档做,版本12.4,所有的配置都一样,但是PING结果确是!.!.!.IOS为3950,有兴趣的同学可以也做做看,看看是不是和我一样的现象,另求达人解答个中原理。

贴出SHOW RUN



!
hostname R1
!
!
interface Loopback0
ip address 171.68.1.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 171.68.192.201 255.255.255.0
duplex auto
speed auto
!
ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 171.68.192.202
!






!
hostname NAT
!
boot-start-marker
boot-end-marker

!
interface FastEthernet0/0
ip address 171.68.192.202 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 172.16.191.253 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
ip http server
no ip http secure-server
!
ip route 171.68.1.0 255.255.255.0 171.68.192.201
ip route 171.68.16.0 255.255.255.0 FastEthernet1/0
ip route 172.16.88.0 255.255.255.0 172.16.191.254
!
ip nat pool net171 171.68.16.10 171.68.16.254 prefix-length 24
ip nat outside source list 1 pool net171
!
access-list 1 permit 172.16.88.0 0.0.0.255
!



hostname R3
!

!
interface Loopback0
ip address 172.16.88.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 172.16.191.254 255.255.255.0
duplex auto
speed auto
!
ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 172.16.191.253
!
发表于 2010-5-6 14:33:29 | 显示全部楼层
贴出show run好看些~
发表于 2010-5-20 16:41:38 | 显示全部楼层
做人要厚道,看帖要回帖!!
主营产品:进口光通讯测试仪器仪表、蓄电池检测类仪器仪表、接地电阻测试类仪表仪器,也可根据您的需要量身定做光源、光功率计产品,欢迎广大新老客户来单订购!
电话:0551-5336618
发表于 2010-6-27 13:35:43 | 显示全部楼层
配置有点乱~~~
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-12-23 19:49 , Processed in 0.093421 second(s), 19 queries , Gzip On.

快速回复 返回顶部 返回列表