A method and background server for obtaining the IP address of a host machine based on virtualbox
An IP address and host technology, applied in transmission systems, electrical components, etc., can solve the problem of unable to dynamically obtain the host IP address, restart the host repeatedly, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] like figure 1 As shown, a method for obtaining the IP address of a host machine based on VirtualBox includes the following steps:
[0037] S1: Install the subsystem to the host through VirtualBox;
[0038] In this embodiment, the operating system of the host is Windows 2008, VirtualBox is installed in the host in advance, and then the Debian9 release LINUX subsystem is installed in the VirtualBox, and the network connection of the host is set to NAT mode.
[0039] S2: Set the shared folder as automatic mount and fixed allocation in VirtualBox, and store the shared directory and share name in the host;
[0040] Specifically, set up folder sharing in VirtualBox, set it to automatic mounting and fixed allocation, and store the shared directory and share name in the host machine, assuming that the shared directory is d:\soft\share, and the share name is share.
[0041] S3: Add a BAT script to the host, obtain the IP configuration information of the host through the BAT sc...
Embodiment 2
[0060] A backend server for obtaining the IP address of a host machine based on VirtualBox, including a storage and a processor;
[0061] a memory for storing program instructions;
[0062] The processor is configured to run the program instructions to execute the method for obtaining the IP address of the host computer based on the VirtualBox described in the first embodiment.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
