[lug] how can I configure custom routes through dhcpd

Zan Lynx zlynx at acm.org
Wed Mar 17 16:21:41 MST 2004


On Wed, 2004-03-17 at 16:06, Ferdinand Schmid wrote:
> 
> Thanks for trying to understand my question...  My problem description wasn't
> very exact:
> 
> Your suggestion helps control another subnet with my dhcpd.  That's not what I
> am trying to do.  I just want to tell the clients on my one dhcpd controlled
> network (10.0.0.0/24) to go through different routers, depending on the
> destination network.

Pick one default gateway.  On that gateway define the routes for the
subnets.  When a client attempts to route through the gateway, if the
gateway knows of a shorter route for the client, the gateway should
(unless you disabled it) send an ICMP Redirect message back to the
client.  This Redirect message will cause the client to create a route
to the correct gateway.

That's the easiest way I know of.  If this doesn't help you, then I
didn't understand the problem.  Maybe a network diagram would help, in
that case.
-- 
Zan Lynx <zlynx at acm.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20040317/ff9064a6/attachment.pgp>


More information about the LUG mailing list