Ubuntu:雙(多)網卡綁定(bonding)配置


step 0:安裝網卡綁定的功能

apt-get install    ifenslave

step 1:加載內核模塊:編輯 /etc/modules,添加:

bonding

 

 

step 2:編輯網卡配置:/etc/network/interfaces

auto enp0s3
iface enp0s3 inet dhcp

auto enp0s8
iface enp0s8 inet manual
bond-master bond1

auto enp0s9
iface enp0s9 inet manual
bond-master bond1

auto bond1
iface bond1 inet static
bond-slaves enp0s8 enp0s9 bond-mode 1
address 192.168.56.200/24

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM