Ok I am trying to setup some routing on my squid server using iproute2 basically I would like to setup 2 tables
Table 1 "Wireless"
Table 2 "Office"
Vlan1 172.16.1.3 |<--------->Eth0 Squid<---->Eth1 Squid| 172.16.1.0 network
Vlan2 192.168.2.3 | | 192.168.2.0 network
What I would like is for all traffic in network 192.168.2.0, 188.8.131.52 that goes through Eth1 be routed out through Eth0 and vice versa. This way both networks can use the server on the same nic. My problem is I can't get a proper start on this because the examples I have found all seem to refur to load balancing 2 ISP's. Any input on how to accomplish this would be great.
I would also like ot note that this is going to be setup as a transparent quid server so I will have port forward nat redirect for port 80 to 3128