Configuration for option 121
Eric Helm
helmwork at ruraltel.net
Fri Jul 28 13:15:49 UTC 2006
Erestor,
Unfortunately, the 'option static-routes' is for code 33 which are
classful routes.
See the dhcp-options man page entry:
This option specifies a list of static routes that the client
should install in its routing cache. If multiple routes to the same
destination are specified, they are listed in descending order of
priority.The routes consist of a list of IP address pairs. The
first address is the destination address, and the second address is the
router for the destination. The default route (0.0.0.0) is an illegal
destination for a static route. To specify the default route, use
the routers option.Also, please note that this option is not intended
for classless IP routing - it does not include a subnet mask. Since
classless IP routing is now the most widely deployed routing
standard,this option is virtually useless, and is not implemented by any
of the popular DHCP clients, for example the Microsoft DHCP client.
/Eric
Erestor Elensar wrote:
>> Hello,
>> I have a need to send multiple classless static routes via option 121 to
>> our DSL modems for NOC management purposes.
>> For instance:
>> 1.1.1.1/32 to 5.5.5.1
>> 2.2.2.0/24 to 5.5.5.1
>> 3.3.3.0/24 to 5.5.5.1
>>
>> Does anyone have a good example of how to setup the dhcpd.conf file for
>> this requirement?
>>
>> Thanks,
>> Eric
>>
>>
> option static-routes
> 1.1.1.1 255.255.255.248 5.5.5.1
> 2.2.2.0 255.255.255.0 5.5.5.1;
>
>
>
More information about the dhcp-users
mailing list