MLUG: RE: [MLUG] DHCP Server question
RE: [MLUG] DHCP Server question
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
you can specify which interface it answers to when it starts.
from /etc/rc.d/init.d/dhcpd:

start() {
        # Start daemons.
        echo -n $"Starting $prog: "
        daemon /usr/sbin/dhcpd eth1
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcpd
        return $RETVAL

eth1 being my internal interface

Rick 
Ok I'll admit it, I set you up the bomb


-----Original Message-----
From: EMAIL:PROTECTED
[mailto:EMAIL:PROTECTED]On Behalf Of Jason McIntosh
Sent: Thursday, August 02, 2001 8:34 AM
To: EMAIL:PROTECTED
Subject: [MLUG] DHCP Server question


Is there anyway to configure the DHCP server to only answer requests to a
local network, through one interface?  Meaning, to configure your Linux
box sitting between a cable modem/adsl and the rest of your machines to
configure hosts using DHCP, but NOT to answer requests for machines coming
through the other network card?  I imagine it could be done somehow with
IP-Tables, but if someone has a good, quick and workable solution, I'd
appreciate it.
Thanks!
Jason McIntosh

/------------------------------------|-------------------------\
| Jason McIntosh                     | CELL: 573-424-7612      |
| Webmaster, thinker, etc.           | WORK: 573-884-3865      |
| http://web.missouri.edu/~c717990/  |                         |
|--------------------------------------------------------------|
|"How should I know if it works?  That's what beta testers are |
|for.  I only coded it."				       |
|(Attributed to Linus Torvalds, somewhere in a posting)        |           
\------------------------------------|-------------------------/


--
To manage your subscription, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/
--
To manage your subscription, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/