VMware Cloud Community
DwayneL
Enthusiast
Enthusiast
Jump to solution

Pinging from a specfic NIC

Hello

Could someone tell me the how to ping from a specfic nic on a esx host. I need to test the routing and load balanceing features.

Thanks for any help that is given

-Dwayne Lessner
Reply
0 Kudos
1 Solution

Accepted Solutions
pti_loup
Enthusiast
Enthusiast
Jump to solution

Hi Dwayne!

If the goal is to test your physical network routing behavior, you could create a one-vmnic vswitch, attach it to the vmnic you want to test, create a VM port-group on it, connect a VM to it, and then ping the outside from that VM. That way, you're sure ping packets will take that vmnic to go out... Or simply disconnect the other vmnics if you're using a team. Or use beacon probing...

If you want to test your iscsi array connectivity, then it's a bit different : that's the vmkernel that has to reach the array, not the VMs. Therefore you have to create a vmkernel port on your vSwitch, and then from the Service Console, issue a vmkping to your iscsi array IP address. If it replies correctly, then you're just fine!

Best regards,

Pascal.

View solution in original post

Reply
0 Kudos
3 Replies
DwayneL
Enthusiast
Enthusiast
Jump to solution

I have spanning tree blocking ports and i need to test some on the nics in the team to see if they are able to access my iscsi storage. i can't get findnic to run for me.

-Dwayne Lessner
Reply
0 Kudos
pti_loup
Enthusiast
Enthusiast
Jump to solution

Hi Dwayne!

If the goal is to test your physical network routing behavior, you could create a one-vmnic vswitch, attach it to the vmnic you want to test, create a VM port-group on it, connect a VM to it, and then ping the outside from that VM. That way, you're sure ping packets will take that vmnic to go out... Or simply disconnect the other vmnics if you're using a team. Or use beacon probing...

If you want to test your iscsi array connectivity, then it's a bit different : that's the vmkernel that has to reach the array, not the VMs. Therefore you have to create a vmkernel port on your vSwitch, and then from the Service Console, issue a vmkping to your iscsi array IP address. If it replies correctly, then you're just fine!

Best regards,

Pascal.

Reply
0 Kudos
hstagner
VMware Employee
VMware Employee
Jump to solution

Hello DwayneL,

I just wanted to add that if you are looking to test plain vSwitch connectivity to a Virtual Machine portgroup, I use an Ubuntu Live CD for this (or any other LiveCD) attached to my test VM. Quick way to test networking without having to take up space with a virtual disk. I hope this helps.

Don't forget to use the buttons on the side to award points if you found this useful (you'll get points too).

Regards,

Harley Stagner

----------------------------------------- Don't forget to mark this answer "correct" or "helpful" if you found it useful (you'll get points too). Regards, Harley Stagner VCP3/4, VCAP-DCD4/5, VCDX3/4/5 Website: http://www.harleystagner.com Twitter: hstagner