Linux under the Server network card binding operation combat

Source: Internet
Author: User
Keywords nbsp server Inside virtual network
Tags address aliyun configuration file html http ifconfig ip
&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; 1, with the root user login

2, with the ifconfig command to look at the IP address, look at the eth0 and eth1 access to the IP address (because Linux this server is connected to a DHCP server)

View the IP address as eth0 16.157.125.78 eth1 16.157.125.113

broadcast:16.157.125.255 mask:255.255.254.0 (eth0 and Eth1 are the broadcast and mask)

3, edit the virtual network interface configuration file, specify the network card IP

VI/ETC/SYSCONFIG/NETWORK-SCRIPTS/IFCFG-BOND0 Create a virtual network interface configuration file

4, [root@rhas-13 root]# cp/etc/sysconfig/network-scripts/ifcfg-eth0 ifcfg-bond0 ifcfg-eth0 inside the configuration file copied to the ifcfg-bond0 inside

Then use the VI ifcfg-bond0 command to modify the virtual configuration port.

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.