Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ovmcli change ip on guest machine (running Windows XP)

783304Jul 6 2010 — edited Jul 9 2010
Hello,
I'm new to OracleVM but find it very useful.
We had previous expierences with VMWare virtualization in our company
(VMWare server 2.0). It had VMWare tools which included cli (command line interface).

I need to change IP address of Windows XP guest machine.
To be exact: our guest machine is running windows XP, our host is Oracle VM.
We want to change IP from let's say: 10.60.60.200 to 10.60.60.201 on our guest machine running XP.

In WMWare we used:

$command = "netsh interface ip set address LAN static 10.60.60.200 255.255.255.0 10.60.60.1 1";
and a command that fired the action $command:
vmrun -T server -h HOST_IP_ADDRESS -u HOST_USER -p HOST_PASSWORD -gu GUEST_USER -gp GUEST_PASSWORD runScriptInGuest "DATASTORE TEMP/xxx.vmx" cmd /c & $command;

Is there something similar to "runScriptInGuest" or is there any other way to change IP of guest machine in Oracle VM?

I tried to use
ovmcli with:

vm nic conf

but the options don't include changing IP.
As far as I can see there is only:
--serverpool_name
--vm_name
--nic_name
--new_nic_name
--bridge
--rate_limit
--enable_qos
--disable_qos
options available for configuring network interface adapters.

Bert
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 6 2010
Added on Jul 6 2010
2 comments
1,509 views