i have ESXI5.1 with 1 NIC, however i want to create two VLAN's 20 and 10, and want them to be seperated for test purposes,
i've created a Vlan Trunk 4095 and vSwitch for Vlans 10 and 20,
the problem is now when my Machines are connected on the Vlan 10 or 20, they can contact my Physice network which is behind the ESXI NIC,
can someone please advise how to do this? or i do i need extra NIC ?
You'd need to trunk the VLANs you need to the NIC on your ESXi (in this case 10 and 20), plus make sure you keep your management network available. Apart from this you'd need to create 1 port group for each VLAN on the ESXi vSwitch and add the VLAN ID to each.
It should work this way.
Totally possible with one or multiple NICs. Just make sure you configure the port on your switch where the NIC is connected to with the right VLANs you want to use on the vSwitch.
if i do this all Vlans will be able to communicate with my Physique network?
my laptop 192.168.2.106
ISP router 192.168.2.254
Database Server 192.168.10.2
Yes, just make sure you trunk all the right VLANs to that NIC, and that you have the correct config on the physical switch and on your VMs (like the right GW for the different subnets, etc).
thank you for your help,
i can ping the physique network from both Vlan's, however from the Physique network i can't ping the Vlan's,
what i am doing wrong?
i can ping 192.168.2.106 from Vlan 4 and 5
i can't ping Vlan 4 and Vlan 5 VM from the 192.168.2.xx