Configuring a DHCP server

The DHCP (Dynamic Host Configuration Protocol) server is used to assign IP addresses to network hosts, rather than having to statically assign records to each host. This is, of course, particularly useful where guest devices—such as mobile phones and tablets—connect to you network.

On Red Hat Enterprise Linux 7, a single DHCP server can supply IPv4 and IPv6 configurations. Each configuration has its own separate file: /etc/dhcp/dhcpd.conf for IPv4 configurations and /etc/dhcpd/dhcpd6.conf for IPv6 configurations. Additionally, if you are used to the previous editions of Red Hat, there is no longer any need to configure the interface in /etc/sysconfig/dhcp. RHEL 7 will automatically listen on all interfaces that match a ...

Get Learning RHEL Networking now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.