router (config)# ip dhcp servicerouter (dhcp-config)# ip dhcp pool router (dhcp-config)# network
DHCP uses the clients MAC address to determine the IP address a client receives.
DHCP server must be assigned a static IP address...On a Windows computer you can find out the IP address of the DHCP server that assigned your current IP address by opening a command prompt and typing "ipconfig /all".
DHCP - Automatically provides client computers and other TCP/IP-based network devices with IP addresses
DHCP stands for Dynamic host configuration protocol. DHCP is a piece of the TCP/IP protocol suite that handles the automatic assignment of IP addresses to clients.
By using a router with DHCP turned on in the router
In the LAN, its recommended to use DHCP because of the following two big reasons.Reliable IP address configuration: Using DHCP minimizes the human error caused while manual IP address configuration.Reduced Netwok Administration:Centralized and Automatic TCP/IP configurations.The ability to assign a full range of additional TCP/IP configuration values by means of DHCP options.
In case dhcp is failed then your ip address should start at 169.254.x.x (APPA IP) . Solution is that you have to put manually ip address to that system.
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.
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, one can configure two dhcp server on a same network. But for doing this, one has to define different scopes in both dhcp server in order to avoid ip address conflict. Eg. one can configure a scope for a lan with network address of 10.0.0.0 as- 10.0.0.10- 10.0.0.100 in one dhcp server. while other scope would be 10.0.0.101-10.0.0.200 . In this way we can have to dhcp servers on a same network. Which ever dhcp server receives the request for the ip address will provide the ip address. IN case for servers, one can use mac bindingin both servers so that they obtain same ip address
IP addresses are assigned by DHCP servers, not by routers. DHCP servers will cache your IP address and reassign the same IP until the cache is cleared. ----