Cisco

1 DHCP Server
Layer 3 SwitchにてDHCPサーバーを動作させる
例)192.168.1.0/24においてIPアドレスの配布を行う。但し、192.168.1.254は除外、DNSサーバは192.168.2.1、ドメイン名はnetwork.local
Switch(config)# ip dhcp excluded-address 192.168.1.254
Switch(config)# ip dhcp pool dhcp01
Switch(dhcp-config)# network 192.168.1.0 255.255.255.0 
Switch(dhcp-config)# default-router 192.168.1.254
Switch(dhcp-config)# dns-server 192.168.2.1
Switch(dhcp-config)# domain-name network.local


Juniper SSG (ScreenOS)

1 DHCP Relay
ethernet0/2.1のインターフェースにおいてDHCP Relayを利用する。Relay先のIPは172.16.240.254とする。
set interface ethernet0/2.1 dhcp relay server-name "172.16.240.254"
set interface ethernet0/2.1 dhcp relay service
最終更新:2013年12月23日 22:48