RHEL dual Nic binding

Source: Internet
Author: User
RHEL dual Nic binding add bound Nic File: vi/etc/sysconfig/network-scripts/ifcfg-bond0DEVICEbond0ONBOOTyesTYPEEthernetBOOTPROTOstaticIPADDR192.168.56.101NETMASK255.255.255.0 # GATEWAY19 RHEL dual Nic binding add bound Nic file: vi/etc/sysconfig/network-scripts/ifcfg-bond0DEVICE = bond0ONBOOT = yesTYPE = EthernetBOOTPROTO = staticIPADDR = 255.255.255.255.0 # GATEWAY = 192.168.56.101 # BROADCAST = 10.250.7.255 modify the existing Nic configuration: cp/etc/sysconfig/network-SC Ripts/ifcfg-eth0 ~ /Ifcfg-eth0.bakcp/etc/sysconfig/network-scripts/ifcfg-eth1 ~ /Ifcfg-eth1.bak vi/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE = eth0BOOTPROTO = noneONBOOT = yesUSERCTL = noMASTER = bond0SLAVE = yes vi/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE = eth1BOOTPROTO = noneONBOOT = yesUSERCTL = noMASTER = bond0SLAVE = yes add the system loading parameters: vi/etc/modprobe. confalias bond0 bondingoptions bond0 miimon = 100 mode = 1 mode = 0 load balancing (round-robin); mode = 1 fault-tolerance (active-backup) provides redundancy. Added the system startup loading parameter vi/etc/rc. d/rc. localifenslave bond0 eth0 eth1 # route add-net 172.31.3.254 netmask restart 255.255.0 bond0 enable Nic: ifconfig bond0 192.168.56.101 up Restart Server: reboot checks the status after Nic binding: cat/proc/net/bonding/bond0 ifconfig-EOF-
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.