LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Setting up a DHCP Server (https://www.linuxquestions.org/questions/linux-networking-3/setting-up-a-dhcp-server-5180/)

bselzler 08-06-2001 07:30 PM

Setting up a DHCP Server
 
Hello Team,

I'm using Webmin to set up a DHCP server, but so far I'm not having any luck.

I believe my ethernet cards are setup correctly, and I can create the subnet in webmin. However when I try to add the shared network it refuses to let me saying that there is no subnet for the network I choose.

I suspect I'm doing something out of order, but when I go through the webmin documentation I find that its really superficial and doesn't actually explain the process. On top of that, the version I'm using doesn't look anything like the screen shots.

So, does anyone have any experience setting up a dhcp server? The setup I need is pretty simple, and any help would be appreciated. I'm stuck at this point.

r3b00t 08-07-2001 04:01 AM

Sure, dhcpd is easy, have a look at the default dhcpd.conf and convert that (by hand ofcourse :-)....

mcleodnine 08-07-2001 04:28 AM

authoritative;
subnet 10.10.101.0 netmask 255.255.255.0 {
range 10.10.101.101 10.10.101.239;
default-lease-time 32400;
max-lease-time 64800;
option routers 10.10.101.3;
option broadcast-address 10.10.101.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 10.10.101.3, 10.10.101.1;
option domain-name "yourdomain.net";
option netbios-name-servers 10.10.101.4;


All times are GMT -5. The time now is 11:24 PM.