Cisco Systems

Cisco Routers can be configured to act as DHCP server.

In the following example we’re configuring a DHCP pool called „company“ for the IP adress range to in a /24 subnet. (The example setup uses as default gateway and DNS server.)

The configuration should be quite self explanatory:

ip dhcp pool company
  lease 7
ip dhcp excluded-address 10.1.99
ip dhcp excluded-address

To display all current DHCP leases type:

show ip dhcp binding

If the WAN interface of the router is configured for DHCP (eg. if your ISP provides a dynamic IP address) you can easily import the configuration into your DHCP settings:

ip dhcp import all