Configura server DHCP

drakwizard dhcp

Nota

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.

Cos'è 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)

Impostando un server DHCP con drakwizard dhcp

Welcome to the DHCP server wizard.

  1. Introduzione

    La prima pagina è solo un'introduzione, premi Avanti.

  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. Sommario

    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. Ore più tardi...

Cos'è stato fatto

  • Installare il pacchetto dhcp-server se necessario;

  • 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

    • maschera

    • 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 14/07/2017