Search squid archive

Re: peer weight is working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




--- squid learner <squidlearner@xxxxxxxxx> wrote:

> --- Chris Robertson <crobertson@xxxxxxx> wrote:
> 
> > squid learner wrote:
> > 
> > >>Is this client browser on the Squid machine?  If
> > >>not, then its very 
> > >>likely a routing problem on the Squid machine. 
> >
> > >>    
> > >>
> > >Chris
> > >  
> > >
> > >Sir 
> > >It is routing problem 
> > >now search try to search the remedy
> > >as i show before i put all router in same lan 
> > >192.168.1.1<>192.168.1.2<>192.168.1.3 diff isp 
> > >the first proxy belongs to 1st router second
> proxy
> > to
> > >2nd router
> > >Nd 
> > >add all three  gate way to squid box:-
> 
> > 
> 
> > >/etc/rc.d/rc.default.route
> > >
> > >route add (212.162.131.80( proxy ip)via default
> gw
> > >192.168.1.1
> > >'   '   '' do second and third same as above 
> > >=====
> > >  
> > >
> > This is almost correct, but not quite.
> > 
> > route add -host 212.162.131.80 gw 192.168.1.1
> > route add -host $PROXY2 gw 192.168.1.2
> > route add -host $PROXY3 gw 192.168.1.3
> > 
> > This is the simplest method of getting Squid to
> talk
> > to the three ISPs.  
> > All other off-LAN traffic (any DNS requests that
> the
> > box makes itself, 
> > external mail sent, etc.) will not be load
> balanced,
> > it will be sent 
> > over the (single) default gateway..  This should
> not
> > be a problem, as 
> > Squid should not be making DNS requests itself. 
> > Emulating multiple 
> > default gateways is possible, (see 
> >
>
http://lartc.org/howto/lartc.rpdb.multiple-links.html
> > or 
> > http://linux-ip.net/html/adv-multi-internet.html),
> > but might not be needed.
> > 
> > >so it left to second with out completing the req 
> > >now what i have to do is 
> > >i have to find some script  to handle the time to
> > not
> > >to change the gw -up to 5 minuts or 10 minuts 
> > >  
> > >
> > Only one default gw can be set.  As I mentioned
> > however, you can emulate 
> > having multiple default gateways by creating
> > multiple default routes (as 
> > seen in the links).  Again, you might not need
> this
> > added complexity.
> 
> > Hope this sorts things 
> > Chris
> > 
> Sir 
> thanks for your kind help 
> now i think it is perfect 
> here is the log
> 1151329961.443    495 192.168.1.105
> TCP_REFRESH_HIT/200 1814 GET
> http://www.7laa.com/weeb/images/index_041.jpg -
> ROUNDROBIN_PARENT/proxy.cyberia.net.sa image/jpeg
> 1151329961.610    680 192.168.1.105
> TCP_REFRESH_MISS/200 705 GET
> http://xslt.alexa.com/site_stats/js/t/a? -
> ROUNDROBIN_PARENT/proxy.jeel.com
> application/x-javascript
> 1151329963.253   1076 192.168.1.105 TCP_MISS/200
> 7210
> GET http://www.7laa.com/weeb/images/index_010.jpg -
> ROUNDROBIN_PARENT/proxy.awalnet.net.sa image/jpeg
> 1151329965.376    436 192.168.1.105 TCP_MISS/000 0
> GET
> http://www.al-wed.com/bnr/dmo3ah_468_60.gif -
> ROUNDROBIN_PARENT/proxy.cyberia.net.sa -
> 1151329965.420    182 192.168.1.105 TCP_MISS/000 0
> GET
> http://ads.7laa.com/banner.php? -
> ROUNDROBIN_PARENT/proxy.jeel.com -
> 1151329965.429    199 192.168.1.105 TCP_MISS/000 0
> GET
> http://ads.7laa.com/banner.php? -
> ROUNDROBIN_PARENT/proxy.awalnet.net.sa -
> 1151329965.762      3 192.168.1.105 TCP_MEM_HIT/200
> 468 GET http://ads.7laa.com/banner.php? - NONE/-
> text/html
> 1151329968.220    665 192.168.1.105
> TCP_REFRESH_HIT/200 21973 GET
> http://www.anaqatari.com/ -
> ROUNDROBIN_PARENT/proxy.cyberia.net.sa text/html
> 
> i will check it for some time with load of 50
> clients
> then inform you if any prob 
> thanks and thanks and thanks 
> 
> by the way is there any way in squid to cach songs 
> audio video 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux