DHCP transmission principle: 1: the client uses physical broadcast FF: FF and IP
DHCP transmission principle:
1: the client uses the physical broadcast FF: FF and IP broadcast bandwidth 255.255.255.255.2255
2: When the DNS router receives a broadcast packet, it uses the same physical broadcast and IP broadcast to respond. The data frame contains the allocated address information.
3: the client receives a data frame containing the allocated address information and uses physical broadcast and IP broadcast to respond again. Accept the address information to all other hosts.
4: The DNS router receives a response from the client. broadcasting again indicates confirming the client address and declaring all other hosts from which the client is allocated dynamically.
Router DHCP configuration steps
1: enter configure terminal mode, service dhcp (start dhcp service)
2: ip dhcp pool pool_name (determine the network pool to be dynamically allocated)
3: network A. B .C.D net_mask (network segment allocated by the dynamic host)
4: default_gatway A. B .C.D (configure the allocated gateway address)
5: dns_server A. B .C.D (configure the allocated DNS)
Relay DHCP service router configuration
1: enable the relay mode on the port for DHCP service on the relay router.
2: Enter ip helper_address A. B .C.D (the ip address here is the ip address of the DHCP router)
3: configure the dynamic allocation pool according to the DHCP configuration steps.