无法使用计算机通过 cisco 2911 连接到互联网

无法使用计算机通过 cisco 2911 连接到互联网

这似乎是一个 NAT 问题,但我完全不知道为什么它无法连接。

Cisco g0/0 192.168.42.5/24 <-> Wireless WAN: 192.168.42.1/24
Cisco g0/0 - shutdown
Cisco g0/2 192.168.41.1/24 <-> Computer: 192.168.41.29/24

设想:

我正在从 Cisco 2911 ping -> 41.1、42.1、42.5、41.29 以及 google.com,我正在从计算机 ping -> 41.1 42.5,但无法 ping 42.1 或 google.com

为什么我现在无法从计算机 ping 外部?为什么不允许来自 192.168.41.0 0.0.0.255 的流量过载 g0/0?:(

version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname TritonCap2911
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 xxx
!
no aaa new-model
memory-size iomem 25
!
no ipv6 cef
no ip routing
!         
!
!         
!
!         
ip name-server 68.105.28.16
ip name-server 68.105.29.16
no ip cef
multilink bundle-name authenticated
!
!         
crypto pki token default removal timeout 0
!         
!
license udi pid CISCO2911/K9 sn FTX1648AKVJ
license accept end user agreement
license boot module c2900 technology-package datak9
!
!         
!
redundancy
!
!         
!
!         
!
!         
interface Embedded-Service-Engine0/0
 no ip address
 no ip route-cache
 shutdown 
!
interface GigabitEthernet0/0
 description TEMP CONN TO WIRELESS
 ip address 192.168.42.5 255.255.255.0
 ip nat outside
 ip virtual-reassembly in
 no ip route-cache
 duplex auto
 speed auto
!         
interface GigabitEthernet0/1
 description LAN TO INTRANET
 no ip address
 ip nat inside
 ip virtual-reassembly in
 no ip route-cache
 shutdown
 duplex auto
 speed auto
!         
interface GigabitEthernet0/2
 description COMPUTER 
 ip address 192.168.41.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly in
 no ip route-cache
 duplex auto
 speed auto
!
!         
ip default-gateway 192.168.42.1
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!         
no ip nat service sip udp port 5060
ip nat inside source list 1 interface GigabitEthernet0/0 overload
ip route 0.0.0.0 0.0.0.0 192.168.42.1
!         
access-list 1 permit 192.168.0.0 0.0.0.255
!         
!
!         
!
!         
!
control-plane
!
!         
!

答案1

嗯,我明白了。我有no ip route,应该是ip route

也存在一些访问列表问题,但我能够运行它。

相关内容