Get the App
SLTechnology News&Howtos  ›  Servers  › 

Configure virtual machines in workstation to access the Internet using WIFI

Shulou Source: shulou.com Published: 2022-06-02 23:55:21 10月03日 Update

Background

Workstation version: VMware-workstation-full-15.0.4-12990004

Open worktation and open Edit > Virtual Network Editor:

Turn on administrator permissions

Configure NAT Nic, check dhcp, configure subnet and mask:

4. Configure the gateway

5. Open the network center

6. Verify that the VMnet8 network card is enabled and that the IP address is the gateway just configured

7. Configure wireless network card sharing. This machine uses wifi to connect to the Internet.

8. Select VMnet8 network card sharing

9. Virtual machine network is configured as net

10. The virtual machine can access the Internet.

11. After configuring the network, ping www.baidu.com prompts: ping:www.baidu.com:name or service not know

Modify the DNS configuration file: vi / etc/resolv.conf

Added: nameserver 8.8.8.8

Nameserver 114.114.114.114

Tags: Configuration network card network gateway Internet address file wireless wireless card permissions version administrator editor network center background good network subnet local computer interconnection hint Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Docker Xiaomi Apple Shulou Technology