VLAN设置
A Logical Network is a way of representing networks in your datacenter that have the same connectivity properties (DMZ, public network, Intranet , management). The Network Admin needs to tell SCVMM what VLAN ID belong to each Logical Network so the hosts can be configured to indicate the networks they are connected to. If you come from SCVMM v2, Logical Networks replace network locations and take it a step further. SCVMM now allows the administrator to give a logical meaning to each of the VLANs existing in their datacenter.
Logical Network Definitions are each of the items that form a Logical Network. Logical Network Definitions scope the Logical Networks to a specific set of host groups. Logical Network Definitions are composed of Subnet-VLAN pairs. This way you can indicate what VLAN belongs to what Logical Network on each host group. When you make a Logical Network Definition available on a host group, all descendant host groups also have access to the Subnet-VLAN pairs defined in the Logical Network Definition.
Why do subnet and VLAN come together in pairs?
The VLAN id is used to know what VLAN to use when connecting a Virtual Machine to the network on the host. This is the physical configuration for a specific virtual network adapter.
The subnet is the IP subnet that is linked to the specified VLAN ID. The subnet is an optional parameter. The subnet is needed by SCVMM to configure static IP addresses during virtual machine creation.
When SCVMM creates a virtual machine and connects it to a specific VLAN ID according to the Logical Network configured on the virtual machine hardware properties , SCVMM knows that the IP to set on the virtual machine should be within the subnet specified.
What different combinations are allowed and when to use them?
Empty subnet
- Use this configuration when you want all your virtual machines to be configured using DHCP
- Only 1 entry per VLAN ID per Logical Network Definition
- Can be configured on different Logical Networks on the same host group at the same time
Subnet with value
- Subnets have to be unique within a host group hierarchy across all Logical Networks
- A subnet can be duplicated as long as the host group branches where they are applied are completely separated
This configuration can be used when you reuse private IP addresses across different locations
- You can configure different subnets to the same VLAN ID.
- This enables having IPv4 and IPv6 subnets defined on the same subnet.
- If you have different subnets sharing the same VLAN ID, although it is not recommended, it is supported
What is VLAN 0?
VLAN 0 means you want VLAN disabled. Use this setting when you don’t care about VLAN IDs.
Normally this means you have your hosts configured on Access mode.
如果只输入VLAN ID,IP subnet为空,则会启用DHCP,而不会使用静态IP。
如果只输入IP subnet,则VLAN ID会自动添加 0,标识该子网不会应用VLAN,会使用主机网络适配器的模式
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?