Hi, I''ve read the wondershaper.htb script and realise that it only uses one device: ppp. I have no experience with htb, but I thought that we could only shape outgoing traffic for an interface. How could the script be written to limit incoming and outgoing traffic for the same interface ? Thanks. Luciano Lima _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Tuesday 04 November 2003 15:02, Luciano Lima wrote:> Hi, > > I''ve read the wondershaper.htb script and realise that it only uses one > device: ppp. > > I have no experience with htb, but I thought that we could only shape > outgoing traffic for an interface. > How could the script be written to limit incoming and outgoing traffic > for the same interface ?You said it right. You can only shape outgoing traffic, but you can limit incoming and outgoing traffic. So limiting is not shaping. For instance, you can limit the incoming traffic from 1 hosts. Only limiting. You can not say (at least not easy), "if there is other bandwidth left, the host can use all of it, but it has throttle down to 40% if there is other traffc.". The latter is shaping and can only be done on outgoing traffic. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
GoMi
2003-Nov-04 23:23 UTC
Load balancing and Hight disponibility, but when a link fails, the whole thing stops working
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, i have a setup based on hight disponibility and load balancing, and when any of the adsl lines stops working, the kernel does not recognices that the route is down, and my clients only get access to the internet if they are luckilly NATed thought the other ADSL. I have the script running every minute pinging both ADSL''s, but it does not work. ANYONE? -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 iQA/AwUBP6g02X7diNnrrZKsEQKkswCfXVbeJSZyhJLh4W2lNfD9VDWbrXsAoMnl eWuFrXZ+HnbhWa+f3AayUta2 =QHy/ -----END PGP SIGNATURE----- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Vadiraj C S
2003-Nov-05 06:07 UTC
Re: Load balancing and Hight disponibility, but when a link fails, the whole thing stops working
Hi, On Wed, 5 Nov 2003, GoMi wrote:> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi there, i have a setup based on hight disponibility and load balancing, and when any of the adsl lines stops working, the kernel does not recognices that the route is down, and my clients only get access to the internet if they are luckilly NATed thought the other ADSL. I have the script running every minute pinging both ADSL''s, but it does not work. ANYONE?You must be doing only load balancing, If you want the kernel to detect the dead gateway and make the link switch over, you need to have julian dead gateway detection patch. That should solve your problem, if you are already using it then you need to flush the cache for the switch over. In your ping script flush the cache at regular intervals or at every link failure. regards Vadiraj C S _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/