Command of the Day

COTD - DHCP Server Configuration

by Community Administrator ‎06-12-2014 05:59 PM - edited ‎06-12-2014 06:06 PM

If you need to configure a DHCP server in your controller you can use this set of commands.

 

ip dhcp pool "test"

  default-router 192.168.1.1
  lease 1 0 0
  network 192.168.101.0 255.255.255.0
!
service dhcp

changing dhcp gateway and dns

ip dhcp pool "test" dns-server 8.8.8.8
ip dhcp pool "test" default-router 192.168.1.1

 

Of course use you own values for ip pools, gateway, dns, etc...