[squid-users] Re: bridge +tproxy

From: Saurabh Agarwal <saurabh.agarwal_at_envisagemedia.in>
Date: Fri, 16 Sep 2011 14:36:13 -0700 (PDT)

Hi,

Can any of you guys suggest what must be done with the routes in the
following case :

  221.222.211.1
(router /gateway) --> switch --> tproxy + bridge --> super natting AAA
device --> end users
                                 | |--> unused
                                 |--> unused
I am using the same config. for TPROXY and Bridge as mentioned above.

Now the problem arises when we are setting the routes for subnets in the
super natting device as the device does SNAT from the pool of 255, 32, 64
global IPs but these IPs are on different subnets then the squid server and
also there is an universal gateway for the whole network which has its own
subnet (/30).

The squid server also has its own subenet (/29) (a big IP pool has been
divided into many small IP pools).

I try to set following rules for each subnet
ip route add x.y.z.a/24 dev br0 table 200 proto kernel scope link
ip route add default via 221.222.211.1 dev br0 table 200
ip rule add from x.y.z.a/24 lookup 200
ip rule add to x.y.z.a/24 lookup 200

But I am not able to route the data properly.

Kindly help me. Any help on this matter will be highly appreciated.

Looking forward to a reply.

Warm Regards.

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/bridge-tproxy-tp2322443p3819204.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Fri Sep 16 2011 - 21:36:15 MDT

This archive was generated by hypermail 2.2.0 : Sat Sep 17 2011 - 12:00:02 MDT