Linux network configuration in VMware

Source: Internet
Author: User

Environment:
HOST: Windows XP
VMWare Version: 4.5.1
Linux: Red Hat Linux 9

1. View network configuration information in the host
In the CMD dialog box, enter ipconfig to obtain the network configuration of the host (Windows XP), as shown in:

2. Configure virtual machines installed in VMware
In favorites, click your virtual machine, right-click the pop-up menu, and select "Edit ...", As shown in:

Select "Nat" in the "Network Connection" option ".

3. Configure Vmware
Open the "manage virtual networks" dialog box and select the "summary" option, as shown in:

We can see that vmnet8 is a NAT virtual network.

Select the "Nat" option and select vmnet8 as the drop-down box after the vmnet host, as shown in:

The gateway is 192.168.238.2, And the subnet mask (netmask) is 255.255.255.0.

Click "Edit…" next to vmnet host ..." Button to bring up a new window, as shown in:

You can reset the gateway address here. We recommend that you do not change the default value after installation.

4. Configure the Linux Network
Click the Start menu and select "system settings"> "network", as shown in:

The "network configuration" dialog box is displayed, as shown in:

Note: The figure shows that the network is configured. If the network is not configured, the status is displayed as "inactive ".

Double-click the "eth0" Nic under the device. The "Ethernet device" dialog box is displayed, as shown in. Select the static IP address and enter the gateway and subnet mask in "3. Configure VMware, assign another address to eth0: 192.168.238.6.
Click OK to save.

In the "Network Configuration" dialog box, select "DNS" and enter the same DNS as the host (Windows XP), as shown in:

V,After Linux is restarted, open the browser in Linux and enter the URL for testing. So far, the configuration of Linux and host internet sharing in VMware has been completed.

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.