作者:乐橙味_367 | 来源:互联网 | 2023-10-12 08:19
linux:etcsysconfignetwork#catifcfg-bond0BONDING_MASTERyesBONDING_MODULE_OPTSmiimon
linux:/etc/sysconfig/network # cat ifcfg-bond0
BONDING_MASTER='yes'
BONDING_MODULE_OPTS='miimon=100 mode=0 use_carrier=0'
BONDING_SLAVE0='eth0'
BONDING_SLAVE1='eth1'
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIOnS=''
IPADDR=''
MTU=''
NAME=''
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCOnTROL='no'
linux:/etc/sysconfig/network # cat ifcfg-eth0
BOOTPROTO='dhcp4'
BROADCAST=''
ETHTOOL_OPTIOnS=''
IPADDR=''
MTU=''
NAME='88E8056 PCI-E Gigabit Ethernet Controller'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='off'
USERCOnTROL='no'
PREFIXLEN='32'
linux:/etc/sysconfig/network # cat ifcfg-eth1
BOOTPROTO='dhcp4'
BROADCAST=''
ETHTOOL_OPTIOnS=''
IPADDR=''
MTU=''
NAME='RTL-8139/8139C/8139C+'
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='off'
USERCOnTROL='no'
PREFIXLEN='32'
linux:/etc/sysconfig/network # cat ifcfg-br0
BOOTPROTO='static'
BRIDGE='yes'
BRIDGE_FORWARDDELAY='0'
BRIDGE_PORTS='bond0'
BRIDGE_STP='off'
BROADCAST=''
ETHTOOL_OPTIOnS=''
IPADDR='172.23.128.1'
MTU=''
NETMASK='255.255.255.0'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='onboot'
USERCOnTROL='no'
本文出自 “云计算与大数据_jxwpx” 博客,请务必保留此出处http://jxwpx.blog.51cto.com/15242/926157