DHCP configuration

Don Dupy fedora at maxxrad.net
Sat Dec 18 23:26:03 UTC 2004


Yeah, the dhcp man files you fine are pretty bleek.
I found a very helpful tutorial online.
www.linuxhomenetworking.com there you can buy a .pdf file of basic
linux setup for alot of the most common services. cost is a whopping $5
worth every penny!!

my dhcpd.conf looks something like this:

# rokit dhcpd.conf 11-28-03

ddns-update-style interim;
default-lease-time 3600;
max-lease-time 3600;
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
range 192.168.0.200 192.168.0.205;
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.0.5;
option domain-name "mydomain.net";

host xp1   {
         hardware ethernet 00:40:f4:64:cf:6e;
         fixed-address 192.168.0.20;

}
host rf-ap {
         hardware ethernet 00:60:1d:1d:6d:9e;
         fixed-address 192.168.0.15;

}
host vaio {
         hardware ethernet 00:02:2d:60:7f:4c;
         fixed-address 192.168.0.25;

}
host thumper {
         hardware ethernet 00:60:97:3d:35:d7;
         fixed-address 192.168.0.30;
}

}

This should do the basic dhcp that you are looking for.
I have assigned static addresses to my boxes on my network
thus the lines with the MAC Addresses and fixed address.

Don


On Sat, 18 Dec 2004, Claude Jones wrote:

> I am still very new to Linux. I am trying to configure a machine
> to act as my firewall on my broadband connection, which is
> working, and to serve as DHCP server to my LAN. I've been looking
> for two hours for simple explanations, but, most of what I'm
> finding is very old, and contradictory. Can someone point me to a
> resource? Also, I seem to see references to a graphical DHCP
> administrative tool for KDE but I can't find this - is this
> installed with FC3, or is it something that I have to add?
>
> Claude Jones
> Bluemont, VA, USA
> Running FC3 with all the latest upgrades - SELinux active
>
>
>

-- 
Don Dupy

FC1 - Kernel 2.4.22 - Dell Poweredge 600SC
http://www.maxxrad.net
email: fedora at maxxrad.net




More information about the fedora-list mailing list