Cisco routers and switches are capable to act as a DHCP server. In the example configuration below is show how this can be configured.
Configuring DHCP:
service dhcp
!
!
interface vlan1
ip address 10.100.0.1 255.255.255.0
!
!
ip dhcp excluded-address 10.100.0.1 10.100.0.99
ip dhcp excluded-address 10.100.0.201 10.100.0.255
!
!
ip dhcp pool pool_vlan1
network 10.100.0.0/24
default-router 10.100.0.1
dns-server 10.100.0.11 10.100.0.12
!
It is possible to configure more IP DHCP pools for different IP ranges. Also can a Cisco device act as DHCP server for network which are not directly connected.
|