[SATLUG] dhcpd help

Daniel J. Givens daniel at rugmonster.org
Mon Oct 1 12:11:24 CDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

twistedpickles wrote:
> I have 2 networks, 1private, 1 public and 1 dhcpd server.
> 
> Currently the dhcpd server serves IP addys for the private network but I
> also want it to serve public IP's on the public side. The dhcpd server is
> attached to the Internet on eth0, eth1 is private, and eth3 is not used.
> 
> Is it possible to configure dhcpd in such a manner that I can dynamically
> serve both private and public from the same machine respectively to the
> different networks by specifying the different subnets in the
> dhcpd.conffile? dhcpd can only listen on 1 interface, right?

The ISC DHCPD can listen on as many interfaces as you like and serve
addresses for as many subnets as you have configured along with the use
of DHCP Relay Agents.

I know in Debian-based systems, you can specify which interfaces dhcpd
listens on by editing /etc/default/dhcp3-server. Although I can't say
for certain, I'm willing to bet on a RH-based system, you would find
similar settings under /etc/sysconfig/dhcpsomething. Once you do that,
configure up the scope for the external side and you'll be good to go.

- --
Daniel J. Givens

daniel at rugmonster.org
- --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHASo8MX8DRj/fwTgRAiC6AJ40zP0h6unIse+APCNXTaM08aTaxQCggUkU
dwtvNtAJ95Qo5K/CrhOxPFY=
=puli
-----END PGP SIGNATURE-----


More information about the SATLUG mailing list