简体   繁体   English

Cisco Packet Tracer - 当我切换主机端口时,我失去了与交换机的连接

[英]Cisco Packet Tracer - I Lose Connection To Switch When I Switchport a Host Port

I am stuck on this very last little piece of building a fully functioning network.我被困在构建一个功能齐全的网络的最后一小部分。 I am using a Server switch which is connected to two Client switches.我正在使用连接到两个客户端交换机的服务器交换机。

I have set up Vlans and trunked where I needed to.我已经设置了 Vlan 并在需要的地方进行中继。 After thinking I was done (the left side of the network) I noticed the connection between the two Client switches and each of their two corresponding Hosts arent connected.在想我已经完成(网络的左侧)之后,我注意到两个客户端交换机之间的连接以及它们两个对应的主机中的每一个都没有连接。 I have been trying to isolate the problem, and I believe I have.我一直在尝试隔离问题,我相信我已经做到了。

The problem occurs immediately after I type我输入后立即出现问题

:- int f0/4 ( this is port which is conneted to the computer)
:-switchport mode access
:-switchport access vlan 20 ( this port will go into vlan 20 with this command)

Before:前:

After:后:

This happens again is I attempt to switchport access int f0/5 (Host2), and also with int f0/6 and f0/7.这再次发生是我尝试切换端口访问 int f0/5 (Host2),以及 int f0/6 和 f0/7。

You need put more details about the ports you are using in the design.您需要提供有关您在设计中使用的端口的更多详细信息。

Remember you need interconnect the switches using a trunk mode ports and a subinterface tag in the router to enable the intervlan routing.请记住,您需要在路由器中使用中继模式端口和子接口标记互连交换机以启用 intervlan 路由。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM