I'm a VCP and I am working on re-architecting my company's VMware infrastructure. Currently it's a messy bunch of unconnected ESXi hosts. They don't even have vCenter Server. So I have three ESXi hosts connected to a Cisco switch stack. As far as I know, each port the ESXi nodes are connected to set to access mode.
During VCP training, I was repeatedly told that ports connected to ESXi servers should be configured to trunk mode.
I'm not a networking specialist at all, but I need to ramp up those skills for my job. It'll be useful no matter how you cut it.
So here's my understanding of trunking: it makes it so the switch port stops worrying about what VLAN it's configured for, and delegates that control to another device connected to the port, usually another switch, or as would be the case here, a VMware vSwitch.
So if I connect my ESXi nodes to trunk ports and set up the switch to ensure each trunk port has access to every VLAN I might want my VMs to be in, I should be able to do whatever I want with my vSwitches within vCenter, right?
Here's my goal: I don't administer the switches, our colo vendor does, so I need to put in a request with them to do any work on the switches. What I want to do is pick one of my ESXi nodes (4 physical NICs) and tell the colo to configure the 4 switch ports it's connected to to trunk mode.
To put it in practical terms, here's how things are currently set up with this particular ESXi server:
vmnic0 is physically attached to a port with access to VLAN 10.200.1.0/24.
vmnic1 and 2 are teamed and attached to ports with access to VLAN 10.30.10.0/28.
vmnic3 is attached to a port with access to VLAN 10.200.2.0/24.
Those ports can't access any other network than the above.
vmnic0 is bound to vSwitch0, vmnic1+2 to vSwitch1, and vmnic3 to vSwitch2.
If I'm understanding this right, setting the four switch ports to trunk mode, each with access to 10.200.1.0, 10.30.10.0 and 10.200.2.0, will ensure that each vmnic can communicate with each of those three VLANs, and changing the setting should cause no downtime at all in terms of management, VM and storage connectivity.
And once it's all set up, since I don't need three vSwitches, I will merge them all into vSwitch0 and divide traffic within the vSwitch.
So question #1: do I understand trunking right?
Question #2: will my plan outlined above cause any downtime?
Question #3: do I need to mess with the VLAN ID setting in vSphere in order to achieve the desired results? It's currently set to 0. If I need to match the VID of each network on the vSwitch to the VID that network is known as on the Cisco switch, that's fine and it would make perfect sense, but I need to know if I need to worry about it
I hope this makes sense; thanks for reading!
During VCP training, I was repeatedly told that ports connected to ESXi servers should be configured to trunk mode.
I'm not a networking specialist at all, but I need to ramp up those skills for my job. It'll be useful no matter how you cut it.
So here's my understanding of trunking: it makes it so the switch port stops worrying about what VLAN it's configured for, and delegates that control to another device connected to the port, usually another switch, or as would be the case here, a VMware vSwitch.
So if I connect my ESXi nodes to trunk ports and set up the switch to ensure each trunk port has access to every VLAN I might want my VMs to be in, I should be able to do whatever I want with my vSwitches within vCenter, right?
Here's my goal: I don't administer the switches, our colo vendor does, so I need to put in a request with them to do any work on the switches. What I want to do is pick one of my ESXi nodes (4 physical NICs) and tell the colo to configure the 4 switch ports it's connected to to trunk mode.
To put it in practical terms, here's how things are currently set up with this particular ESXi server:
vmnic0 is physically attached to a port with access to VLAN 10.200.1.0/24.
vmnic1 and 2 are teamed and attached to ports with access to VLAN 10.30.10.0/28.
vmnic3 is attached to a port with access to VLAN 10.200.2.0/24.
Those ports can't access any other network than the above.
vmnic0 is bound to vSwitch0, vmnic1+2 to vSwitch1, and vmnic3 to vSwitch2.
If I'm understanding this right, setting the four switch ports to trunk mode, each with access to 10.200.1.0, 10.30.10.0 and 10.200.2.0, will ensure that each vmnic can communicate with each of those three VLANs, and changing the setting should cause no downtime at all in terms of management, VM and storage connectivity.
And once it's all set up, since I don't need three vSwitches, I will merge them all into vSwitch0 and divide traffic within the vSwitch.
So question #1: do I understand trunking right?
Question #2: will my plan outlined above cause any downtime?
Question #3: do I need to mess with the VLAN ID setting in vSphere in order to achieve the desired results? It's currently set to 0. If I need to match the VID of each network on the vSwitch to the VID that network is known as on the Cisco switch, that's fine and it would make perfect sense, but I need to know if I need to worry about it

I hope this makes sense; thanks for reading!