bond bond bond

    之前從沒操作過網絡的我,在前不久交付一個產品的時候,客戶竟然網絡都沒打通,沒辦法我只能親自上陣。

#第一個網卡的配置
[root@localhost network-scripts]# cat ifcfg-enp175s0f1
TYPE=Ethernet
BOOTPROTO=none
NAME=enp175s0f1
DEVICE=enp175s0f1
ONBOOT=yes
USERCTL=no
MASTER=bond1contr
SLAVE=yes
#第二個網卡的配置
[root@localhost network-scripts]# cat ifcfg-enp176s0f1
TYPE=Ethernet
BOOTPROTO=none
NAME=enp176s0f1
DEVICE=enp176s0f1
ONBOOT=yes
USERCTL=no
MASTER=bond1contr
SLAVE=yes
# 做bond1
[root@localhost network-scripts]# cat ifcfg-bond1str 
TYPE=bond
BOOTPROTO=none
NAME=bond1str
DEVICE=bond1str
ONBOOT=yes
BONDING_OPTS="miimon=100 mode=1 primary=enp59s0f1"
IPADDR=192.168.146.71
NETMAST=255.255.255.0
GATEWAY=192.168.146.254

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章