alternative dhcp + squid
I have 2 networks
192.168.1.0 / 255.255.255.0 and 192.168.2.0 / 255.255.255.0
1) My router which provides internet and DHCP is
2) My server, which provides DHCP too and filters with squid is
192.168.1.254 and 192.168.2.254 (2 interfaces)
In the server's dhcp, i uncomented the AUTHORITATIVE policy, so it acts as master, over the 192.168.1.1
Now the problem is:
When i set up the lan, i connected both server's interfaces to the same switch where the other pc's connect, with the idea in mind that if the server falls, the pc's can reboot, and the router can assign another IP, and skip the squid filter.
But im not able to configure the server's DHCP to deliver addresses in the 192.168.1.0 net as default, so any pc that connects get either an IP from the router, or from the 192.168.2 range...
i edited /etc/defaults/dhcp3 and added interfaces="eth0 eth1"
i attach a file to ilustrate