LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-06-2007, 07:20 AM   #1
mpbraj
LQ Newbie
 
Registered: Dec 2006
Posts: 10

Rep: Reputation: 0
squid+bridge+2 subnet - My network Dia inside


Hi there,

My first post....

There's a situation where i need to have my Linux Bridge/Squid firewall with traffic from 2 subnets.

My network is,
[html]
Code:
   ISP---router1-|   |--router0--ISP
                 |   |
             ----|---|-------
            |  link proof(LP) |
             -|--------------
              |       |
              |       |  
              |       |
              |    ---|------
              |   |   PIX    | 
              |    ---|------
              |       |
              |       | int 0
              |   ----|----------------------
        int 2 |--| Linux Bridge/Squid |
                  -------|-------------------
                         |int 1
                         |               
               ----------|----
              | Layer 3 switch|
               ---|--------|--
                  |        |
        ----------|-----   |
       | 192.168.0.0 n/w|  |
        ----------------   |    ----------------
            LAN            |---| 172.26.0.0 n/w |   
                                ----------------
                                     LAN
[html]

I am trying to configure linux bridge/squid, 172.26.0.0 traffic should go through int0,pix,LP,router0 and 192.168.0.0 traffic should go through int2,LP,Router1. My Layer 3 switch has a limit, it can't do a source based routing. Link Proof device is failover device. The Link Proof has public IP at the outside interface and does NATing.

I have set the the Linux with shorewall, without redirecting port 80 to squid, browsing happens and everything works fine from both the network, I have a problem with Squid. Squid currently is working for 172.26.0.0 network but not for 192.168.0.0 subnet, ie., Squid is working from int 1 to int 2, but how to I make squid work with int1 to int2 as well. ie., Any traffic from 172.26.0.0 subnet squid should filter and put it to int0 and Any traffic from 192.168.0.0 subnet squid should filter and put it to int2.

Very Urgent,Can anyone please help...
Thanx in advance...

The picture seems to be not proper in the post, please mail me I can send it through mail...
babu@mainstaycrm.com

Last edited by mpbraj; 12-08-2007 at 01:08 AM. Reason: pic not proper....
 
Old 10-07-2007, 05:35 PM   #2
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 34
Sorry this doesn't answer your question.

If you wrap your acsi art in the code tags then it will come out as you wanted.

To get code tags you can use the # button on the little toolbar when you use the advance mode. Or you can type the like this,

[html]
Code:
stuff in here
[/html]

Below is an example. Both of them were typed out to look the same when i wrote this reply

modem
|
firewall
|
switch
| | |

Code:
modem
  |
firewall
  |
switch
| |  |
 
  


Reply

Tags
bridge, networking, squid


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid not accepting users from a VPN dial subnet ginda Linux - Server 3 05-24-2007 03:32 AM
no outgoing ssh connection in subnet with shorewall/squid linux_marine Linux - Networking 2 11-21-2006 02:30 PM
Network Problem with 2 network cards on the same subnet on Redhat seb.its Linux - Networking 6 12-24-2005 03:16 AM
Bridge simulating Network Lag, for developing network code for games intripoon Linux - Networking 18 10-27-2005 05:04 PM
squid feeding 2 subnet varun_saa Mandriva 1 02-07-2005 06:48 PM


All times are GMT -5. The time now is 07:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration