Linux

bonding

  • Shell
    sudo apt-get update
    sudo apt-get install ifenslave
  • sudo vi /etc/modprobe.d/bonding
    alias bond0 bonding
    options bonding mode=0 miimon=100
  • Shell
    sudo modprobe bonding
    sudo echo bonding >> /etc/modules
  • sudo vi /etc/network/interfaces
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    auto eth0
     iface eth0 inet manual
    
    #NetworkManager#iface eth0 inet dhcp
    auto eth1
     iface eth1 inet manual
    
    auto bond0
    iface bond0 inet static
     address 192.168.1.43
     netmask 255.255.255.0
     network 192.168.1.0
     broadcast 192.168.1.255
     gateway 192.168.1.1
     dns-nameservers 192.168.1.37 192.168.1.1
     dns-search tar3.net
     slaves eth0 eth1
     up ifenslave bond0 eth0 eth1
     down ofenslave -d bond0 eth0 eth1

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2019-02-23 (土) 14:58:09 (60d)