标签:master star auto 4.0 net gate otp prot pad
vi ifconfig-eth0
BOOTPROTO=‘none‘
STARTMODE=‘onboot
vi ifconfig-eth1
BOOTPROTO=‘none‘
STARTMODE=‘onboot
vi ifconfig-bond0
BOOTPROTO=‘static‘
REMOTE_IPADDR=‘‘
STARTMODE=‘onboot‘
BONDING_MASTER=‘yes‘
BONDING_MODULE_OPTS=‘mode=1 miimon=100 xmit_hash_policy=layer3+4‘
BONDING_SLAVE0=‘eth0‘
BONDING_SLAVE1=‘eth1
vi ifconfig-bond0v1
BOOTPROTO=‘static‘
ETHERDEVICE=‘bond0‘
IPADDR=‘125.88.45.179‘
NETMASK=‘255.255.255.0‘
GATEWAY=‘125.88.45.1‘
STARTMODE=‘auto‘
USERCONTROL=‘no‘
VLAN_ID=‘180‘
vi ifconfig-bond0v2
BOOTPROTO=‘static‘
ETHERDEVICE=‘bond0‘
IPADDR=‘125.88.41.84‘
NETMASK=‘255.255.254.0‘
GATEWAY=‘125.88.40.1‘
STARTMODE=‘auto‘
USERCONTROL=‘no‘
VLAN_ID=‘100‘
vi routes
default 125.88.40.1 - -
125.88.44.0 125.88.45.1 255.255.255.0 bond0v1
标签:master star auto 4.0 net gate otp prot pad
原文地址:https://www.cnblogs.com/chenjunan123456789/p/10475154.html