D-Link DI-3660 [184/506] Configure dhcp client

D-Link DI-3660 [184/506] Configure dhcp client
Command Line Interface Reference Manual
184
ip nat inside destination list a2 pool real-hosts  
!  
interface serial1/0  
ip address 192.168.15.129 255.255.255.240  
ip nat outside  
!  
interface ethernet1/1  
ip address 192.168.15.17 255.255.255.240  
 ip nat inside  
!  
ip access-list standard a2  
permit 192.168.15.1 255.255.255.0
 
5.4 Configure DHCP Client
DHCP (Dynamic Host Configuration Protocol) provides a part of network configure parameters for hosts in internet.
DHCP is introduced in RFC 2131. The most primary function of DHCP in a router is to assign IP addresses to interfaces.
DHCP supports three policies of IP address assignment.
1. Automatic allocation: DHCP server assigns a permanent IP automatically to a certain client.
2. Dynamic allocation: DHCP server assigns an IP to a certain client to use for a certain period, or until the client
gives up the usufruct of this IP itself.
3. Manual allocation: DHCP server manager specifies an IP manually and transmits it to the client through DHCP.
5.4.1 DHCP Applications
DHCP has several applications. When following requests are asked for, it is up to DHCP:
If you want to allocate IP, network segment or some resource (such as corresponding gateway) concerned for an Ethernet
interface, you can implement them through DHCP configuration.
If there is an interface on the router connecting with peer device A through PPP, and another interface can access DHCP,
then you can get an IP address from DHCP server and assign this IP to device A through IPCP.
5.4.2 DHCP Benefits
Current version of the router supports DHCP client. DHCP client is only supported on Ethernet interface, and DHCP
message processing is supported on all types of interface. Use of this function can offer the following benefits:
1. Reduce configure time
2. Reduce configure error
3. Centralize the control of IP addresses of some interfaces on a router through DHCP server.
5.4.3 DHCP Terms
DHCP per se is based on Server/Client structure, so there are DHCP-Server and DHCP-Client existing in DHCP running.
DHCP-Server: The device used to distribute and take back resource concerned with DHCP.
DHCP-Client: The device achieving information like IP address from DHCP-Server and used it on local system.
As described upward, there is a concept of lease time in the dynamic allocation of DHCP information:
Lease Time: A period of validity of an IP resource timed from its allocating. After this period, the corresponding IP

Содержание

Скачать