DHCPのバインディングの構成

DHCPのバインディングの構成

2つのイーサネットインターフェイスを使用してアクティブ - 手動モードでボンディングを使用しようとしています。システムは常に1つ以上のケーブルが接続されているネットワークに接続されることを望みます。 DHCPサーバーを介してシステムを使用できる必要があります。

現在インターネットで有効な回答が見つからないので、今あなたに質問します:)

ピンクプロモーション

ベストアンサー1

~からカーネル文書、この設定は過去に私にとって効果的でした(/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

# Define primary network interface
auto eth0
iface eth0 inet manual
    bond-master bond0
    bond-primary eth0 eth1

# Define secondary network interface
auto eth1
iface eth1 inet manual
    # delay ifup to allow eth0 to come up first in the bond
    pre-up sleep 2
    bond-master bond0
    bond-primary eth0 eth1

# Define master bond interface with link local address.
auto bond0
iface bond0 inet dhcp
    bond-slaves none
    bond-mode active-backup
    bond-miimon 100

おすすめ記事