古河電工ネットワーク機器の総合ブランド ファイテルネット
古河電工
FITELnetトップ製品ラインナップイベント&セミナーセールス&サポート
Routing to the Future FITELnet
設定例
LAN側でDHCPサーバ機能を使用する設定
全機種対応
説明
プライベートネットワークにDHCPサーバ機能を使ってアドレス情報を配布します。
構成
コマンド設定
interface lan 1
 ip address 192.168.0.1 255.255.255.0
exit
service dhcp-server
ip dhcp pool lan 1
 domain-name xxxxxxx.co.jp
 dns-server 158.0.0.1 158.0.0.2
 netbios-name-server 192.168.0.254 192.168.0.253
 default-router 192.168.0.1
 allocate-address 192.168.0.10 10
exit
end
設定手順
設定内容 画面表示例
特権ユーザモードへの移行
パスワードの入力

設定情報の初期化

設定モードの変更
設定入力








割り当て開始アドレスと個数※



設定保存



装置再起動
Router>enable
Enter password:
Router#
Router#clear working.cfg
Router#
Router#configure terminal
Router(config)#interface lan 1
Router(config-if lan 1)# ip address 192.168.0.1 255.255.255.0
Router(config-if lan 1)#exit
Router(config)#service dhcp-server
Router(config)#ip dhcp pool lan 1
Router(config-dhcp-pool)# domain-name xxxxxxx.co.jp
Router(config-dhcp-pool)# dns-server 158.0.0.1 158.0.0.2
Router(config-dhcp-pool)# netbios-name-server 192.168.0.254 192.168.0.253
Router(config-dhcp-pool)# default-router 192.168.0.1
Router(config-dhcp-pool)# allocate-address 192.168.0.10 10
Router(config-dhcp-pool)#exit
Router(config)#
Router(config)#end
Router#
Router#save SIDE-A
% saving working-config
% finished saving

Router#reset
Going to reset with SIDE-A.frm and SIDE-A.cfg.
Boot-back not scheduled for next boot.
Next rebooting firmware SIDE-A.frm is fine.
Are you OK to cold start?(y/n)y
※割り当て開始アドレスの先頭値(192.168.0.10)、割り当て可能なIPアドレスの個数(10)を設定します。
設定状態の確認

DHCPサーバ機能で配布したアドレス情報を確認します。

確認内容 画面表示例
DHCP サーバ情報を表示 Router#show ip dhcp binding
LAN:
 allocate **:**:**:**:**:** 192.168.0.10 infinity
 allocate **:**:**:**:**:** 192.168.0.11 infinity
 allocate **:**:**:**:**:** 192.168.0.12 infinity
 allocate **:**:**:**:**:** 192.168.0.13 infinity
 arp      **:**:**:**:**:** 192.168.0.14
 allocate **:**:**:**:**:** 192.168.0.15 infinity
 allocate **:**:**:**:**:** 192.168.0.16 infinity
 allocate **:**:**:**:**:** 192.168.0.17 infinity
 allocate **:**:**:**:**:** 192.168.0.18 infinity
 arp      **:**:**:**:**:** 192.168.0.19
allocate・・・アドレス割当端末
arp・ ・・・・既存端末

ページトップへ

All Rights Reserved, Copyright(C) FURUKAWA ELECTRIC CO., LTD. 2011