Site icon Ananova Business Web Hosting

DHCP

<< Prev. Page: IPv6 Advantages

DHCP

DHCP is stateful and requires a separate server to manage and assign all addresses. If this server fails, hosts cannot connect. The host relies on the DHCPv6 server to obtain configuration information (DNS Server addresses) and maintain connections to the network. It's an old method where an administrator uses a pool of IP addresses and assigns it to a host as needed. The DHCP server handles network configuration and configures each host. There is no need to configure leases with DHCP.

DHCP Configuration

The DHCP server for IPv6 is dhcp6s with configuration file /etc/sysconfig/dhcp6s, and a client is dhcp6c with /etc/dhcp6c. A service script /etc/init.d/dhcp6s used to manage the dhcp6s server.

service dhcpd start

DHCP client dhclient – /etc/dhclient.conf: It keeps lease information on the DHCP connection in the /var/lib/dhcp/dhclient.leases file.
IPv4 server: dhcpd
Client support: dhclient

IP address allocation methods

DHCP Failover Protocol: Two DHCP servers (primary and secondary) support the same address pool, in sync, and have an identical copy of network support information for each host on the network. If one fails, the other continues to provide DHCP services for a network.

If there is no router, there are no route advertisements, then a stateful method DHCPv6 or manual configuration is used to provide the addresses.

DHCP Versions

DHCP based on BOOTP developed for diskless workstations

The DHCP server provides network configuration information to systems running client daemon connected to an IPv4 TCP/IP network, whether the Internet or an Intranet. It includes IP address, network name server, gateway and proxy addresses, and the netmask.
A network administrator manages the network configuration for all the systems on the network from the DHCP server.

>> Next Page: IPv4 Addressing


Exit mobile version