Linux network configuration method running on Windows XP Virtual Machine VMware

Source: Internet
Author: User
Linux system network configuration method running on Windows XP Virtual Machine VMware-general Linux technology-Linux technology and application information. The following is a detailed description. The following method is used to configure static IP addresses in a large LAN;

This is the result of my painstaking efforts!

If you want to access the Internet in linux, but you do not have an ip address, you can set it to NAT connection: Open the VM and click VM> settings> Hardware> Ethernet> networkconnetion> NAT. Click Edit> virtual Network Setting and click NAT. The default value of VMnet8 is Gateway ip address: 192.168.142.2 (142 is different from that of virtual machines. It does not matter, the following 142 is the same as this one); Netmask: 255.255.255.0; and set the NAT service to start. Then, check the network connection of the XP system. You can see the VMnet8 connection ip Address: 192.168.142.1; subnet mask: 255.255.255.0. Next, log on to linux as the root user, click Main Menu> system Settings> network, click device options, and click Edit. A dialog box is displayed, which is checked before the static IP address, fill in the ip Address: 192.168.142.3 (this ip address is set randomly and does not need to be an Internet ip address. It only needs to be in the same network segment as the VMnet8 ip address); set the subnet mask to 255.255.255.0; and set the gateway to 192.168.142.2; DNS: 202.98.18.3 (the DNS here must be the address of the DNS server in your lan. This is the DNS of our school ). Click the file option and select Save. Finally, click device options and Click Activate. Click the file option to exit. It is best to restart. At this time, as long as xp can access the Internet, linux can also access the internet.

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.