Home lab. Single host with vcenter. ESX6
I want to have 2 vswitches each going to a different router with different IP subnets. No vm will connect to both. I do not want them to see each other. Is this possible?
I have tried to setup the vswitch that is not for management but still needs vm traffic and it it will not let me set up a separate gateway.
Thanks
I imagine you will have at least 3 subnet
1. subnet1 for management, vCenter and ESXi management VMkernel
2. subnet2 for VM connected to the first router
3. subnet3 for VM connected to the second router
Let say the management subnet is in gateway on router1, subnet2 on router1 and subnet3 on router2
On the default vSwitch0 you will have the management VMkernel, management portgroup for vCenter and a portgroup for subnet2
you can create a separate vSwitch e.g. vSwitch1 with portgroup for subnet3 to router2
How many vmnic/network adapter on the ESXi host?
If you have limited hosts, you can combine all the subnets and portgroup into one vSwitch and use VLANs
You mentioned that you cannot set up a separate gateway, are you referring to VMkernel default gateway?
You don't really need a second VMkernel IP for management with a different gateway unless you want the ESXi to also be reachable from other subnet.
The workload VMs on subnet2 and subnet3 do not need to connect to the ESXi/vCenter management IP to work.
Hi ,
Connect vmnico to one vswitch - > router
connect other two other vswicth -> router
Make one for management
Go to another swicth - > vmkernal / managemnt nw setting -> ip - > edit ther you can assign different gateway
If you have a diagram on what you have and what you would like to achieve, I think that would be helpful
Doesnt let me change it
Is both switch having vmkernel network ?