Well here is mine which has been working on different linux boxes :) if you
have any other questions let me know. I know for a fact that rd dhcp works
fine....
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;

default-lease-time 600;
max-lease-time 7200;

# if you do not use dynamical DNS updates:
#
# this statement is needed by dhcpd-3 needs at least this statement.
# you have to delete it for dhcpd-2, because it does not know it.
#
# if you want to use dynamical DNS updates, you should first read
# read /usr/share/doc/packages/dhcp-server/DDNS-howto.txt
ddns-update-style none; ddns-updates off;


# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.

#subnet 192.168.1.0 netmask 255.255.255.0 {
#}

# This is a very basic subnet declaration.

subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.100 192.168.1.200;
  option routers 192.168.1.1;
#}

}

That should do it for you.....





-- Remo Mattei   --cell 801-209-8554
       http://www.italy1.com
       Freelance Networking-Security/Consultant
       MCSE, MCP, MCP+I, MCT
       Linux Trainer & Firewall Development
       [EMAIL PROTECTED]
    
-----------------
    I need a sample dhcpd.conf file for a dual homed RH9 machine.  I've
tried the sample one that comes with the rpm, but I could never make it
work.  The system is hooked to a cable modem to eth0.  Then, I have eth1
configured for static IP, 192.168.100.1, and I would like to have that
interface to listen for DHCP requests from internal machines and be able
to hand out private ip addresses (192.168.100.2, .3, .4, etc.).

    If anyone would be willing to share their config file for this
scenario, I would greatly appreciate it.

-- 
H| I haven't lost my mind; it's backed up on tape somewhere.
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:[EMAIL PROTECTED]>   .   303.442.6410 x130
  IT Director / SysAdmin / WebSmith             .     800.441.3873 x130
  Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to