On Tue, Jun 03, 2003 at 11:54:58PM -0600, Ashley M. Kirchner wrote:
>
> 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.
I have pretty much the same setup and it works flawlessly. Here is my
dhcpd.conf file:
---------------------------------- Cut here ----------------------------------
# Sample configuration file for ISCD dhcpd
#
# Make changes to this file and copy it to /etc/dhcpd.conf
#
ddns-update-style none;
default-lease-time 21600;
max-lease-time 21600;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.200.255;
option routers 192.168.200.1;
option domain-name-servers 192.168.200.1;
option domain-name "gostling.cl";
shared-network WORKSTATIONS {
subnet 192.168.200.0 netmask 255.255.255.0 {
}
}
group {
use-host-decl-names on;
option log-servers 192.168.200.1;
host eniwan {
hardware ethernet 00:10:A4:C6:40:38;
fixed-address 192.168.200.100;
}
}
subnet 172.16.0.0 netmask 255.255.255.0 {
# Note: No range is given, vmnet-dhcpd will deal with this subnet.
}
subnet 172.16.1.0 netmask 255.255.255.0 {
# Note: No range is given, vmnet-dhcpd will deal with this subnet.
}
---------------------------------- Cut here ----------------------------------
Note that the last two subnet blocks were added by VMware Workstation
when I was trying it, so that has nothing to do with the setup you have
(unless you have VMware as well). Also note that I'm using subnet
192.168.200.0/24 instead of your 192.168.100.0/24.
Cheers,
--
Javier Gostling D.
<[EMAIL PROTECTED]>
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list