Centos Nic configuration experience on vmware

Source: Internet
Author: User

A network card configuration experience in centos on vmware encountered a problem with the network settings of a linux virtual machine. The record is as follows, which is also used for reference by students with the same experience. The purpose is to configure the network interface of the Bridge Mode on vmware9 + centos5.8. The environment is installed with vmware9 on win7 and runs the centos5.8 Virtual Machine on vmware9. The win7 network uses the wireless network shared by other machines (win7 + Connectify ). An error occurs when the eth0 Nic of centos5.8 is activated using dhcp (Dynamic IP address is automatically obtained) after the network connection mode of centos5.8 is changed to Bridged. Because the error message is that the gateway cannot be pinged directly, my focus is to ping the centos5.8 host to the gateway. Find a way to go online and find an article. Then, check the NIC settings of the host. In the event that the host cannot be pinged to the gateway, or even other hosts in the LAN cannot be pinged. The cause is no solution, it is suggested that the Connectify software imposes some restrictions to prohibit ping to the gateway and other hosts in the LAN. Failed and helpless... Why can I use the same Nic configuration to enable the VM to access the Internet when the win7 host is able to access the Internet (or dynamically obtain IP addresses? You can use ipconfg to view the wireless network card configuration (Ip address, mask, and gateway) of the win7 server and assign another IP address of the same network segment to the VM, with the same mask and gateway, the virtual machine can restart the network card, or ping a hundred-degree domain name (you can access the internet). This problem has been inexplicably solved. Summary: Analysis + bold attempts in this environment, static IP addresses need to be configured (Dynamic IP addresses need to be pinged to the gateway, but cannot be pinged to the gateway)

Related Article

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.