tiq 发表于 2010-5-5 17:49:53

NAT相关 ip nat outside

本帖最后由 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好看些~

liubq 发表于 2010-5-20 16:41:38

做人要厚道,看帖要回帖!!
主营产品:进口光通讯测试仪器仪表、蓄电池检测类仪器仪表、接地电阻测试类仪表仪器,也可根据您的需要量身定做光源、光功率计产品,欢迎广大新老客户来单订购!
电话:0551-5336618

笨鸟 发表于 2010-6-27 13:35:43

配置有点乱~~~
页: [1]
查看完整版本: NAT相关 ip nat outside