雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1466|回复: 2

[讨论/求助] cisco 2600路由器配置求教导

[复制链接]
发表于 2012-10-19 17:55:27 | 显示全部楼层 |阅读模式
   我配置了基本的参数,现在可以正常上网,但是在路由器里ping DNS服务器不通,但通过笔记本可以通:

还有就是我想做个映射,从外网222.173.82.66映射到内网192.168.4.200的计算机上,该怎么做啊 ,帮忙看下我的running-config怎么修改?都了半天没整明白!!
代码入下:
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no network-clock-participate slot 1
no network-clock-participate wic 0
no aaa new-model
ip subnet-zero
ip cef
!
!
!
ip dhcp pool yinhe
   network 192.168.4.0 255.255.255.0
   default-router 192.168.4.1
   dns-server 219.147.1.66
   dns-server 219.146.1.66
!
ip name-server 219.147.1.66
ip name-server 219.146.1.66
no ftp-server write-enable
!
!
!
!
interface FastEthernet0/0
ip address 222.173.82.66 255.255.255.252
ip nat outside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.4.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
ip default-gateway 222.173.82.65
ip nat pool yinhe 222.173.82.66 222.173.82.66 prefix-length 30
ip nat inside source list 101 pool yinhe overload
ip classless
ip route 0.0.0.0 0.0.0.0 222.173.82.65
ip http server
!
access-list 101 permit ip 192.168.4.0 0.0.0.255 any
!
line con 0
line aux 0
line vty 0 4
password yinhejituan200602
login
!
!
!
end

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
发表于 2012-10-19 18:49:29 | 显示全部楼层
你的路由器ping不同DNS服务器哦。
外网222.173.82.66映射到内网192.168.4.200,可以做静态的NAT
 楼主| 发表于 2012-10-19 19:02:49 | 显示全部楼层
victor_huang 发表于 2012-10-19 18:49
你的路由器ping不同DNS服务器哦。
外网222.173.82.66映射到内网192.168.4.200,可以做静态的NAT

但是我通过路由器的电脑可以ping通啊,还有我做静态映射,别的内网IP还能上网吗?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-5-18 08:46 , Processed in 0.086965 second(s), 23 queries , Gzip On.

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