curioso
Contributor
Contributor

VLAN

Hi,

Are these configuration below is possible?

I have a VM with 2 Virtual NICs adapter allocated on it. First Virtual NIC adapter is connected to VM network 1 with VLAN ID 1 on subnet 10.x.x.x, and the second Virtual NIC adapter is connected to VM Network 2 with VLAN ID 2 and subnet 172.x.x.x. Both VM Networks are on the same Virtual Switch. Now I can ping my first Virtual NIC adapter but I cannot ping the second Virtual NIC Adapter.

Your help would be greatly appreciated.

0 Kudos
2 Replies
esiebert7625
Immortal
Immortal

That should work if you configure it correctly. You need to use port groups and 802.1Q VLAN tagging when using multiple VLANs with a vSwitch. Make sure each port group has a VLAN ID assigned to it. Your physical switch that the NICs are connected to has to support VLAN tagging and be configured that way for it to work. Cisco switches use VLAN1 as the management VLAN so you should not use that unless you have a server that has Cisco management software on it.

Good network reads...

http://www.vmware.com/pdf/esx3_vlan_wp.pdf

NIC teaming and VLAN trunking - http://blog.scottlowe.org/2006/12/04/esx-server-nic-teaming-and-vlan-trunking/

Networking Virtual Machines - http://download3.vmware.com/vmworld/2006/TAC9689-A.pdf

Networking Scenarios & Troubleshooting - http://download3.vmware.com/vmworld/2006/tac9689-b.pdf

vmmeup
Expert
Expert

You should create a trunk on your switch for the two ports that th nics are plugged into and then you should tagg the vlans to the trunk. I also notice that one of your vlans is VLAN ID 1. You should be careful of using ID1 because some switch vendors such as HP use VLAN 1 more switch management by default.

Sid Smith ----- VCP, VTSP, CCNA, CCA(Xen Server), MCTS Hyper-V & SCVMM08 [http://www.dailyhypervisor.com] - Don't forget to award points for correct and helpful answers. 😉
0 Kudos