VMware Cloud Community
bsd1977
Contributor
Contributor
Jump to solution

Observed IP ranges in Virtual Center

Hello all,

Does anyone know a way (or if it can even be done) to refresh the properties of the Network Adapters under the Configuration tab of an ESX host in VirtualCenter? Specifically, I would like to force a refresh of the 'Observed IP ranges' column in this section. I don't see a way to do this in VC so does anyone know if there is a handy command line I can run on the host that will do this?

Thanks,

Bryan

0 Kudos
1 Solution

Accepted Solutions
ian4563
Enthusiast
Enthusiast
Jump to solution

try running the following from the service onsole of the ESX host you're viewing:

/usr/bin/vimsh -n -e "hostsvc/net/refresh"

/usr/bin/vimsh -n -e "internalsvc/refresh_network"

View solution in original post

0 Kudos
3 Replies
ian4563
Enthusiast
Enthusiast
Jump to solution

try running the following from the service onsole of the ESX host you're viewing:

/usr/bin/vimsh -n -e "hostsvc/net/refresh"

/usr/bin/vimsh -n -e "internalsvc/refresh_network"

0 Kudos
bsd1977
Contributor
Contributor
Jump to solution

Thanks, this is what I was looking for.

FYI for everyone, VMware released a wrapper for vimsh in 3.5 called vmware-vim-cmd. It will let you run commands without having to actually get into and out of the vimsh shell.

I found some good white papers on vimsh at www.xtravirt.com if anyone is interested.

Thanks ian4563!

0 Kudos
vcpguy
Expert
Expert
Jump to solution

Hi, I am getting the following error messages, not sure, what is going on...

/usr/bin/vimsh -n -e "internalsvc/refresh_network"

File not found.

Current working directory: /usr/lib/vmware/hostd

HOSTINFO: Seeing AMD CPU, numCoresPerCPU 4 numThreadsPerCore 1.

HOSTINFO: hyperthreading disabled, setting number of threads per core to 1.

HOSTINFO: This machine has 4 physical CPUS, 16 total cores, and 16 logical CPUs.

System libcrypto.so.0.9.7 library is older than our library (90701F < 90709F)

Vmacore::InitSSL: doVersionCheck = true, handshakeTimeoutUs = 120000000

Unsetting unknown path: /vmomi/

Thanks

----------------------------------------------------------------------------- Please don't forget to reward Points for helpful hints; answers; suggestions. My blog: http://vmwaredevotee.com
0 Kudos