未分配 IP 地址的 Vlan

未分配 IP 地址的 Vlan

我有一台 6248 Dell 交换机,创建了以下 VLAN

interface vlan 2
name "ISCSI1"
exit
interface vlan 3
name "ISCSI2"
exit

interface vlan 4
name "CSV"
exit

interface vlan 5
name "LiveMigration"
exit

And have interfaces assigned to the vlan's.

interface ethernet 1/g2
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 2
exit


interface ethernet 1/g3
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 2
exit

interface ethernet 1/g4
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 2
exit


interface ethernet 1/g5
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 2
exit


interface ethernet 1/g6
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 2
exit


interface ethernet 1/g7
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 2
exit


interface ethernet 1/g8
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 3
exit


interface ethernet 1/g9
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 3
exit

interface ethernet 1/g10
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 3
exit

interface ethernet 1/g11
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 3
exit

interface ethernet 1/g12
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 3
exit


interface ethernet 1/g13
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 3
exit


interface ethernet 1/g14
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 4
exit


interface ethernet 1/g15
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 4
exit


interface ethernet 1/g16
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 4
exit

interface ethernet 1/g17
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 5
exit

interface ethernet 1/g18
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 5
exit


interface ethernet 1/g19
spanning-tree disable
spanning-tree portfast
mtu 9216
switchport access vlan 5

但是没有为 vlan 分配 IP 地址,也没有为任何 vlan 分配网络。

我的问题是这些 vlan 是否活跃以及它们如何相互通信?

答案1

在大多数网络模型中,VLAN 都存在于第 2 层。它们不会自动与任何东西通信。它们不执行 IP。由于它没有 IP,我们也可以假设您的设备未配置为第 3 层路由器。如果正在发生通信,则网络上的其他某个设备正在促进通信。如果没有通信,并且您尝试添加它,那么您需要在某个可以看到您需要通信的所有 VLAN 的设备上配置路由功能。

答案2

未声明 IP 地址的 VLan 接口仅在第 2 层起作用。

但是,您需要声明它们才能mode access在物理接口上设置特定的 VLAN。

在实际配置中,您的交换机不会路由任何 VLan。

确保你有另一个定义了网络的路由器(可能是防火墙),以便可以路由你的 VLAN。这个路由器使你的 VLAN 能够相互通信。

相关内容