思科在这里毫无头绪。我有一个 1921 路由器,它使用子接口连接到多个外部网络,G0/0并且有一个 LAN 网络G0/1:
Interface IP-Address OK? Method Status
Protocol
Embedded-Service-Engine0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/0 unassigned YES NVRAM up up
GigabitEthernet0/0.1 10.10.0.1 YES NVRAM up up
GigabitEthernet0/0.2 10.20.0.2 YES NVRAM up up
GigabitEthernet0/0.3 172.60.74.102 YES NVRAM up up
GigabitEthernet0/1 192.168.2.252 YES NVRAM up up
NVI0 10.10.0.1 YES unset up up
我试图让 LAN 网络192.168.2.0/24网络到达每个子接口上的任何路由。
我试过跑步ip default-network,ip route 0.0.0.0 0.0.0.0 192.168.2.0但他们没有帮助。
每个 LAN IP 地址都可以到达所有外部子网 IP 地址,但无法到达那些子接口可以到达的任何网络。
请问我做错了什么?
我的路由器配置:
ip dhcp excluded-address 10.10.10.1
!
!
!
ip domain name usiswe.com
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
cts logging verbose
!
crypto pki trustpoint TP-self-signed-1652834681
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1652834681
revocation-check none
rsakeypair TP-self-signed-1652834681
ip ssh rsa keypair-name mem.usiswe.com
ip ssh version 2
!
!
!
!
!
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
no ip address
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet0/0.1
encapsulation dot1Q 10
ip address 10.10.0.1 255.255.255.0
!
interface GigabitEthernet0/0.2
encapsulation dot1Q 20
ip address 10.20.0.2 255.255.255.0
!
interface GigabitEthernet0/0.3
encapsulation dot1Q 802
ip address 172.60.74.102 255.255.255.252
!
interface GigabitEthernet0/1
description QriosLAN
ip address 192.168.2.252 255.255.255.0
ip flow ingress
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
no mop enabled
!
ip forward-protocol nd
!
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip nat inside source list 10 interface GigabitEthernet0/1 overload
ip route 172.18.254.90 255.255.255.255 172.60.74.101
ip route 172.26.4.21 255.255.255.255 172.60.74.101
ip route 172.26.90.5 255.255.255.255 172.60.74.101
ip route 172.26.90.6 255.255.255.255 172.60.74.101
ip route 172.26.96.62 255.255.255.255 172.60.74.101
ip route 172.26.96.64 255.255.255.255 172.60.74.101
ip route 172.26.96.74 255.255.255.255 172.60.74.101
ip route 172.26.98.155 255.255.255.255 172.60.74.101
ip route 172.26.98.157 255.255.255.255 172.60.74.101
ip route 172.26.98.167 255.255.255.255 172.60.74.101
ip route 172.26.176.229 255.255.255.255 172.60.74.101
!
!
!
access-list 10 permit 192.168.2.0 0.0.0.255
!
control-plane
!