Tuesday, April 23, 2013

Networking :DHCP, IPv4 and IPv6

http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol

The DHCP server maintains a database of available IP addresses and configuration information. When the server receives a request from a client, the DHCP server determines the network to which the DHCP client is connected, and then allocates an IP address or prefix that is appropriate for the client, and sends configuration information appropriate for that client. DHCP servers typically grant IP addresses to clients only for a limited interval. DHCP clients are responsible for renewing their IP address before that interval has expired, and must stop using the address once the interval has expired, if they have not been able to renew it.

On receiving a valid request, the server assigns the computer an IP address, a lease (length of time the allocation is valid), and other IP configuration parameters, such as the subnet mask and the default gateway

DHCP is used for IPv4 and IPv6.

IPv4 is 32 bit max address space (232) addresses
IPv6 is 128 bit max 2128 addresses
Post a Comment