SQUID and multible In-Out-IPs

SQUID and multible In-Out-IPs

Post by Dietrich von der Groebe » Tue, 20 Jul 1999 04:00:00



Hi all,

I have a big big problem with squid,
is it possible to run squid in the following configuration:

           ____
LAN1------|    |
          |    | Internet-IP for LAN1
          |    |----------------------
          |    | Internet-IP for LAN2
LAN2------|____|

So, if a request comes from LAN1 (customer1) squid uses the official
IP-Adress for LAN1 and if the request comes from LAN2 (customer2) it
uses the second official IP-Adress.
A possible solution would be to run two different squid-daemons, but in
this case they wouldn't use the same cache.
Both customers would like to have a correct volume-accounting for which
they have to pay for.
I hope, anyone can help me..

best regards, Dietrich v. d. Groeben

+--------------------------------------------------------------------+


+ LCD                                       Phone: +49-7931-97 11 0  +
+ Lurz Computer+Datensysteme                FAX:   +49-7931-97 11 11 +
+ Johann-Hammer-Str. 24                   http://www.lcd.de          +
+ D-97980 Bad Mergentheim                 http://www.vertrieb.lcd.de +
+ Xlink-PoP/Bad Mergentheim               http://www.support.lcd.de  +
+--------------------------------------------------------------------+

"Only wimps use tape backup: _real_ men just upload their important
stuff
 on ftp, and let the rest of the world mirror it ;)" - Linus
Life's not fair. But the root passwort helps. :-)

 
 
 

SQUID and multible In-Out-IPs

Post by Holger van Kol » Tue, 20 Jul 1999 04:00:00



Quote:>Hi all,

>I have a big big problem with squid,
>is it possible to run squid in the following configuration:

>           ____
>LAN1------|    |
>          |    | Internet-IP for LAN1
>          |    |----------------------
>          |    | Internet-IP for LAN2
>LAN2------|____|

>So, if a request comes from LAN1 (customer1) squid uses the official
>IP-Adress for LAN1 and if the request comes from LAN2 (customer2) it
>uses the second official IP-Adress.
>A possible solution would be to run two different squid-daemons, but in
>this case they wouldn't use the same cache.

Why dont you make the first daemon the parent for the other?
Should solve all your problems...

 
 
 

SQUID and multible In-Out-IPs

Post by Dietrich v. d. Groebe » Thu, 22 Jul 1999 04:00:00




Quote:

> Dietrich von der Groeben schrieb in Nachricht


Quote:> >Hi all,

> >I have a big big problem with squid,
> >is it possible to run squid in the following configuration:

> >           ____
> >LAN1------|    |
> >          |    | Internet-IP for LAN1
> >          |    |----------------------
> >          |    | Internet-IP for LAN2
> >LAN2------|____|

> >So, if a request comes from LAN1 (customer1) squid uses the official
> >IP-Adress for LAN1 and if the request comes from LAN2 (customer2) it
> >uses the second official IP-Adress.
> >A possible solution would be to run two different squid-daemons, but in
> >this case they wouldn't use the same cache.
> Why dont you make the first daemon the parent for the other?
> Should solve all your problems...

How do I configure two different squid-daemons on a Suse 6.0? Is it enough
to generate two different squid.conf-files ?

Best regards, Dietrich (privat)

 
 
 

SQUID and multible In-Out-IPs

Post by Tero Peland » Fri, 30 Jul 1999 04:00:00



Quote:>I have a big big problem with squid,
>is it possible to run squid in the following configuration:

>           ____
>LAN1------|    |
>          |    | Internet-IP for LAN1
>          |    |----------------------
>          |    | Internet-IP for LAN2
>LAN2------|____|

Run two squid daemons as siblings and don't cache if the answer
came from the sibling cache. This way you will share the total cache
disk space and correct internet connection is used to full-fill the
requests from that subnet.

Quote:>How do I configure two different squid-daemons on a Suse 6.0? Is it enough
>to generate two different squid.conf-files ?

Usage: squid [-hsvzCDFRUVY] [-f config-file]

Check the files in /etc/rc.d and change the start of squid.

 
 
 

1. SQUID and multible In-Out-IPs

Hi all,

I have a big big problem with squid,
is it possible to run squid in the following configuration:

           ____
LAN1------|    |
          |    | Internet-IP for LAN1
          |    |----------------------
          |    | Internet-IP for LAN2
LAN2------|____|

So, if a request comes from LAN1 (customer1) squid uses the official
IP-Adress for LAN1 and if the request comes from LAN2 (customer2) it
uses the second official IP-Adress.
A possible solution would be to run two different squid-daemons, but in
this case they wouldn't use the same cache.
Both customers would like to have a correct volume-accounting for which
they have to pay for.
I hope, anyone can help me..

best regards, Dietrich v. d. Groeben

+--------------------------------------------------------------------+


+ LCD                                       Phone: +49-7931-97 11 0  +
+ Lurz Computer+Datensysteme                FAX:   +49-7931-97 11 11 +
+ Johann-Hammer-Str. 24                   http://www.lcd.de          +
+ D-97980 Bad Mergentheim                 http://www.vertrieb.lcd.de +
+ Xlink-PoP/Bad Mergentheim               http://www.support.lcd.de  +
+--------------------------------------------------------------------+

"Only wimps use tape backup: _real_ men just upload their important
stuff
 on ftp, and let the rest of the world mirror it ;)" - Linus
Life's not fair. But the root passwort helps. :-)

2. Q: ATI MACH 64 + SCO

3. More page outs than page ins?

4. Any Hex Editors ?

5. Unix Libraries Ins/Outs

6. Help with Unix MAIL program

7. Matrox Mystique ands X.

8. Who is good in Partiotions (vfstab, format part print vs df )

9. Nishan IPS 3000 and IPS 4000 docs

10. ipconfig - multiple IPs - swapping IP effect on alias IPs?

11. RH 6.0: Stumped by network: works on L4 IPs, but not L3 IPs

12. MASQing 2 global ips to 2 private ips how?

13. Multible Modem Usage