Konfiguro DHCP
drakwizard dhcp
This tool is broken in Mageia 4 because of new naming scheme for the Net
interfaces
This tool
You can start this tool from the command line, by typing drakwizard dhcp as root.
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.
Paraqitje
The first page is just an introduction, click Next.
Selecting Adaptor
Choose the network interface, which is connected to the subnet, and for
which DHCP will assign IP addresses, and then click
Next.
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.
Përmbledhje
Take a second to check these options, then click
Next.
Hold on...
This can be fixed. Click Previous a few times and
change things around.
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.