AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 840571
Accepted
Matt Morrow
Matt Morrow
Asked: 2017-03-26 08:26:08 +0800 CST2017-03-26 08:26:08 +0800 CST 2017-03-26 08:26:08 +0800 CST

Cisco 1811w 路由问题

  • 772

我有一台 Cisco 1811w,我现在只是尝试进行基本配置。我在 fa0 上使用有线互联网 (TWC)(现在只是常规的内部 dhcp,还没有完成桥接)和 fa1 作为内部 10.0.0.0/24

连接到 fa1 的 PC 确实获得了 dhcp 和路由器设置,但无论是在 PC 上还是在路由器中,都无法 ping 通。不知道我做错了什么。

路由器内部的 ping 测试:

Router#ping 8.8.8.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

知识产权信息:

FastEthernet0              192.168.0.5     YES DHCP   up                    up      
FastEthernet1              10.0.0.1        YES NVRAM  up                    down (nothing plugged into 1 at the moment)

运行配置:

Current configuration : 1758 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$NMgE$p0dWLAM1aVTRcqnrIL2Vu1
!
no aaa new-model
!
!
dot11 syslog
!
!
ip cef
no ip dhcp use vrf connectedip dhcp excluded-address 10.0.0.1 10.0.0.10
!         
ip dhcp pool Lan1DHCP
   import all
   network 10.0.0.0 255.255.255.0
   default-router 10.0.0.1 
   dns-server 10.0.0.1 8.8.8.8 8.8.4.4 
!         
!         
!         
multilink bundle-name authenticated
!         
!         
!         
!         
archive   
 log config
  hidekeys
!         
!         
!         
!         
!         
interface Dot11Radio0
 no ip address
 shutdown 
 speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0
 station-role root
!         
interface Dot11Radio1
 no ip address
 shutdown 
 speed basic-6.0 9.0 basic-12.0 18.0 basic-24.0 36.0 48.0 54.0
 station-role root
!         
interface FastEthernet0
 ip address dhcp
 ip nat outside
 ip virtual-reassembly
 duplex auto
 speed auto
!         
interface FastEthernet1
 ip address 10.0.0.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly
 duplex auto
 speed auto
!         
interface FastEthernet2
!         
interface FastEthernet3
!         
interface FastEthernet4
!         
interface FastEthernet5
!         
interface FastEthernet6
!         
interface FastEthernet7
!         
interface FastEthernet8
!         
interface FastEthernet9
!         
interface Vlan1
 no ip address
!         
interface Async1
 no ip address
 encapsulation slip
!         
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 FastEthernet0
!         
!         
no ip http server
no ip http secure-server
ip nat inside source list 101 interface FastEthernet0 overload
!         
access-list 101 permit ip 10.0.0.0 0.0.0.255 any
cisco
  • 2 2 个回答
  • 102 Views

2 个回答

  • Voted
  1. Best Answer
    Mikhail Khirgiy
    2017-03-26T12:13:39+08:002017-03-26T12:13:39+08:00

    @MarkoPolo 是对的。默认网关有问题。但我认为您应该使用默认网关,思科可以通过 DHCP 从您的 ISP 获得该网关:

    ip route 0.0.0.0 0.0.0.0 dhcp
    
    • 2
  2. Matt Morrow
    2017-03-27T22:10:17+08:002017-03-27T22:10:17+08:00

    如果它会帮助其他人,我的配置是:

    version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! enable secret 5 $1$XweJ$NMtNuu/R4emfBU0rpjamg1 ! no aaa new-model ! ! dot11 syslog ! ! ip cef no ip dhcp use vrf connected ip dhcp excluded-address 10.0.0.1 10.0.0.10 !
    ip dhcp pool Lan1DHCP import all network 10.0.0.0 255.255.255.0 default-router 10.0.0.1 dns-server 8.8.8.8 8.8.4.4 !
    !
    !
    multilink bundle-name authenticated !
    !
    !
    !
    archive
    log config hidekeys !
    !
    !
    !
    !
    interface Dot11Radio0 no ip address shutdown speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0 station-role root !
    interface Dot11Radio1 no ip address shutdown speed basic-6.0 9.0 basic-12.0 18.0 basic-24.0 36.0 48.0 54.0 station-role root !
    interface FastEthernet0 ip address dhcp ip nat outside ip virtual-reassembly duplex auto speed auto !
    interface FastEthernet1 ip address 10.0.0.1 255.255.255.0 ip nat inside ip virtual-reassembly duplex auto speed auto !
    interface FastEthernet2 !
    interface FastEthernet3 !
    interface FastEthernet4 !
    interface FastEthernet5 !
    interface FastEthernet6 !
    interface FastEthernet7 !
    interface FastEthernet8 !
    interface FastEthernet9 !
    interface Vlan1 no ip address !
    interface Async1 no ip address encapsulation slip !
    ip forward-protocol nd ip route 0.0.0.0 0.0.0.0 dhcp !
    !
    no ip http server no ip http secure-server ip nat inside source list 101 interface FastEthernet0 overload !
    access-list 101 permit ip 10.0.0.0 0.0.0.255 any !
    !
    !
    !
    !
    !
    control-plane !
    !
    line con 0 line 1
    modem InOut stopbits 1 speed 115200 flowcontrol hardware line aux 0 line vty 0 4 login
    !
    end

    • 0

相关问题

  • 为 Cisco ASA 5510 上的端口 443/80 创建 NAT 规则和安全策略

  • 识别连接到交换机的机器

  • Cisco WS-C6509-E Arp 缓存损坏问题?

  • 广播 SSID 对客户端体验有何影响?

  • DHCP/网络问题

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve