Two shared dhcpd subnets, how do I route the guest subnet to a web page or to squid?
I think I managed to get dhcpd working so that there are two subnets: Home subnet (fixed ip via mac address in 192.168.254.0/255.255.255.0) and Guest subnet (from dhcp range in 10.0.10.0/255.255.255.0). This is a linux box in the lan and it has only one interface. It along with the rest of the machines on the lan are connected to a Speedstream 4200 modem/router. I disabled the dhcp server in the Speedstream router and enabled it in the linux box. It currently sets the gateway and dns server for the Home subnet to the ip of the Speedstream. It also sets the gateway for the Guest subnet to the ip of the Linux box and dns server pointed to the Speedstream. I intend to do some routing in the linux box which would redirect all http requests from Guest subnet to the linux box's httpd server and eventually to a squid server running in the linux box. Does anyone have any ideas on how to achieve this?
Thanks
Chris
|