On Wed, 2004-03-03 at 19:23, Mike Koponick wrote: > Hello all, > > I would like to setup a DHCP server on a RH9.0 box with one Ethernet > interface. However, I need to service multiple subnets for DHCP. These > subnets are coming from multiple VLANs on the network and setting up > DHCP relay is not an issue on the layer 3 switch. I would need to push > out DNS, etc. From what I am reading, I would need to add an IP address > from each subnet I wish to service to the Ethernet card, and setup my > /etc/dhcpd.conf file accordingly. > > Has anyone ever done this before? > > Thanks in advance, > > Mike > Yeah.. It's not that bad...probably easier then you think. Assuming your switch will handle the dhcp relay In your dhcpd.conf file add on subnet declaration for each subnet *NOTE-We're running DHCPd-3 if your running version 2 delete the first three lines, and replace min-lease and max-lease lines with default-lease. ____________________________________________________ ddns-update-style none; ping-check true; authoritative; ### ### NET: Park pl ### shared-network "Park (113)" { subnet 10.100.0.0 netmask 255.255.0.0 { filename "noservice.cfg"; min-lease-time 2592000; max-lease-time 2592000; option time-servers 192.168.200.254; option routers 10.100.0.1; range 10.100.0.2 10.100.255.254; } } shared-network "CPE Shared (115)" { subnet 192.168.1.0 netmask 255.255.255.0 { min-lease-time 86400; max-lease-time 86400; option domain-name-servers 192.168.130.2, 192.168.130.3; option routers 192.168.1.1; range 192.168.1.32 192.168.1.254; } } shared-network "CPE Shared (116)" { subnet 192.168.2.0 netmask 255.255.255.0 { min-lease-time 86400; max-lease-time 86400; option domain-name-servers 192.168.130.2, 192.168.130.3; option routers 192.168.2.1; range 192.168.2.32 192.168.2.254; } } shared-network "CPE Shared (117)" { subnet 192.168.3.0 netmask 255.255.255.0 { min-lease-time 86400; max-lease-time 86400; option domain-name-servers 192.168.130.2, 192.168.130.3; option routers 192.168.3.1; range 192.168.3.32 192.168.3.254; } } -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list