Hi all,
I have recently aquired a new vmware env. For mgmt and vmotion they are on two separate subnets, two separate vswitches. kb 2001426 tells how to set up static routes, however I am getting errors when attempting to add. I am running esxi 5.0 EDIT: 5.0 Update 2
~ # esxcfg-route -a 10.80.2.0 255.255.255.0 10.80.2.254
Adding static route 10.80.2.0 to VMkernel
Error: Duplicate route to network 10.80.2.0/24 found. Please delete the old route first.
So I check the routing, and I only see one entry for the network in question:
VMkernel Routes:
Network Netmask Gateway Interface
10.80.1.0 255.255.255.0 Local Subnet vmk0
10.80.2.0 255.255.255.0 Local Subnet vmk2
169.254.1.0 255.255.255.0 Local Subnet vmk3
default 0.0.0.0 10.80.1.254 vmk0
I attempt to delete this route, however I get the error
Error: Unable to delete route to 10.80.2.0/24 this route is automatically created based on the IP address and netmask of one of the VMkernel TCP/IP interfaces
So I guess I am looking for clarification...what exactly does "Local Subnet" mean when looking at the vmkernel routes? The default gateway for the server is a different subnet, so if the 10.80.2.x route is going thru "Local Subnet", does that mean it's finding it's own subnets gateway? I'm not sure how it is smart enough to do that. I've read other posts where ppl with similar issues are told to check esxtop. I don't see how that would help as all that would tell me is which vmnic is used. If the routing is screwed up then I don't know how esxtop would tell me. Anyway, any help would be great.