Hello.
I am using ESXi 6.7 and i don't have internet connection on my VM. My virtual switch looks like this :
And i tried to configure VM with this static ip :
What is wrong? Static IP configuration is ok?
Right now the VM is connected to network3 (which is not a VMKernel):
I also tried VM Network, same thing.
This is the Adapter Type i use. What would be the recommended one?
Where can be the problem?
the vm default gateway points to a vmkernelport (vmk2) which is also in a different vlan - that cannot work.
Then how should i configure in windows VM ? I don't know in what subnet the VM might be.
You need to look at whatever device upstream is providing your routing.
--Alan--
Why have you set the default gateway of the Windows OS to be the IP address of the VMkernel port vmk2, which is in VLAN 5?
Which VM is the console of - test1 or test2_win? Either way, those VMs are in different VLANs to vmk2, even if you could use the VMkernel as a router (which you can't)
Your setup is a bit of a mess...
Why have you set the default gateway of the Windows OS to be the IP address of the VMkernel port vmk2, which is in VLAN 5
I tried a lot of them, i don't know in what subnet my VM is.
Which VM is the console of - test1 or test2_win? Either way, those VMs are in different VLANs to vmk2, even if you could use the VMkernel as a router (which you can't)
i work on test2_win, yes VMkernel cant be used, no matter what
Your setup is a bit of a mess...
I just created new networks, because on "VM Network" i don't have internet either, what can i do?
You need to understand which broadcast domain (and therefore IP subnet) is accessible to the network cards in your physical server, and how internet access is obtained from that network (or networks)
If you can’t work that out, nobody here is going to be able to say definitively what you need to do.