How do I configure DHCP on my router?

How do I configure DHCP on my router?

When you’re looking to configure DHCP on Cisco routers, Layer 3 and Layer 2 switches, follow these steps:

  1. Exclude IP addresses from being assigned by DHCP.
  2. Create a new DHCP pool.
  3. Define a subnet that will be used to assign IP addresses to hosts.
  4. Define the default gateway.
  5. Define the DNS server.
  6. Define the DNS domain name.

How do I show DHCP leases on Cisco router?

Showing DHCP Status

  1. Problem. You want to display the status of the DHCP server functions on the router.
  2. Solution. To display the IP address bindings and their associated leases, use the following command: Router1# show ip dhcp binding.
  3. Discussion. To display the status of the DHCP service, use the show ip dhcp EXEC command.

What is DHCP in Cisco?

The Dynamic Host Configuration Protocol (DHCP) is based on the Bootstrap Protocol (BOOTP), which provides the framework for passing configuration information to hosts on a TCP/IP network. DHCP adds the capability to automatically allocate reusable network addresses and configuration options to Internet hosts.

How do I clear a Cisco DHCP lease?

Clearing DHCP Bindings for Subscriber Access

  1. Display current bindings. Issue the appropriate variation of the show dhcp server binding command.
  2. Clear the binding you want to remove. user@host> clear dhcp server binding
  3. Verify that the binding has been cleared.

What is the default DHCP lease time on Cisco router?

The default is a one-day lease.

How do I know if DHCP is enabled on my router?


  1. Go to Control Panel.
  2. View network status and tasks under Network and Internet.
  3. Select Ethernet or Wifi (highlighted in blue), which ever you are connected to.
  4. Click on Details in the window that pops up.
  5. Look to see if DHCP Enabled says Yes.
  6. Then close out of the screens.

How do I clear my DHCP leases?

From the Data Management tab, select the DHCP tab -> Leases tab -> Current Leases. Click the check boxes beside the IP addresses of the leases you want to clear, and then click the Clear Lease icon.

What is IP DHCP snooping?

DHCP snooping is a security feature that acts like a firewall between untrusted hosts and trusted DHCP servers. The DHCP snooping feature performs the following activities: • Validates DHCP messages received from untrusted sources and filters out invalid messages.

How do you flush DHCP?

Type ipconfig /renew at the prompt window, wait for a while, the DHCP server will assign a new IP address for your computer. Press windows key and X key at the same time. Then click at Command Prompt. Type ipconfig /release at the Command Prompt window, press Enter, it will release the current IP configuration.