« BlueHarvest 0.7.3 (J/E) | メイン | DNS の resolver cache のクリア方法 »
2005年12月 5日
DHCP クライアントの設定方法
DHCP クライアントを設定するには、設定するインタフェースごとに
/etc/hostname.interface_name と /etc/dhcp.interface_name ファイルを作成する。
"interface_name" に DHCP で設定するインタフェース名をを指定する。
DHCP クライアントの設定を hme0 を例とする。
[ 設定 : hme0 の例 ]
1. 設定ファイルの作成
client# touch /etc/hostname.hme0
client# touch /etc/dhcp.hme0
2. 再起動
client# init 6
3. 確認
client# ifconfig -a
lo0: flags=849
inet 127.0.0.1 netmask ff000000
hme0: flags=4843
inet 192.168.1.1 netmask ffffff00 broadcast 192.168.1.255
ether 8:0:20:7d:5f:a2
投稿者 AJ : 2005年12月 5日 18:09
トラックバック
このエントリーのトラックバックURL:
http://www.factory-aj.com/cgi/mtctrl/mt-tb.cgi/201