Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

routing on vswitch

$
0
0

Hi Guys,

 

Just trying to to figure out how to get traffic routed between an existing physical subnet and a virtual subnet.

 

The physical is 192.168.2.0/24. My virtual is 192.168.200.0/24. I have VM's in both groups.

 

The default gateway on my esxi host is set to 192.168.2.2 (manageable).

 

Do I need to add a static route on the cisco to route 192.168.200.0 subnet traffic or can I get the vmkernel to do the routing for me? If so, how exactly and where exactly do I do it. I tried esxcfg-route -a on the esxi host, but I didn't have much luck with the results (perhaps an incorrect configuration on my end - you will see in the routing table below).

 

Sorry - I am a first timer, trying my best to digest it all - the whole networking implementation has been the hardest to grasp.

 

subnet-port-group.png

 

Servers 2.x - 192.168.2.0/24 (physical subnet)

Servers 200.x - 192.168.200.0/24 (virtual subnet)

 

Switch NameNum PortsUsed PortsConfigured PortsMTUUplinks
vSwitch0128101281500vmnic0,vmnic6
PortGroup NameVLAN IDUsed PortsUplinks
Servers - 200.x02vmnic0,vmnic6
Servers - 2.x02vmnic0,vmnic6
Management Network01vmnic6
VMkernel Routes:
NetworkNetmaskGatewayInterface
192.168.2.0255.255.255.0Local Subnetvmk0
192.168.200.0    255.255.255.0    192.168.2.2      vmk0<- I added this route (do I need this or can vmkernel handle the routing?)
default0.0.0.0192.168.2.2vmk0

 

Thanks Guys. My head is just about to explode, so I've turned to the forum. Be researching this for the last two day without any definitive answers.


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>