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

The solution of VirtualBoxVM running on Mac and Ubuntu being unable to connect to the network

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article introduces the relevant knowledge of "the solution of VirtualBoxVM running Ubuntu on Mac cannot connect to the network". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Scene replay: because my old-fashioned PC can't afford to record video, I began to learn how to run Mint on a Mac host today. That is, the clone version of ubuntu uses VirtualboxVM to give the new system 30 gigabytes of space. When the development environment is configured in half, the virtual machine is turned on again the next day and is ready to update the software source. As a result, it turns out that none of the software source can be updated (in fact, Ubuntu has hundreds of software sources built in!) Considering that there is no power outage or any international event today, why can't we connect it? as a result, we can imagine that there is no Internet connection.

But the same machine, the same system, the same software, the same configuration, the same order of operation, why did it fall off the net so silently?

So I went to study the network connection.

So I found a network concept NAT that is commonly used in virtual machines.

Wikipedia: NAT: in a computer network, network address translation (Network Address Translation or NAT for short), also known as network masking or IP masking (IP masquerading), is a technique for rewriting the source IP address or destination IP address when an IP packet passes through a router or firewall. This technology is widely used in private networks with multiple hosts but only one public IP address to access the Internet. According to the specification, routers cannot work in this way, but it is indeed a convenient and widely used technology. Of course, NAT also complicates the communication between hosts, resulting in a reduction in communication efficiency.

So the solution:-> Settings-> Network Card 1-> connection mode-- > Network address translation-- > Advanced-> Hybrid mode-- > allow virtual computer-> access to the network cable (ticked)-> OK-> restart the virtual machine-- > Congratulations, you can connect to the Internet. Now.

This is the end of the content of "VirtualBoxVM running on Mac Ubuntu can't connect to the network". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

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

Internet Technology

Wechat

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

12
Report