VMware Cloud Community
Liksx
Enthusiast
Enthusiast

vmkernel route

Hello!

need help with routes

ESXI

3 ethernet ports

1. vmk0 .1 -> Ethernet ports -> Router .254 - 10.0.0.0\24

2. vmk1 .1 -> Ethernet ports -> Storage .2 - 10.0.1.0\24

3. vmk2 .1 -> Ethernet ports -> Storage .2 - 10.0.2.0\24

how i can configure ESXI routes

from router ( or external network ) connecting to Storage .2 - 10.0.1.0\24 or this Storage .2 - 10.0.2.0\24

problem, default route work for vmk0

and how to work vmk1 and vmk2 communicating with external network, don't know

thanks for help

from router ( 10.0.0.254 ) a can ing vmk1 ( 10.0.1.1 ) and vmk2 ( 10.0.2.1 ) but from vmk1 vmk2 or storage, traffic not passed to external

Reply
0 Kudos
3 Replies
Liksx
Enthusiast
Enthusiast

+ can't ping

esxcli network diag ping -I vmk1 -H 10.0.0.1

   Summary:

         Duplicated: 0

         Host Addr: 10.0.0.1

         Packet Lost: 100

         Recieved: 0

         Roundtrip Avg MS: -2147483648

         Roundtrip Max MS: 0

         Roundtrip Min MS: 999999000

         Transmitted: 3

   Trace:

where vmk1 10.0.1.1 and vmk0 10.0.0.1

VMkernel Routes:

Network          Netmask          Gateway          Interface     

10.0.0.0       255.255.255.0    Local Subnet     vmk0          

10.0.1.0       255.255.255.0    Local Subnet     vmk1          

default          0.0.0.0          10.0.0.254     vmk0

Reply
0 Kudos
Marmotte94
Enthusiast
Enthusiast

Hi,
You can't ping 10.0.0.1/24 with vmk1 (10.0.1.0/24). It Works.

but try « esxcli network diag ping -I vmk1 -H 10.0.1.0 ».

Thank you.

Please, visit my blog http://www.purplescreen.eu/
Reply
0 Kudos
elihuj
Enthusiast
Enthusiast

Are you using a router with the routes defined connected to the host?

Reply
0 Kudos