Cisco 1811w 路由問題
我有一台 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
@MarkoPolo 是對的。預設網關有問題。但我認為您應該使用預設網關,思科可以通過 DHCP 從您的 ISP 獲得該網關:
ip route 0.0.0.0 0.0.0.0 dhcp
如果它會幫助其他人,我的配置是:
`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`