我在Eve模拟器上做了一个vlan间的L3交换实验室.拓扑如下所示

这是来自L3开关上的show命令的输出:
Building configuration...
Current configuration : 1422 bytes
!
! Last configuration change at 09:42:06 EET Thu Nov 29 2018
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
!
no logging console
!
no aaa new-model
clock timezone EET 2 0
!
ip routing
!
ip dhcp excluded-address 192.168.20.1 192.168.20.10
ip dhcp excluded-address 192.168.10.1 192.168.10.10
!
ip dhcp pool OfficePool
network 192.168.10.0 255.255.255.0
default-router 192.168.10.2
dns-server 8.8.8.8
!
ip dhcp pool FactoryPool
network 192.168.20.0 255.255.255.0
default-router 192.168.20.2
dns-server 8.8.8.8
!
!
ip cef
no ipv6 cef
!
!
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface Ethernet0/0
switchport access vlan 10
switchport mode access
!
interface Ethernet0/1
switchport access vlan 20
switchport mode access
!
interface Ethernet0/2
switchport access vlan 100
switchport mode access
!
interface Ethernet0/3
!
interface Vlan10
ip address 192.168.10.2 255.255.255.0
!
interface Vlan20
ip address 192.168.20.2 255.255.255.0
!
interface Vlan100
ip address 192.168.100.2 255.255.255.0
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
!
control-plane
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
!
!
end
Switch#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.10.0/24 is directly connected, Vlan10
L 192.168.10.2/32 is directly connected, Vlan10
192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.20.0/24 is directly connected, Vlan20
L 192.168.20.2/32 is directly connected, Vlan20
192.168.100.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.100.0/24 is directly connected, Vlan100
L 192.168.100.2/32 is directly connected, Vlan100
Switch#sh ip int brief
Interface IP-Address OK? Method Status Protocol
Ethernet0/0 unassigned YES unset up up
Ethernet0/1 unassigned YES unset up up
Ethernet0/2 unassigned YES unset up up
Ethernet0/3 unassigned YES unset up up
Vlan10 192.168.10.2 YES manual up up
Vlan20 192.168.20.2 YES manual up up
Vlan100 192.168.100.2 YES manual up up让旁路从L3的上层链路切换到网络云部分。在局域网上,PC机可以通过DHCP获得IP,但我不能从Vlan10到Vlan20 (反之亦然)。

尝试从一个vlan追溯到另一个vlan,似乎L3交换机不能在两个vlan之间进行路由。

请您指出我在这里做错了什么,如何Vlan10可以平到Vlan20。
谢谢你的阅读和帮助。
发布于 2018-11-29 10:36:07
我不能在评论中添加一个屏幕截图,下面是我在这个拓扑中所得到的结果。

https://networkengineering.stackexchange.com/questions/55079
复制相似问题