VMware Linux dual NIC settings

Source: Internet
Author: User

Author: fbysss
Msn:jameslastchina@hotmail.com
Blog:blog.csdn.net/fbysss
Statement: This article by fbysss Original, reprint please indicate the source
Keywords: VMware dual nic
1. In VMware, edit->virtual network settings->host Virtual Network mapping set VMnet2, VMNET3 to two network adapters on the Windows machine respectively. Note that it is best not to set VMnet0, which is used for automatic bridging.
After you have set up, open the network connection properties in Windows, view the VMware Bridge Protocol with two NICs, and see the corresponding number 2, 3.
2. Stop the virtual machine, set the dual network card in virtual Machine settings: If there is already a network card, click Add to add a network card, network connection Select Custom, Drop-down box to select the corresponding vmnet. Ensure that all two network adapters are associated with the corresponding vmnet.
3. Start the virtual machine, Linux will detect new hardware in the boot, provide settings interface, press F12 to enter next, set up a new network card IP address. (RedHat Linux)
4. Test: Linux, ifconfig,eth0 echo1 configuration can be seen, Windows can ping the address set in Linux.
Precautions:
Linux under the IP settings, the gateway must be set correctly, otherwise can not connect with the outside
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 is not set correctly, ping this network segment host will prompt destination host unreachable, other network segments will prompt network is unreachable
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.