Ah, a happy little question! Private IPs are used within a closed network, like your home, to communicate between devices. DHCP IPs are assigned by a router to devices on the network, so they can connect to the internet. Both work together to create a peaceful harmony in your digital world.
You have to install a router with a DHCP server option on. In that way the public address will be assign to the router and your PC will get a private ip address from the DHCP server.
It's called APIPA (automatic private ip addressing).
Automatic Private IP Address was basically made so that clients which could not get an IP address automatically from a DHCP server could configure its own Private IP address until it can obtain address from the DHCP server which will override the APIPA and become the new IP address.
Nothing. That is not a valid IP address as its stands however ip addresses with the first 2 octets of 169.254.xxx.xxx means that Automatic Private IP Addressing has been enabled because no DHCP server was found and no static address has been defined.
Dhcp is Direct host configure protocol. This is used to assign IP address Automatically. In a Domain Environment we must need IP Addresses to communicate with one machine to another to access the resources, their are mainly two ways to configure a IP in a system One is static or manual IP and other is Dynamic or Automatic IP. So DHCP help us to configure an IP Address Dynamically.(Network+ Guide to Networking answer)BOOTP relies on a static table to associate IP addresses with MAC addresses, whereas DHCP does not
A public IP address is assigned to you by your Internet Service Provider while your private IP is assigned to you by your internal router. You can loacte your public IP address on LocatedIP.com
APIPA (Automatic Private IP Addressing) is a feature in Windows operating systems that allows devices to automatically assign themselves a private IP address in the absence of a DHCP server. When a device with APIPA enabled cannot find a DHCP server to assign it an IP address, it will assign itself an IP address in the range of 169.254.0.1 to 169.254.255.254. This ensures that the device can still communicate on the local network, even without a DHCP server.
router (config)# ip dhcp servicerouter (dhcp-config)# ip dhcp pool router (dhcp-config)# network
Automatic Private IP Addressing (APIPA) is a feature of Windows-based operating systems (included in Windows 98, ME, 2000, and XP) that enables a computer to automatically assign itself an IP address when there is no Dynamic Host Configuration Protocol (DHCP) server available to perform that function. APIPA serves as a DHCP server failover mechanism and makes it easier to configure and support small local area networks (LANs).
The use of a DHCP relay agent is an agent that relays DHCP between DHCP clients and DHCP servers on different IP networks. The DHCP relay agent is compliant with RFC 1542.
RARP help the PC to find its MAC address in the same network from the RARP Server.RARP Serveronly providethe IP adress to the PC by remembering its MAC.DHCP works on the same way but DHCP Server provide the PC its IP address, Subnetmask, Default Gateway and DNS Server etc...So the big difference is DHCP provide more information than your RARP Server.
DHCP uses the clients MAC address to determine the IP address a client receives.