取消
显示结果 
搜索替代 
您的意思是: 
cancel
8669
查看次数
74
有帮助
13
回复

帮忙看下路由器的配置有没问题,现在上不了外网

lxjun
Level 1
Level 1
cisco2800#show run
Building configuration...
Current configuration : 1293 bytes
!
version 15.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco2800
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$hruE$Y2wWTa/sfL1TrrqupYY7n.
enable password cisco@2014
!
no aaa new-model
ip source-route
no ip routing
!
!
!
!
no ip cef
multilink bundle-name authenticated
!
!
!
license udi pid CISCO2801 sn FHK1330F14U
!
!
!
!
!
!
interface FastEthernet0/0
ip address 172.16.100.1 255.255.255.252 (此处下面是接一
台开通了路由功能的三层交换机,现在测试是用此端口直接连接
的电脑,应该没问题吧
。)
ip nat inside
ip virtual-reassembly
no ip route-cache
speed auto
full-duplex
no mop enabled
!
interface FastEthernet0/1
ip address 183.235.163.38 255.255.255.252
ip nat outside
ip virtual-reassembly
no ip route-cache
duplex auto
speed auto
!
interface FastEthernet0/3/0
no ip address
no ip route-cache
shutdown
duplex auto
speed auto
!
interface FastEthernet0/3/1
no ip address
no ip route-cache
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
!
!
no ip http server
ip nat inside source list 1 interface FastEthernet0/1
overload
ip route 0.0.0.0 0.0.0.0 183.235.163.37 (此ip是服务商给的IP的网关,不知道填错没。
!
access-list 1 permit any
!
snmp-server community public RO
!
control-plane
!
!
line con 0
password flylink
login
line aux 0
line vty 0 4
password cisco@2014
login
!
scheduler allocate 20000 1000
end
1 个已接受解答

已接受的解答

baiyunhu75
Level 1
Level 1
no ip routing
把no去了

在原帖中查看解决方案

13 条回复13

baiyunhu75
Level 1
Level 1
no ip routing
把no去了

ssdi
Level 1
Level 1
看起来没有问题,会不会是你的DNS有问题,

suzhouxiaoniu
Spotlight
Spotlight
下面的三层交换机是做2层用还是三层用,如果是三层,也要配置默认路由,如果是2层,要看VLAN配置,以及客户端网关设置是否正确

764963038cisco
Level 1
Level 1
你这肯定不行啊,你这没做NAT啊

baiyunhu75
Level 1
Level 1
楼上的,眼神不好!

pebao
Cisco Employee
Cisco Employee
ip nat inside source list 1 interface FastEthernet0/1 后面加上overload, 不加overload只有一台PC可以做NAT。

lxjun
Level 1
Level 1
呵呵,路由器初始化,忘记 no ip routing 了

suzhouxiaoniu
Spotlight
Spotlight
lxjun 发表于 2015-11-6 16:14 back.gif
呵呵,路由器初始化,忘记 no ip routing 了

这个路由器上默认no ip routing 开启了?

Dream漂移
Level 1
Level 1
我是来学习的

492396002
Level 1
Level 1
:) 不明觉厉

loving
Level 1
Level 1
学习一下。。

one-time
Level 13
Level 13
492396002 发表于 2016-3-30 13:45 back.gif
不明觉厉

期待小伙伴的回复哦!:)

yang0716
Level 1
Level 1
好棒b( ̄▽ ̄)d
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接