Difference between revisions of "CLI commands for troubleshooting network issues"

From Peter Pap's Technowiki
Jump to: navigation, search
(Created page with "So CLI commands for networking on VMware can be a little bit different. In most cases, commands likde ping and tcpdump are there, but are called something slightly different. The...")
 
 
Line 1: Line 1:
 
So CLI commands for networking on VMware can be a little bit different. In most cases, commands likde ping and tcpdump are there, but are called something slightly different. They usually work the same as their unix counterparts.
 
So CLI commands for networking on VMware can be a little bit different. In most cases, commands likde ping and tcpdump are there, but are called something slightly different. They usually work the same as their unix counterparts.
 
 
  
 
== List all VM Kernel interfaces ==
 
== List all VM Kernel interfaces ==
 
  
 
  esxcfg-vmknic -l
 
  esxcfg-vmknic -l
 
 
  
 
== Ping using a specific VM Kernel Interface ==
 
== Ping using a specific VM Kernel Interface ==
 
  
 
   vmkping -i vmkX XX.XX.XX.XX
 
   vmkping -i vmkX XX.XX.XX.XX
 
 
  
 
== TCP Dump with a specific VM Kernel Interface ==
 
== TCP Dump with a specific VM Kernel Interface ==
 
  
 
  tcpdump-uw -i vmkX
 
  tcpdump-uw -i vmkX

Latest revision as of 03:45, 11 November 2016

So CLI commands for networking on VMware can be a little bit different. In most cases, commands likde ping and tcpdump are there, but are called something slightly different. They usually work the same as their unix counterparts.

List all VM Kernel interfaces

esxcfg-vmknic -l

Ping using a specific VM Kernel Interface

 vmkping -i vmkX XX.XX.XX.XX

TCP Dump with a specific VM Kernel Interface

tcpdump-uw -i vmkX