Похоже, это проблема 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 -> 41.1, 42.1, 42.5, 41.29, а также с google.com. Я пингую с компьютера -> 41.1 42.5, но не могу пинговать 42.1 и google.com.
Почему в настоящее время я не могу выполнить эхо-запрос извне с компьютера? Почему не разрешает трафик с 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
!
!
!
Ну я разобрался. я имел no ip route
, так должно быть ip route
Также были некоторые проблемы со списком доступа, но мне удалось запустить его.