Re: DHCP question/help


Subject: Re: DHCP question/help
From: Arthur Corliss (arthur@corlissfamily.org)
Date: Wed Mar 05 2003 - 23:45:53 AKST


On Wed, 5 Mar 2003, Scott Johnson wrote:

> Background: I have two different subnets on my LAN... 172.26.1.0 /24 &
> 10.0.1.0/24. The 172 subnet is my regular LAN, the 10 subnet is my
> wireless. My default gateway is 172.26.1.1 which has an external static IP
> of 24.237.4.113. The gateway for the wireless network is 172.26.1.3
> (10.0.1.3 on the other side).
>
> Problem: My DHCP server hands out 172.26.1.1 as the default gateway, but
> I'm trying to find out *if it's possible* to specify a route when getting an
> IP from DHCP of something like 10.0.1.0 255.255.255.0 172.26.1.3????
>
> Summary: Basically I want to alter the routing table with DHCP so that
> clients know to send requests to the 10.0.1.0 network to the gateway of
> 172.26.1.3, but send everything else to the (default) gateway of 172.26.1.1.
>
> Ideas?
>
> Any help appreciated.

RFC 2131 does specify the ability to define static routes, but whether your
server and client make it easy to do this is another question altogether.
ISC's dhcpd.conf(5) man page doesn't mention anything about it. Some clients
may require custom scripts to handle the configuration of any uncommon or
custom options as well.

RFC 1533 also specifies it. If you have a server & client that fully
implements those RFCs, you should be able to do it simply. If not, you'll
have to hack it together yourself.

        --Arthur Corliss
          Bolverk's Lair -- http://arthur.corlissfamily.org/
          Digital Mages -- http://www.digitalmages.com/
          "Live Free or Die, the Only Way to Live" -- NH State Motto

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Thu Mar 06 2003 - 05:56:57 AKST