Re: dhcp devices getting the wrong default route on one subnet

2013-06-14 Thread John Tate
On Sat, Jun 15, 2013 at 12:23 AM, Kenneth R Westerback wrote: > On Fri, Jun 14, 2013 at 02:38:48PM +0100, Stuart Henderson wrote: >> On 2013/06/14 21:49, John Tate wrote: >> > On Fri, Jun 14, 2013 at 9:16 PM, Stuart Henderson >> > wrote: >> > > On 2013-06-14, John Tate wrote: >> > >> It doesn't

Re: dhcp devices getting the wrong default route on one subnet

2013-06-14 Thread Kenneth R Westerback
On Fri, Jun 14, 2013 at 02:38:48PM +0100, Stuart Henderson wrote: > On 2013/06/14 21:49, John Tate wrote: > > On Fri, Jun 14, 2013 at 9:16 PM, Stuart Henderson > > wrote: > > > On 2013-06-14, John Tate wrote: > > >> It doesn't complain about it but I've never done much with routing > > >> before

Re: dhcp devices getting the wrong default route on one subnet

2013-06-14 Thread Stuart Henderson
On 2013/06/14 21:49, John Tate wrote: > On Fri, Jun 14, 2013 at 9:16 PM, Stuart Henderson > wrote: > > On 2013-06-14, John Tate wrote: > >> 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

Re: dhcp devices getting the wrong default route on one subnet

2013-06-14 Thread John Tate
On Fri, Jun 14, 2013 at 9:16 PM, Stuart Henderson wrote: > On 2013-06-14, John Tate wrote: >> 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 > > Why would you need to do this a

Re: dhcp devices getting the wrong default route on one subnet

2013-06-14 Thread Stuart Henderson
On 2013-06-14, John Tate wrote: > 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 Why would you need to do this at all, it seems you are already using 192.168.1.1 as your default

Re: dhcp devices getting the wrong default route on one subnet

2013-06-14 Thread John Tate
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

Re: dhcp devices getting the wrong default route on one subnet

2013-06-14 Thread James Griffin
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

Re: dhcp devices getting the wrong default route on one subnet

2013-06-14 Thread 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.

dhcp devices getting the wrong default route on one subnet

2013-06-13 Thread John Tate
I am trying to serve addresses to two subnets, for two ethernet devices for my wired and wireless lan. Devices on the wireless lan are getting the default route 192.168.0.1 instead of 192.168.1.1 so wireless devices at the moment cannot access the Internet unless I manually configure them. Interfa