The implementation of Cisco ios dhcp Server is reflected in many large networks. So today, let's take a look at this part in detail. Nowadays, large networks usually use layer-2 switches for Mbit/s or Gbit/s to switch to the desktop), and divide VLANs on layer-2 or layer-3 switches, then, a layer-3 switch with the line rate routing technology is used to quickly forward data streams between VLANs in the Intranet, so that the entire network can run securely and quickly.
In order to connect to the public network, it is generally necessary to use an indispensable router. At this time, we can enable the DHCP Server function of the router without increasing the investment in the equipment, so that it can serve as a DHCP Server after completing its job.
Considering that Cisco devices are widely used in many large networks, this article describes how to implement the ios dhcp Server function on Cisco devices so that hosts in each VLAN can automatically obtain IP addresses.
Cisco ios dhcp Server implementation step 1: Check whether the device supports the ios dhcp Server function
Generally, Cisco routers or access servers, and a small number of switches installed with the Routing Switching Module or multilayer switching function cards all have the ios dhcp Server function. If you have not confirmed whether your device has this function, you can perform quick detection on the CLI as follows:
Dwzx> enable
Password
Dwzx # config t
'Enter the Configuration Mode
Enter configuration commands one per line. End with CNTL/Z.
Dwzxconfig # ip dhcp ﹖
If the following information appears, it is a pity that your device does not support the ios dhcp Server function:
% Unrecognized command
Before specific configuration, the author first briefly introduces the devices and settings used in this article: The routers used as ios dhcp Server use Cisco 3620, the IP address of the fastethernet0 port connected to the Intranet is 202.115.244.4, the L2 Switch uses Cisco 2924, And the L3 switch uses Cisco 3550-48-EMI. There are three VLANs in the network. To simplify the description, assume that each VLAN uses a 24-bit network address. The IP address of VLAN1 is 202.115.244.254, And the IP address of VLAN2 is 202.115.245.254, the IP address of VLAN3 is 202.115.246.254.