VLANs are a great tool to manage business networks and VMware knows that very well. We’ll show you how you can configure ESX(i) to tag packets and how to create virtual switches for your VLANs.
First of all, click F2 and access the ESX(i) console to enable VLAN architecture awareness. Select Configure Management Network:
Enable VLAN tagging specifying 4095 as value:
Specify an IP address for the management network adapter:
Define DNS servers:
Press Esc and confirm:
Now your ESX(i) is VLAN architecture aware.
It’s time to launch the vSphere Client. Go to the Configuration tab and click Networking, you can see the management network with the 4095 tag:
Click Properties:
It’s time to remove the VM Network that will be replaced by the VLANs:
Create the VLANs with the IDs specified during the (physical) switch configuration clicking on Add:
Let’s assign the VLANs to the virtual machines:
The final step is to add a second virtual switch using another network adapter. You must specify the VLAN ID of the desired network:
If we try to change the network of the Srv1 virtual machine from SERVER ID 100 to VoIP ID 30, we will see the VM automatically assigned to the second vSwitch:
No comments:
Post a Comment