Static IP to Windows XP Guest From Host CommandLine

Discussions related to using VirtualBox on Windows hosts.
Post Reply
AnshumanPT
Posts: 14
Joined: 18. Nov 2012, 18:05

Static IP to Windows XP Guest From Host CommandLine

Post by AnshumanPT »

I have 10 Guest OS running on Windows XP with Windows 7 as Host Machine.

All 10 Guest are running on Bridged Mode, so that anyone from outside Host can talk to them.

There is a requirement I have to change the IP address of Guest OS after a few days.

Is this possible by going to host and use vBoxManage.exe for the same? I dont want to go inside each guest and manually assign an IP address to each Guest OS.

Please help me if some one knows how to assign IP address to all the Guest OS by Command line from Host Command Prompt (using vBoxManage.exe).
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Static IP to Windows XP Guest From Host CommandLine

Post by noteirak »

The only way to do this from the host would be using vboxmanage guestcontrol.
The BEST way to do this would be with a script in the guest or any kind of remote control console.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
jorgensen
Posts: 589
Joined: 20. Oct 2009, 01:22
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows

Re: Static IP to Windows XP Guest From Host CommandLine

Post by jorgensen »

An alternative is to use an advanced router or managed switch with DHCP assignment.
Then you can use a script to change the settings for IP assignment.
Post Reply