パラメータ | 設定値例 | 備考 |
DEVICE | eth0やeth0,eth1,eth2等 | ネットワークデバイスを指定する。 |
ONBOOT | yes | サーバ起動時に該当インタフェースを自動起動する場合はyes |
BOOTPROTO | none | static等でもほぼ同義。dhcpを使うときはdhcpと記載する。dhcpを有効にした場合は/etc/resolv.confが書き変わるとか。 |
IPADDR | xxx.xxx.xxx.xxx | dhcpを使わない場合に固定のIPを振る場合に記載 |
NETMASK | yyy.yyy.yyy.yyy | サブネットマスク |
MASTER | bond番号 | bondingする際にどのbondに属するかを記載 |
SLAVE | yes | bondingする際に記載 |