Re: [squid-users] Squid transparent proxy and bridge question

From: Matthew Tanase <tanase@dont-contact.us>
Date: Wed, 24 Mar 2004 20:56:00 -0800 (PST)

OK - I have gotten it working, but not sure if it is optimal. Linux, 3 network interfaces. eth0 and eth1 acting as the bridge, assigned an IP. eth2 - not connected. Couldn't get anything to work wtih squid, although the bridge worked. So I enable debugging and can see that Squid cannot talk to the network, it is set to run on the IP assigned to the bridge. So I plug the third interface, eth2 into the network and assign it the squid IP - everything works. But now all 3 interfaces are in use. Can someone tell me what I am doing wrong with the bridge IP?
  
mt
  
  
-----Original Message from Henrik Nordstrom <hno@squid-cache.org>-----
  
On Wed, 24 Mar 2004, usman fool wrote:

> i was saying this because it was looking like he is running squid on that
> bridge.
> bsd bridges can have ip addresses dont know if its possible in linux or not.

Linux bridges can have IP addresses, and in fact is a must if you want to
run a proxy there but it is not the point.

> >ip forwarding is not needed in bridge mode.. bridge forwarding is..
>
> same reason i stated earlier.

ip forwarding should not be needed in a bsd bridge either.. a bridge is
by definition forwarding Ethernet frames, not IP forwarding.

Please do not confuse bridge with routing or proxy-arp. a bridge operates
at the Ethernet layer and is not related to IP forwarding while routing
(including proxy-arp) operates at the IP layer and needs IP forwarding.

Regards
Henrik
Received on Wed Mar 24 2004 - 22:01:06 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:03 MST