RedHat WORKING EXAMPLE OF DHCP.CONF


Recommended Posts

I imagine it could vary quite a bit, but as an example (I'm in a fresh install of fedora, so I doubt I've changed anything...)

###########################################################################

# $Id: dhcpd.conf,v 1.2 2002/10/12 02:08:09 kirk Exp $

###########################################################################

# You can put comments anywhere you want to. They are effective for the

# rest of the line.

# this is in the format of <name> = <value>. Whitespace at the beginning

# and end of the lines is removed. Whitespace before and after the = sign

# is removed. Everything is case *insensitive*.

# Yes = True = On = 1

# No = False = Off = 0

Title = "dhcpd"

# Which logfile group...

LogFile = messages

# Only give lines pertaining to the dhcpd service...

*OnlyService = dhcpd

*RemoveHeaders

########################################################

# This was written and is maintained by:

# Kirk Bauer <kirk@kaybee.org>

#

# Please send all comments, suggestions, bug reports,

# etc, to kirk@kaybee.org.

########################################################

Link to comment
Share on other sites

Um LH - not sure where you got that from - but huh?

I think this is more of what he is looking for

dhcpd.conf

------------

ddns-update-style none;

default-lease-time 2592000;

max-lease-time 5184000;

option domain-name "local.lan";

option domain-name-servers 192.168.1.1;

option netbios-name-servers 192.168.1.1;

subnet 192.168.1.0 netmask 255.255.255.0 {

range 192.168.1.100 192.168.1.150;

option subnet-mask 255.255.255.0;

option broadcast-address 192.168.1.255;

option routers 192.168.1.1;

}

Link to comment
Share on other sites

Told you, I was in a fresh install of fedora....

I didn't get it either, which is why I posted the entire thing, with comments and all..... :laugh:

edit, ahh that would be the dhcpd.conf file that i posted...... explains a lot :)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.