DHCP konfigurieren

drakwizard dhcp

Anmerkung

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.

Was ist 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. Einleitung

    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. IP-Bereich auswählen

    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. Übersicht

    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. Stunden später...

What is done

  • Installing the package dhcp-server if needed;

  • /etc/dhcpd.conf wird gespeichert 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

  • dhcpd wird neu gestartet.



[7] Sie können das Werkzeug über die Kommandozeile aufrufen, indem Sie drakwizard dhcp als root eingeben


CC BY-SA 3.0
loading table of contents...