我正在尝试在两个路由器和第 3 层交换机之间配置静态路由,如下所示 -
路由器 0
interface FastEthernet0/0
ip address 172.17.10.1 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 172.16.10.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip route 172.16.11.0 255.255.255.0 172.17.10.2
!
ip flow-export version 9
三级交换机
interface FastEthernet0/1
no switchport
ip address 172.17.10.2 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/2
no switchport
ip address 172.17.10.5 255.255.255.252
duplex auto
speed auto
!
ip classless
ip route 172.16.10.0 255.255.255.0 172.17.10.1
ip route 172.16.11.0 255.255.255.0 172.17.10.6
!
ip flow-export version 9
路由器 1
interface FastEthernet0/0
ip address 172.17.10.6 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 172.16.11.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip route 172.16.11.0 255.255.255.0 172.17.10.5
ip route 172.16.10.0 255.255.255.0 172.17.10.5
!
ip flow-export version 9
交换机可以ping通所有设备,但路由器不能互相ping通。我在这里做错了什么?