It has a "routers" option and a "static-routes" option.

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.65 192.168.1.254;
option routers 192.168.1.1;
option domain-name "wifi.kab.loc";
option static-routes 192.168.0.0 192.168.1.1;
option domain-name-servers 192.168.1.1;
}


On Fri, Jun 14, 2013 at 7:36 PM, James Griffin <j...@kontrol.kode5.net> wrote:
> ................Fri 14.Jun'13 at 17:22:44 +1000, John Tate................
>> It doesn't complain about it but I've never done much with routing
>> before. If I wanted to do it on the machine I'd do
>> # route add -net 192.168.0.0/24 192.168.1.1
>>
>> I can't seem to find how to do this in dhcp-options(5)
>>
>> Named won't even start with this...
>> option static-routes 192.168.1/24 192.168.0.1;
>> Or this...
>> option static-routes 192.168.1.0/24 192.168.0.1;
>>
>> So I'm kind of lost with the static routes, but why should this effect
>> the default route?
>
> In man dhcp-options(5) under "options static-routes", in the last sentence it 
> states to use the "routers" option for the default route. Have you 
> checked/tried this?
>
>
> --
>
>
> James Griffin: jmz at kontrol.kode5.net
>
> A4B9 E875 A18C 6E11 F46D  B788 BEE6 1251 1D31 DC38
>



-- 
www.johntate.org

Reply via email to