as we know two types of ip are used so here static ip used
DHCP Server (Dynamic Host Configuration Protocol)
According to Microsoft:How to use automatic TCP/IP addressing without a DHCP server"A Windows-based computer that is configured to use DHCP can automatically assign itself an Internet Protocol (IP) address if a DHCP server is not available. For example, this could occur on a network without a DHCP server, or on a network if a DHCP server is temporarily down for maintenance."For more information, see Related Links, below.
Yes, you can.
Static Addressing
If both DHCP server and DHCP client are properly configured, this is true.
Router is usually configured as a DHCP client for WAN (Internet) network and as a DHCP server for local network.
yes DHCP require the authorization of the dhcp server before IP addresses can be allocated because until we authorize DHCP server the network does not know who is the dhcp server for the subnet. The DHCP server broadcasts the information to all.
A DHCP pool is a range of IP addresses that a Dynamic Host Configuration Protocol (DHCP) server can allocate to devices on a network. When a device connects to the network, the DHCP server assigns it an available IP address from this pool, along with other network configuration parameters like subnet mask and default gateway. The pool defines the limits and settings for IP address assignment, ensuring efficient management of network resources.
The device is looking for a DHCP server to obtain a DHCP address.
A DHCP server will privide a client with a valid IP address for the network for which the DHCP server is providing a service.Where there is no DHCP server the IP address for a client must be set manually. When doing this care must be taken to ensure that two IP addresses are not set the same on the network.
router(config)#ip dhcp pool pool nameRouter(dhcp-config)# network x.x.x.x y.y.y.yx being the networky being the subnetOther settings are available for configuration.
Below are the steps how DHCP Client/Server relationship works.IN the network the clicent device requests a packets to DHCP server to login to the network. This Packet known as DHCPDiscover.The DHCP Server receives that packet and in responce it sends a packet to the client, this is called as DHCPOffer. This DHCPOffer packet contains unleased or unused list of IP(Internet Protocol) addresses over the LAN.The DHCP Client receives the DHCPOffer from DHCP Server and responds. This is called DHCPRequest, and this request contains the accepted IP address in the DHCPOffer it received from DHCP Server.Now the DHCP Server receives the DHCPRequest and sends back the DHCPPackets and lets clients to access network.