Solaris資料一覧
更新日:2007/7/29
対応ソフトウェア:Solaris 9
IPエイリアスの設定を行うにはifconfigでネットワークインタフェースに:1、:2、:3...を指定する。
例) qfe1にIPエイリアスを定義し、インタフェースはqfe1:1とする。
# ifconfig qfe1:1 plumb # ifconfig qfe1:1 xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx up
IPエイリアスを削除する場合は該当のインタフェースにunplumbを指定する。
# ifconfig qfe1:1 unplumb
例) IPエイリアスの永続設定(ブート時に自動設定)
# echo "xxx.xxx.xxx.xxx <hostname>" >> /etc/hosts # cat <hostname> > /etc/hostname.qfe1:1
(関連)
関連情報(Google検索)
