CNETOS NIC Bind Eth0 + Eth1 Do dual NIC Bind to BOND0

1. Network card binding: eth0+eth1 do dual network card binding to bond0

Second, network configuration network card binding
1, /etc/sysconfig/network Create an ifcfg-bond0 file in the -scripts/ directory, with the content as follows
DEVICE=bond0
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=192.168.61.149 # ip address
NETMASK=255.255.252.0 #Subnet Mask
GATEWAY=192.168.60.254 # Gateway
BONDING_OPTS=”mode=1 miimon=200″ #mode Network card mode, the following parameters are not clear, do not have spaces in the equal sign

2, modify ifcfg-eth0

DEVICE=”eth0″
ONBOOT=”yes”
BOOTPROTO=none
MASTER=bond0
SLAVE= yes
USERCTL=no

3, modify ifcfg-eth1
DEVICE=”eth1″
ONBOOT=”yes”
BOOTPROTO=none
MASTER=bond0
SLAVE=yes
USERCTL=no

4. Modify /etc/modprobe.d/dist.conf and add
alias bond0 bonding

5. First Execute the following 3 commands
service NetworkManager stop
chkconfig NetworkManager off
modprobe bonding

6, modify /etc/rc.d/rc.local, and add
ifenslave at the end bond0 eth0 eth1 #Network card configuration file-the following content

Applicable to centos7; red hat

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1303 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.