classless routes
Eric Helm
helmwork at ruraltel.net
Tue Feb 20 16:52:28 UTC 2007
Enrique de Guindos Carretero wrote:
> Hello.
> I'm new to dhcp and I'm having a problem.
>
> I have read RFC 3442 concerning classless routes sent to the dhcp clients.
>
> As I saw, Windows clients are using code 249 while the standard one is 121.
> On Windows clients I have no problems. But I have troubles on Linux ones.
>
> On my dhcpd.conf I have:
>
> option ca-static-routes code 121 = string;
> option ca-static-routes 18:C0:A8:00:C0:A8:00:01;
>
> In order of having 192.168.0.0/24 routed through 192.168.0.1 router.
> Changing the code with 249 works for windows clients. But with code 121, my
> Linux clients are receiving nothing and they have not the static route
> configured.
>
> Is it there any solution?
>
For my linux hosts, this config works to supply option 121:
option classless-routes code 121 = array of unsigned integer 8;
subnet 192.168.0.0 netmask 255.255.255.0
{
pool
{
range 192.168.0.2 192.168.0.254
option classless-routes 24, 192,168,0,0, 192,168,0,1;
}
}
/Eric
More information about the dhcp-users
mailing list