This is a post about using the VMKping command on ESXi, something that each time i’m using it i have to double check i have the command correct. (-s & -d are key for me)
Some examples
(1) Basic ping command: vmkping x.x.x.x
(2) Ping command out of a certain vmk interface: vmkping -I vmk1 x.x.x.x
Command to list vmk interfaces: esxcli network ip interface ipv4 get
(3) Ping command out of a certain vmk interface, with a set packet size: vmkping -I x.x.x.x -s 1472
(4) Ping command out of a certain vmk interface, with a set packet size, do not fragment: vmkping -I vmk1 192.x.x.x -s 1472 -d
(5) Ping command out of a certain vmk interface, with a set packet size, do not fragment, set packet count: vmkping -I vmk1 192.x.x.x -s 1472 -d -c 200
Leave a Reply