User Tools

Site Tools


network_stuff:esxi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
network_stuff:esxi [2018/01/09 10:00] – created jotasandokunetwork_stuff:esxi [2023/11/02 14:38] (current) – external edit 127.0.0.1
Line 1: Line 1:
-sah**NETWORK SHOW**\\+ENABLE SSH. ESXI GUI: [[https://www.experts-exchange.com/articles/28874/HOW-TO-Enable-SSH-Remote-Access-on-a-VMware-vSphere-Hypervisor-6-5-ESXi-6-5.html]]\\ 
 +CHECK VERSION AND LOOK FOR A CHEATSHEET: 
 +  ] vmware -v 
 +  VMware ESXi 6.5.0 build-5969303 
 + 
 + 
 +VM LIST 
 +  esxcli vm process list # List VMs, name , drives, etc etc 
 + 
 +**NETWORK SHOW**\\ 
 +[[https://www.tunnelsup.com/networking-commands-for-the-vmware-esxi-host-command-line/|https://www.tunnelsup.com/networking-commands-for-the-vmware-esxi-host-command-line/]]
   esxcfg-nics -l   esxcfg-nics -l
   Name    PCI          Driver      Link Speed      Duplex MAC Address       MTU    Description                      Name    PCI          Driver      Link Speed      Duplex MAC Address       MTU    Description                   
Line 5: Line 15:
   vmnic1  0000:01:00.1 ntg3        Up   1000Mbps   Full   c8:1f:66:ea:fa:d3 9000   Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet   vmnic1  0000:01:00.1 ntg3        Up   1000Mbps   Full   c8:1f:66:ea:fa:d3 9000   Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet
 \\ \\
-  [root@vmware01-esxi-mgt:~] esxcli network ip route ipv4 list     # vmk0 is physical+See this link for routing: [[https://ryanmangansitblog.com/2013/05/25/configuring-routing-on-esxi-shell/|External Link]
 +  esxcfg-route -l 
 +  esxcfg-route -a default 10.8.8.126 
 +  esxcli network ip # Press Enter and see all the options 
 +  esxcli network ip interface ipv4 get # show IPs 
 + 
 +  esxcli network ip route ipv4 list     # vmk0 is physical
   Network   Netmask        Gateway   Interface  Source   Network   Netmask        Gateway   Interface  Source
   --------  -------------  --------  ---------  ------   --------  -------------  --------  ---------  ------
Line 13: Line 29:
 \\ \\
 NETWORK CONFIG NETWORK CONFIG
 +  nc -z 10.8.8.220 30010 # test vm port
 +  ping 10.8.8.220 
 +\\  
 +  esxcli network firewall get   # firewall management
 +  esxcli network firewall ruleset rule list | grep Inbound
network_stuff/esxi.1515492039.txt.gz · Last modified: (external edit)