I am still at learning level so this my sound stupid, but here it goes.
I have an HP server with 4 nics. the default vmnic0 is attached to vSwitch0 and everything works great. I created another virtual switch (switch2) and configured vmnic1 as upload link. Any VM attached to switch2 won't connect to network. If i change the properties of the VM and connect to vSwitch0 everything work so the problem isn't in the VM operating system. I changed the uplink link for vSwitch0 from vmnic0 to vmnic1 and everything work ok, so it's not an hardware problem. I jumped to the conclusion that my created "switch2" is the problem but i can't seem to pinpoint it; properties of the switches (vSwitch0 and switch2) are the same but maybe i am missing something. Any help is greatly appreciated.