CentOS Configuration Multi-nic multi-IP in VMware

Source: Internet
Author: User
One, configure the second NIC 1) "CentOS6.5 Configuration Network" (http://blog.csdn.net/clevercode/article/details/46376985);
How to configure Eth0. This article explains the configuration of eth1 in a virtual machine.


2) First to the eth0:192.168.142.130 virtual machine, add a second network card device. Select the virtual machine, right-click Settings, and add the network adapter.



3) configuration. Configure ETH1 to be an intranet ip:10.107.1.130.

# vi/etc/sysconfig/network-scripts/ifcfg-eth1

device=eth1#hwaddr=00:0c:29:f5:6e:85type=ethernetonboot=yesnm_controlled=yes#bootproto=dhcpbootproto= staticipaddr=10.107.1.130netmask=255.255.255.0ipv6init=nodns1=192.168.142.2


4) Restart the network card.
# Service Network Restart

5) Check the configuration

# ifconfig



Two, configure multiple intranet IP
1) in the same way, eth0:192.168.142.133 virtual machine, configure the second NIC eth1:10.107.1.133.
The 10.107.1.130 and 10.107.1.133 are configured for the same network segment of the intranet IP.

2) in 10.107.1.133 can ping 10.107.1.130.



CentOS Configuration Multi-nic multi-IP in VMware

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.