跨不同交换机的中继使得

网络工程 转变 VLAN 树干
2021-07-18 10:04:27

我有一台运行 6 个不同 VLAN 的 Dell N3132PX。(192.xxx.xxx.10)

VLAN 2 是我的交换机的管理 VLAN。VLAN 3 是我的 DHCP 网络,为用户运行生产级别。

端口 25(未标记)VLAN 2 PVID 2 是我的带有 DHCP 的服务器运行 Active Directory 和 DNS 的地方。端口 32 是我的中继端口(标记)PVID 1。(据我所知,所有 VLAN 都应该通过这里运行)。

端口 32 中继运行到 Black Box LGB2118A 18 端口交换机 (192.xxx.xxx.13)。此连接在端口 16 中继(标记)PVID 1 上进行。

我在端口 11 和 12 VLAN 2(未标记)PVID2 上插入了 2 台计算机。

问题: 1. Black Box 交换机无法ping 戴尔交换机。2.计算机无法ping通服务器或访问服务器。

我的中继端口设置不正确吗?我已经仔细检查了中继的所有选项和定义,我觉得我可能遗漏了某些东西或某些东西配置不正确。我会将配置发布到问题中,但这里的 websense 阻止我将文件添加到任何网站。如果需要,很乐意添加更多信息。

编辑:添加请求的端口信息:

Port Gil/0/32
VLAN Membership Mode: Trunk Mode
Access Mode VLAN: 1 (default)
General Mode PVID: 1 (default)
General Mode Ingress Filtering: Enabled
General Mode Acceptable Frame Type: Admit All
General Mode Dynamically Added VLANs:
General Mode Untagged VLANs: 1
General Mode Tagged VLANs:
General Mode Forbidden VLANs:
Trunking Mode Native VLAN: 3
Trunking Mode Native VLAN Tagging: 2-4074
Trunking Mode: VLANs Enabled: All
Private VLAN Host Association: none
Private VLAN Mapping:
Private VLAN Operational Bindings:
Default Priority: 0
Protected: Disabled

编辑:将黑板交换机上的 PVID 设置为 2 后,我现在可以从 VLAN2 上的黑盒交换机 ping 戴尔交换机。剩下的问题是我无法通过 VLAN 3 上的交换机 ping 服务器,也无法通过 VLAN 3 上的 DHCP 获得有效地址。这是黑盒设置。此交换机现在具有 CLI。

VLAN 设置 在此处输入图片说明

编辑:插入服务器的戴尔端口 25 的端口信息。

Port Gil/0/25
VLAN Membership Mode: Access Mode
Access Mode VLAN: 3
General Mode PVID: 1 (default)
General Mode Ingress Filtering: Enabled
General Mode Acceptable Frame Type: Admit All
General Mode Dynamically Added VLANs:
General Mode Untagged VLANs: 1
General Mode Tagged VLANs:
General Mode Forbidden VLANs:
Trunking Mode Native VLAN: 1 (default)
Trunking Mode Native VLAN Tagging: Disabled
Trunking Mode: VLANs Enabled: All
Private VLAN Host Association: none
Private VLAN Mapping:
Private VLAN Operational Bindings:
Default Priority: 0
Protected: Disabled

尝试访问 VLAN 3 上的服务器的计算机插入上面黑盒交换机上的端口 9。

2个回答

在与多人交谈后,Black Box 解决了这个问题。

首先在戴尔上,中继端口 32 上的本地 VLAN 需要设置为 1(默认)

在 Black Box 交换机上,需要将中继端口(端口 16)设置为 C 端口,然后必须重新启动交换机。黑盒开关上的 PVID 保持在 2。

特别感谢@RonTrunk 对这个答案的帮助。

VLAN 中继不会自动转发所有 VLAN。必须在中继上激活每个 VLAN。一个 VLAN 可能未标记(本机),所有其他 VLAN 都必须标记。后备箱的两侧必须以相同的方式设置。