I am trying to add a VMware ESXi 6.5 host with 3 virtual machines to our network and I am having an issue with the routing.
The network is divided up into several vLans. the two I am using are vlan100 for servers and vlan200 for desktops. There is route between vLan100 and vLan200. Machines on one can see machines on the other.
We are using layer 2 switches and a layer 3 router.
vLan 100 is configured with port 1 tagged and attached to the router. Ports 2-24 are untagged. PVID is set to 100 on all ports
vLan 200 is configued with port 25 tagged and attached to the router. Ports 26-48 are untagged. PVID is set to 200 on all ports
Routes have been added to the router to pass traffic between vLan100 and vLan200
Workstations are all connected to vLan 200 and our servers are connected to vLan100. Using all physical machines i have no issues and everything works fine. I wanted to add a VMware ESXi server on which I have configured 3 servers. I attached it to port 15 and as able to ping it from computers connected to vLan100 but not from vLan200. I tagged port 15 and added vLan100 to the ESXi host with the same results.
How do I get the workstations on vLan200 to communicate the virtual machines on my ESXi host?
![Network layout summary]()
The other option, tag the port as you have vlan100
The segments are separate between the vlans and the rputer is where you would configure the access-list to authorize traffic between the segments since you are using a level 2 switch.
A level 3 switch would have allowed for access-list, vlan rules.
Refreshed, the addition of vlan50 as the feed to the host over which the VMs communicate means the VMs you setup on vlan100 have no path out
In the absence of a trunk feed to the host, use a second Nic from the host and attach it to a vlan100 port
This way, the esx host will be accessible on ip segment configured for vlan50 while VMs will be using the vlan100 feed.
To add throughput, add the remaining three esx host nics into a lag configured ports on the switch allowing for either three gig throu put from the VMs along with redundancy if host Nic or switch port fails, cable disconnect, cable cut.