The NIC binding function can play the role of line redundancy, which is a very useful function
Basic configuration is as follows
Bundled NIC
[ ,null,null,3],Root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0 DEVICE=”bond0″NM_CONTROLLED=”yes”ONBOOT=”yes”IPADDR=192.168.1.2NETMASK=255.255.255.0GATEWAY=192.168 .1.1USERCTL=noBONDING_OPTS=”mode=1 miimon=50″
Note: mode=1 is in active/standby mode, 0 is load balancing mode, and switch segment needs to be port aggregated
member NIC [root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=”eth0″NM_CONTROLLED=”no”ONBOOT=”yes”#IPADDR=192.168.1.2#NETMASK=255.255.255.0 MASTER=bond0SLAVE=yesUSERCTL=no
Member NIC [root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1DEVICE=”eth1″NM_CONTROLLED=”no”ONBOOT=” Yes”#IPADDR=192.168.1.2#NETMASK=255.255.255.0MASTER=bond0SLAVE=yesUSERCTL=no
After the binding is complete, restart Network service (recommended to restart the system)
service network restart
After the network restarts, the bond is as follows, and it has been successfully configured [root@localhost ~]# cat /proc/net/bonding/Bond0 Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)
Bonding Mode: fault-tolerance (active-backup)Primary Slave: NoneCurrently Active Slave: eth0MII Status: upMII Polling Interval (ms): 50Up Delay (ms): 0Down Delay (ms): 0
Slave Interface: eth0MII Status: upLink Failure Count: 0Permanent HW addr: 00:0c:29:ff:3a:81
Slave Interface: eth1MII Status: upLink Failure Count: 0Permanent HW addr: 00:0c:29:ff:3a:8b
The reverse proxy can be divided into two types from the transmission: 1: synchronous mode (apache-
1. Get root privileges without logging in. If you dont set the GRUB password, we can use the easiest
DNS (Domain Name System), a distributed database on the Internet that maps domain names and IP addr
1. Introduction to LVS1. Provide high availability and load balancing capabilities for application s
Linux View Disk IO Status Operation Guide
Linux awk built-in variable introduction
The password security problem of the Linux operating system is detailed.
Awk View the number of ip connections (common application one)
Nginx one-click installation script under Centos
Linux uninstall apache method summary
How to delete data by mode in Redis
Network-based RedHat system unattended installation
How beginners learn Linux system command operations
Rookie Classroom: Several programming languages under Linux that are ignored
Poll&&epoll implementation analysis (a) - poll implementation
In the LAN, Windows 7 system and XP system accessibility visits
Win7 system boot into the welcome interface, there is a black screen solution
Win10 how to use the mouse to call out Charms sidebar
Win10 upgrade policy changes WinXP/Vista upgrade must pay full price
How to simplify the password of the domain controller?
Windows 10 Build 10162 mobile version runs screenshots exposure new wallpaper unveiled
How to change the location of the win7 system temporary folder
Microsoft once again stated that it will provide SSH client
Win10/Android version Microsoft Xiaona evolved and reached a cooperation with Netease Cloud Music
Analysis of the security performance of Win Vista operating system