Configure DHCP

drakwizard dhcp


This tool is broken in Mageia 4 because of new naming scheme for the Net interfaces

This tool[7] can help you to set up a DHCP server. It is a component of drakwizard which should be installed before you can access to it.

What is DHCP?

The Dynamic Host Configuration Protocol (DHCP) is a standardized networking protocol used on IP networks that dynamically configures IP addresses and other information that is needed for Internet communication. (From Wikipedia)

Setting up a DHCP server with drakwizard dhcp

Welcome to the DHCP server wizard.

  1. Introduction

    The first page is just an introduction, click Next.

  2. Selecting Adaptor

    Choose the network interface, which is connected to the subnet, and for which DHCP will assign IP addresses, and then click Next.

  3. Select IP range

    Select the beginning and ending IP addresses of the range of IPs you want the server to offer, along with the IP of the gateway machine connecting to some place outside the local network, hopefully close to the Internet, then click Next.

  4. Summary

    Take a second to check these options, then click Next.

  5. Hold on...

    This can be fixed. Click Previous a few times and change things around.

  6. Hours later...

What is done

  • Installing the package dhcp-server if needed;

  • Saving /etc/dhcpd.conf in /etc/dhcpd.conf.orig;

  • Creating a new dhcpd.conf starting from /usr/share/wizards/dhcp_wizard/scripts/dhcpd.conf.default and adding the new parameters:

    • hname

    • dns

    • net

    • ip

    • mask

    • rng1

    • rng2

    • dname

    • gateway

    • tftpserverip

    • dhcpd_interface

  • Also modifying Webmin configuration file /etc/webmin/dhcpd/config

  • Restarting dhcpd.

[7] You can start this tool from the command line, by typing drakwizard dhcp as root.

CC BY-SA 3.0
Uploaded on 22/10/2016
loading table of contents...