Solutions for VMware's inability to surf the web

Source: Internet
Author: User

Can not be online there may be virtual machine network is not selected good!
The first thing to see is whether you choose Bridge Mode or NAT mode.
Select the bridge mode, the network must have a DHCP server (home router to turn on the DHCP service);
Open Virtual Machine – menu bar edit--Virtual network editor-vmnet0– type: Bridging mode-**

外部链接:这里注意选择自己可以上网的网卡(这里针对于多个网卡)网卡修改在VMnet信息里修改桥接到的网卡
在Windows中使用win键+R(或者开始运行)--输入:cmd  确定ipconfig找到带有默认网关的信息,查看自己的网关;(进入虚拟机)

Nat Mode selected: Open Virtual machine – menu bar edit--Virtual Network Editor-select NAT mode-in the following vmnet information: Nat mode followed by a ' Nat setting ' click to enter;
In the NAT settings there is a network; subnet mask; gateway IP; Here we mainly remember the gateway IP for a while to set the static IP when used;
Go into the virtual machine using Dhclient to get automatic IP, use ifconfig to view IP information, use ping or Cuil to see if you can surf the internet,
Set the static, the gateway is the gateway we just queried; DNS is also the gateway we just found; Restart the NIC: Service network restart; Check again when you can. If not, please repeat the above steps to see where the settings are incorrect;
Adding the settings is correct, you can use Killall dhclient to shut down the IP process obtained by DHCP, and if not, it is recommended to restart the virtual machine.
View virtual Machine Network Edit, preferences there is a network setting below, you can set the bridging and Nat,nat here to emphasize the need to set up a NAT gateway!

DHCP获取不到地址,我们可以先使用killall dhclient禁用几次dhclient!查看是否可以联网,可以通过 ping,netstat -an, ifconfig  ,route ,traceroute,nslook,lsof !

Solutions for VMware's inability to surf the web

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.