I have a ESXI 5.1 which comes with a /29 Block IP (EX. 18.104.22.168/29) and the ESXi management address is frist usable addres 22.214.171.124, also i have a secondary /27 IP block (10.20.30.0/27) which is static routed to the primary (first usable) IP address of /29 (statically routed to 126.96.36.199) , I need to run VM and give them the IP from secondary IP block but i do not know how to do IP forwading in ESXI ! (i already did in KVM virtualization but there is no option like that in ESXI) anyone could help with this ? Thanks
ESXi is meant to only do switching, that's why you have vSwitches. So in a normal application, you'd do the routing externally and just pipe in all networks as tagged traffic to the pNICs, and then assign port groups in the vSwitches with different VLAN tagging. vmkernel adapters are then a different thing, they are the Hypervisors own network adapters inside the virtual network, and these can be assigned to corresponding port groups. What I usually do in cases where I need a router is to install for example pfSense on a VM on the host and do the required L2 plumbing to get what I want. So in your case you'd need to assign a different IP to the host, assign 188.8.131.52 to a router/fw of some sort, virtual or otherwise, and have that VM/physical box do the routing between the networks. For a really basic setup, you could actually use a Windows VM even.