CiscoでDHCP設定(ip dhcp pool)

 05, 2013 10:43
ローカルでDHCP環境が必要になったため、CiscoルータのDHCP機能を有効にしてみました。

<DHCPで配布する情報を設定>
ip dhcp pool client
network 192.168.150.0 255.255.255.0
default-router 192.168.150.1
dns-server 192.168.150.10 192.168.150.11


<配布対象外のIPアドレス範囲指定>
ip dhcp excluded-address 192.168.150.1 192.168.150.30

ここでは19.168.150.1~192.168.150.30をDHCPで配布対象外としています




プロキシサーバの情報も配布できるのかな?と思ってコマンドをざっと見てみましたが、それらしい情報は見当たらず。

Router(dhcp-config)#?
DHCP pool configuration commands:
accounting Send Accounting Start/Stop messages
bootfile Boot file name
class Specify a DHCP class
client-identifier Client identifier
client-name Client name
default-router Default routers
dns-server DNS servers
domain-name Domain name
exit Exit from DHCP pool configuration mode
hardware-address Client hardware address
host Client IP address and mask
import Programatically importing DHCP option parameters
lease Address lease time
netbios-name-server NetBIOS (WINS) name servers
netbios-node-type NetBIOS node type
network Network number and mask
next-server Next server in boot process
no Negate a command or set its defaults
option Raw DHCP options
origin Configure the origin of the pool
relay Function as a DHCP relay
subnet Subnet allocation commands
update Dynamic updates
utilization Configure various utilization parameters
vrf Associate this pool with a VRF

Router(dhcp-config)#exit

COMMENT 0


WHAT'S NEW?