DHCP

 Edit 0 1

Configuration


config-if# ip address 10.1.1.1 255.255.255.0
config-if# ip helper-address 10.1.2.202 (dhcp relay)

config# ip dhcp exclude-address 10.1.1.0 10.1.1.20
config# ip dhcp pool subnet1
config-dhcp# network 10.1.1.10 255.255.255.0
config-dhcp# dns-server 10.1.2.203
config-dhcp# default-router 10.1.1.1
config-dhcp# lease 0 0 20