How do I configure DHCP on a Cisco switch?
When you’re looking to configure DHCP on Cisco routers, Layer 3 and Layer 2 switches, follow these steps:
- Exclude IP addresses from being assigned by DHCP.
- Create a new DHCP pool.
- Define a subnet that will be used to assign IP addresses to hosts.
- Define the default gateway.
- Define the DNS server.
- Define the DNS domain name.
How do I know if DHCP is enabled on a Cisco switch?
Showing DHCP Status
- Problem. You want to display the status of the DHCP server functions on the router.
- Solution. To display the IP address bindings and their associated leases, use the following command: Router1# show ip dhcp binding.
- Discussion. To display the status of the DHCP service, use the show ip dhcp EXEC command.
Why do we use DHCP option 43?
We use DHCP Option 43 to help the AP in obtaining controller ip address from the DHCP server while DHCP request to get an ip address is sent to the DHCP server by the LAP.In addition to offering it an ip address , DHCP server may return one or more controller ip address also to the LAP.
What is Option 60 in DHCP?
Option 60 is used by DHCP clients (LAPs in this case) in order to identify itself to the DHCP server. When we define an option 60 in our DHCP scope in combination with the option 43, We instruct the DHCP server to return the content of option 43 only to those clients that present the right option 60 i.e already configured VCI in the DHCP scope
What is the option 43 sub-option code for the Cisco 1000 series?
As stated, the Option 43 sub-option code for the Cisco 1000 Series APs is type 102 (0x66). Create a new vendor class in order to program the DHCP server to recognize the VCI Airespace.AP1200. In the Server Manager window, right-click the IPv4 icon, and choose Define Vendor Classes. Click Add in order to create the new class.
What is TLV block option 43 in DHCP?
When DHCP servers are programmed to offer WLAN Controller IP addresses as Option 43 for Cisco 1000 Series APs the sub-option TLV block is defined in this way: Type – 0x66 (decimal 102). Length: – A count of the characters of the ASCII string in the Value field.