Ubuntu 1604 blance-albリンク集約mode 6

1833 ワード

これはubuntu 16である.04では、重畳帯域幅モードbalance-alb mode=6モード
  • インストールソフトウェア
  • apt install ifenslave
    
  • 編集ファイル/etc/modprobe.d/bond.conf
  • alias bond0 bonding
    options bond0 mode=balance-alb miimon=100
    
  • 起動ロードモジュール、編集ファイル/etc/modules
  • bonding
    
  • 編集ファイル/etc/networko/interfaces
  • 
    auto lo
    iface lo inet loopback
    
    auto enp129s0f1
    iface enp129s0f1 inet dhcp
    
    auto bond0
    iface bond0 inet static
            address 192.168.137.26
            netmask 255.255.255.0
            gateway 192.168.137.1
    
    bond-mode 6
    bond-miimon 100
    bond-slaves ens5f0 ens5f1
    
    auto ens5f0
    iface ens5f0 inet manual
    bond-master bond0
    
    auto ens5f1
    iface ens5f1 inet manual
    bond-master bond0
    
    
  • 構成が完了するとホストreboot
  • を再起動する.
  • 検査帯域幅状況
  • root@ubuntu:~# ethtool bond0
    Settings for bond0:
            Supported ports: [ ]
            Supported link modes:   Not reported
            Supported pause frame use: No
            Supports auto-negotiation: No
            Advertised link modes:  Not reported
            Advertised pause frame use: No
            Advertised auto-negotiation: No
            Speed: 20000Mb/s
            Duplex: Full
            Port: Other
            PHYAD: 0
            Transceiver: internal
            Auto-negotiation: off
            Link detected: yes
    
    
  • ping他の機械が
  • に接続できるかどうかを見てみましょう.
    チュートリアルの終了