DbAppWeb.com

Menu
  • Home
  • Linux
  • HP-UX
  • macOS
  • Windows
  • Web Servers
  • App Servers
  • Storage

How to Change the Default Gateway for VMware vSphere ESXi

August 20, 2020 DbAppWeb Admin

Command-line Interface becomes always easy for System Administrators to do their day-to-day job and system configurations tasks. The default gateway for VMware vSphere ESXi can be easily changed through the command line, as shown below:

 

Change the Default Gateway for VMware ESXi

  • Login to VMware vSphere ESXi host as a superuser or root.
  • Run the command esxcfg-route to display the default gateway which is 10.65.26.4.
    [root@dbappweb_esxi:~] esxcfg-route
    VMkernel default gateway is 10.65.26.4
  • To change the default gateway from 10.65.26.4 to 10.65.26.25 run the below command.
    [root@dbappweb_esxi:~] esxcfg-route 10.65.26.25
    VMkernel default gateway set to 10.65.26.25
  • Verify the default gateway, now it has been changed to 10.65.26.25.
    [root@dbappweb_esxi:~] esxcfg-route
    VMkernel default gateway is 10.65.26.25

Last Updated: August 20, 2020

Related Posts

  • Install VMware tools on RHEL through command line
  • Failed to start the virtual machine. Module DiskEarly power on failed.
  • VMware ESXi Host Upgrade from Version 5.5 to 6.5
  • Change Guest OS Version of a VM on VMware ESXi
  • Upgrade VM Compatibility Level of Virtual Machines in VMware ESXi
  • How to find system info, processor info, cache info, memory info etc from ESXi host CLI
  • How to Find IP Address and Route Details in VMware ESXi

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Telegram (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
Prev Article
Next Article
Tags:ESXi Network Admin Network Configuration Network Interface Card Networking Sys Admin VMware

Leave a Reply Cancel Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Popular
  • Recent

Categories

  • Android (2)
  • Blogger (16)
  • Domain and Hosting (1)
  • Hardware Issues (7)
  • HP-UX (55)
  • HPE Data Protector (9)
  • IBM Lotus Notes (2)
  • IBM WebSphere Application Server (16)
  • Internet Tips & Tricks (15)
  • iOS (8)
  • JBoss/WildFly Application Server (2)
  • Linux (76)
  • macOS (15)
  • Microsoft Windows (31)
  • News and Updates (11)
  • Oracle Database (5)
  • SSL/TLS (1)
  • Storage Servers (23)
  • Tools/Softwares (1)
  • VMware ESXi (17)
  • Web Servers (14)
  • WordPress (5)

Archives

DbAppWeb.com

Solution of Database, Application and Web Server Problems

About DbAppWeb.com

One Stop Solution for Database Server, Application Server and Web Server Problems.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

DbAppWeb on Social Media

Copyright © 2025 DbAppWeb.com
Terms and Conditions   Theme by MyThemeShop.com