How to get Guest's IP

Discussions related to using VirtualBox on Windows hosts.
Post Reply
liupengjian
Posts: 20
Joined: 29. Sep 2008, 03:54

How to get Guest's IP

Post by liupengjian »

I am developing a software that needs to remotely login to VBox and get the guest operating system's IP address.

Any way to do that?(BTW, the guest network is in NAT mode)
Thanks
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

You need to change NAT to HIF. Read the manual for how to set it up. HIF stands for Host InterFace.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply