Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of Host Only+NAT Network configuration under VirtualBox

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the example analysis of Host Only+NAT network configuration under VirtualBox, which has a certain reference value. Interested friends can refer to it. I hope you will learn a lot after reading this article.

Environment

Host Win8 virtual machine Ubuntu wired connection (wireless can choose bridging mode)

Demand

The host and the virtual machine ping each other. The virtual machine accesses the external network.

Steps

1. Open Vbox, select "manage" menu-> "Global Settings"-> Network, and set the parameters of two network cards.

Note: the nat network is used for the "virtual machine" to access the Internet through the network where the "host" is located, but it can not make the host and the virtual machine ping each other; therefore, it is necessary to pull a "virtual twisted pair" (that is, host-only mode) before the two to make the two computers communicate with each other. In addition, the host-only ipv4 address here is to set the ip address of the host in the local area network set up between the two computers (generally set up 192.168.56.XX)

1. Select the specified virtual machine, right-> Settings-> Network

two。 Start the virtual machine and set the static ip address of the second network card in the host-only network

In this way, the network settings can successfully meet the above needs! OK

By the way, the virtual machine needs to be restarted for the network configuration to take effect! Reboot!

Thank you for reading this article carefully. I hope the article "sample Analysis of Host Only+NAT Network configuration under VirtualBox" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report