[Gllug] dhcpd on 2 ethernet cards
Bruce Richardson
itsbruce at uklinux.net
Sat Sep 14 15:47:05 UTC 2002
On Sat, Sep 14, 2002 at 11:59:00AM +0100, Adam wrote:
> On Fri, Sep 13, 2002 at 03:27:07PM +0100, Ian Norton wrote:
> >
> > i want dhcpd to listen on eth0 and give out (obviously) different address and
> > gateway details to the one that listens on eth2,
>
> You are using ISC dhcpd? coz whenever i have set it up in the past you have to
> have a declaration statement for each subnet, so as each ethernet interface is
> on a different network you can tell it which subnets to broadcast which dhcp
> leases. The documentation on the isc website (or in the example config) covers
> this, at least I am 99% sure it does.
No, you only have to have a declaration on each subnet that dhcpd is
listening on. It listens on all by default but you can pass a list of
interfaces on the command line, in which case it listens only to those.
I have tested this and it works fine.
--
Bruce
You can fool some of the people all the time, you can fool all of
the people some of the time but you can never fool your mother.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 261 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20020914/f5375b13/attachment.pgp>
More information about the GLLUG
mailing list