VMware Cloud Community
Hammer8
Contributor
Contributor

ESXi Upgrade and host internet access

Hi, I am trying to upgrade my install using this command:

esxcli software profile update -p ESXi-6.7.0-20190802001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

However, when I try it, it hangs / timesout because I don't have internet access.  I also can't ping external addresses such as 8.8.8.8.  I can, however, ping local addresses such as 192.168.1.1

I have also tried to disable to firewall using esxcli network firewall set --enabled true and that also did not solve the issue

Would someone be able to help me enable internet access from my host so I can run the upgrade command?

Thank you!

0 Kudos
5 Replies
tayfundeger
Hot Shot
Hot Shot

Why not upgrade with the offline bundle? Instead of dealing with this, download the offline bundle and upgrade it.

https://www.vladan.fr/upgrade-esxi-6-x-to-6-7-via-cli-two-methods/

--
Blog: https://www.tayfundeger.com
Twitter: https://www.twitter.com/tayfundeger

vBlogger, vExpert, Cisco Champions

Please, if this solution helped your problem, "Helpful" if it solves your problem "Correct Answer" to mark.
0 Kudos
Hammer8
Contributor
Contributor

I'm using the free version at home and don't have access to the offline method....any thoughts on how to get the other method to work?

Thank you!

0 Kudos
NathanosBlightc
Commander
Commander

Are you sure about the internet connectivity configuration of your ESXi host? You don't speak about the TCP/IP Stack of the host's VMkernel. what is the DNS server & Default gateway settings of your host? Did you check them before to try access to the internet?!

However, you can update the host manually by offline ISO/ZIP files as the procedure tayfundeger said before with ESXCLI

Please mark my comment as the Correct Answer if this solution resolved your problem
0 Kudos
Hammer8
Contributor
Contributor

Thank you.  This is a brand new install with no changes to the initial configuration.  So I guess my question is how do I enable internet access at the host level?  My vm’s have internet access so that part is working correctly.

I might not understand, but since this is the free version of EsXi, I’m under the impression that the offline upgrade method is not available to be since I can’t download the update files...

In the link, it says “The offline bundle is a file which is available for paid customers only. Free ESXi users do not have an access to this download.”

0 Kudos
NathanosBlightc
Commander
Commander

However, you need to an evaluated (or commercial) versions of ESXi for supporting upgrade files and also a VMware account to register your evaluated ESXi to get access to the download link

how do I enable internet access at the host level?  My vm’s have internet access so that part is working correctly

You must set the TCP/IP Stack on your vmKernel adapter to provide VMKernel gateway for internet access and DNS server IP addresse to name resoliton. (host configuration, TCP/IP Config, Default in vSphere Web Client HTML5)

Your VM maybe recieves internet access via leased options of an automatic IP address provided by DHCP

Please mark my comment as the Correct Answer if this solution resolved your problem
0 Kudos