ubuntu12.04 雙網卡綁定


UBUNTU下雙網卡綁定非常簡單,使用以下步驟:

1.安裝軟件 
apt-get install ifenslave

 

2.修改配置文件 
/etc/network/interfaces 
auto lo 
iface lo inet loopback

iface eth0 inet dhcp 
iface eth1 inet dhcp

auto bond0 
iface bond0 inet static 
address 64.0.177.20 
netmask 255.255.255.0 
gateway 64.0.177.254 
up ifenslave bond0 eth0 eth1 
down ifenslave -d bond0 eth0 eth1

 

3.加載模塊 
vi /etc/modules 
bonding

4. 重啟

5.檢查 

cat /proc/net/bonding/bond0

完成!

 

轉自 http://www.gaojinbo.com/ubuntu%E5%8F%8C%E7%BD%91%E5%8D%A1bonding%E9%85%8D%E7%BD%AE.html


免責聲明!

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



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