两个VLANS都在工作,从R1到R0的ping也成功地工作了,反之亦然。但是当我从粉红色的PC机切换到蓝色的PC机时,我得到了无法到达的目的地,当我从蓝色的PC机发送到粉红色的PC机时,我得到请求超时的时间。错误在哪里?

SW0配置:
SW0#show running-config
Building configuration...
Current configuration : 1129 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname SW0
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 191.120.128.2 255.255.255.128
!
ip default-gateway 191.120.128.1
!
!
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
!
!
end滚装配置:
R0#show running-config
Building configuration...
Current configuration : 587 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R0
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 191.120.128.1 255.255.255.128
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 191.120.128.193 255.255.255.252
duplex auto
speed auto
!
ip classless
ip route 191.120.128.0 255.255.255.128 191.120.128.194
!
ip flow-export version 9
!
!
!
no cdp run
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
endR1配置:
R1#show running-config
Building configuration...
Current configuration : 634 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 191.120.128.194 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 191.120.128.129 255.255.255.192
duplex auto
speed auto
!
ip classless
ip route 191.120.128.0 255.255.255.128 191.120.128.193
ip route 191.120.128.128 255.255.255.192 191.120.128.193
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
endSW1配置:
SW1#show running-config
Building configuration...
Current configuration : 1133 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname SW1
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 191.120.128.130 255.255.255.192
!
ip default-gateway 191.120.128.129
!
!
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
!
!
end发布于 2021-05-06 20:34:45
R0错过了一条通往子网C的路由,191.120.120.128/26。
R0从粉红色到蓝色,将ICMP错误返回给回送请求发件人,提示消息。R0向相反的方向单击,将ICMP错误返回给回送回复发送方,该发送方没有要通知的用户进程。
请注意,您使用的地址不是私有的,因此连接该网络到Internet会有问题。查看RFC 1918的专用地址范围(192.168.0.0/16、172.16.0.0/12、10.0.0.0/8)。
https://networkengineering.stackexchange.com/questions/73782
复制相似问题