DHCP service configuration of network devices
First, laboratory equipment
1.eNSP simulator
2. Select the router R1 AR2220, switches S1, S2 select S3700, selected copper cable
Second, the network topological structures
GE0 / 0/0 interface switch S1 is 1. The router R1 Ethernet0 / 0/1 Interface, GE0 / 0/1 interface of router R1 switch S2 Ethernet0 / 0/1 interface.
Ethernet0 / 0/2 interface Market PC1 2. Switch S1 is connected to the switch S2, PC2 finance department Ethernet0 / 0/2 Interface
3. FIG Topology
Third, the experimental procedures
Configuring the DHCP address pool based on the interface
Preparation requirements
1.1 Basic Configuration
The preparation required to configure an IP address, here seen as the switch switcher, not configure the IP address
1.2 DHCPServer function based on interface configuration, DHCP function will go on R1
Dhcp select interface and configure the feature on the R1 GE0 / 0/0 and GE0 / 0/1, on "Interface" DHCP service functions,
Specifies the allocation of IP addresses from the interface address pool.
Interface address pool may be dynamically assigned IP addresses, the range is the network segment where the interface IP address, and only valid in this case the interface,
Using a corresponding interface when assigning network addresses to assign addresses to the client.
1.3-based interface of the DHCP Server lease / DNS server address configuration
Use dhcp server lease command to configure the DHCP address pool server interface on the R1 GE0 / 0/0 and GE0 / 0/1
Lease is valid for two days, the default for the day.
Use command dhcp server excluded ip address command to configure the reserved addresses on R1 GE0 / 0/1 is 192.168.2.250 ~ 192.168.2.253
At this time, the address pool of IP addresses available range
GE0 / 0/0 :: 192.168.1.1 ~ 192.168.2.253
GE0 / 0/1: 192.168.2.1 ~ 192.168.2.249
1.4 under the specified DNS server using the command interface address pool dhcp server dns-list command on the R1 GE0 / 0/0 and GE0 / 0/1, the machine of the market and Finance
Automatically assigned DNS address 8.8.8.8
1.5 Configuring DHCP Client