Dual Nic settings for VMware Linux

Source: Internet
Author: User
Author: fbysss
MSN: jameslastchina@hotmail.com
Blog: blog.csdn.net/fbysss
Disclaimer: This article is original from fbysss. for reprinting, please indicate the source
Keywords: VMWare dual-nic
1. in VMware, edit-> virtual network settings-> host virtual network mapping respectively set vmnet2 and vmnet3 as two NICs on Windows machines. Note: It is recommended that you do not set vmnet0. This is used for automatic bridging.
After setting, open the Network Connection Properties in windows and view the VMware Bridge Protocol of the two NICs respectively. The corresponding numbers are 2 and 3.
2. Stop the VM and set the dual Nic in virtual machine settings. Assume that there is already a nic, click Add to add a nic, select Custom for network connection, and select the corresponding vmnet in the drop-down box. Ensure that both NICs are associated with the corresponding vmnet.
3. Start the VM. Linux detects new hardware during startup and provides the setting interface. Press F12 to go to the next step and set the IP address of the new Nic. (RedHat Linux)
4. Test: in Linux, you can see the configuration of ifconfig and eth0 echo1. In Windows, you can ping the address set in Linux.
Note:
In Linux, make sure that the gateway is set correctly. Otherwise, the gateway cannot be connected to the outside world.
Example:/etc/sysconfig/netscripts/ifcfg-eth0
Bootproto = none
Ipaddr = 222.28.38.17
Netmask = 255.255.255.0
Gateway = 222.33.33.1 ---- If this parameter is not set correctly, the following message is displayed when you ping the host of this segment: destination host unreachable. For other network segments, the message "network is unreachable" is displayed.
Type = Ethernet
Userctl = Yes
Peerdns = Yes

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.