Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We're running a VDI environment with vSphere 4.0 and Oracle VDI 3.2.2 and are having a bit of a problem with users that connect to an IPSec VPN from within their VM. For some reason, once connected to the VPN, the VMWare API returns GuestInfo.ipAddress as the VPN IP rather than the primary IP of the only NIC on the system. The IP address shown in net[0].ipAddress is the correct address and is what vSphere client is reporting.

Is there any way to get VMWare tools to report the net[0].ipAddress as GuestInfo.ipAddress?

Below is sample output from the script. is the example "bad" VPN address that our VDI software is seeing.

VMXFLEX01 guestFamily: windowsGuest
VMXFLEX01 guestFullName: Microsoft Windows XP Professional (32-bit)
VMXFLEX01 guestId: winXPProGuest
VMXFLEX01 guestState: running
VMXFLEX01 ipAddress:
VMXFLEX01 toolsStatus: VMware Tools is running and the version is current.
VMXFLEX01 toolsVersion: 8194
VMXFLEX01 Screen - Height: 600
VMXFLEX01 Screen - Width: 800
VMXFLEX01 Disk[0]: Capacity 42935926784
VMXFLEX01 Disk[0]: Path : C:\
VMXFLEX01 Disk[0]: freespace : 33272619008
VMXFLEX01 net[0] - connected : 1
VMXFLEX01 net[0] - deviceConfigId : 4000
VMXFLEX01 net[0] - macAddress : 00:50:56:95:1f:c9
VMXFLEX01 net[0] - network : VM Network
VMXFLEX01 net[0] - ipAddress :
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.