设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 1684|回复: 2
收起左侧

[其他] 求助:Cisco 3640为啥做不了nat?

[复制链接]
发表于 2015-6-11 17:01:45 | 显示全部楼层 |阅读模式
版本是网上下载的:c3640-is-mz.124-10.rar GNS3是最新版的1.3.4;
R2#show ver
R2#show version  
Cisco IOS Software, 3600 Software (C3640-IS-M), Version 12.4(10), RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 16-Aug-06 04:04 by prod_rel_team

ROM: ROMMON Emulation Microcode
ROM: 3600 Software (C3640-IS-M), Version 12.4(10), RELEASE SOFTWARE (fc1)

R2 uptime is 29 minutes
System returned to ROM by unknown reload cause - suspect boot_data[BOOT_COUNT] 0x0, BOOT_COUNT 0, BOOTDATA 19
System image file is "tftp://255.255.255.255/unknown"

Cisco 3640 (R4700) processor (revision 0xFF) with 187392K/9216K bytes of memory.
Processor board ID FF1045C5
R4700 CPU at 100MHz, Implementation 33, Rev 1.2
4 Ethernet interfaces
4 Serial interfaces
DRAM configuration is 64 bits wide with parity enabled.
253K bytes of NVRAM.
8192K bytes of processor board System flash (Read/Write)

Configuration register is 0x2102

配置如下:
R2#show running-config
Building configuration...

Current configuration : 1501 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
no ip icmp rate-limit unreachable
ip tcp synwait-time 5
!
!
ip cef
no ip domain lookup
!
!         
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
ip address 192.168.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly
half-duplex
!
interface Ethernet0/1
no ip address
shutdown
half-duplex
!
interface Ethernet0/2
no ip address
shutdown
half-duplex
!
interface Ethernet0/3
no ip address
shutdown
half-duplex
!
interface Serial1/0
ip address 172.18.1.1 255.255.255.252
ip nat outside
ip virtual-reassembly
serial restart-delay 0
!
interface Serial1/1
no ip address
ip nat inside
ip virtual-reassembly
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
no ip http server
!
ip route 0.0.0.0 0.0.0.0 172.18.1.2
!
ip nat source list 100 interface Serial1/0 overload
ip nat source route-map nat interface Serial1/0 overload
!
access-list 100 permit ip 192.168.0.0 0.0.0.255 any
no cdp log mismatch duplex
!         
route-map nat permit 10
match ip address 100
!
!
control-plane
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
!
end

R2#
现在内网192.18.0.0去访问外网的时候show ip nat tran的时候是空的。



 楼主| 发表于 2015-6-12 11:23:32 | 显示全部楼层
配置错了,ip nat inside。。。。。。。。
沙发 2015-6-12 11:23:32 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2024-5-4 05:38 , Processed in 0.057954 second(s), 11 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

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