Re: [LARTC] wee humble school (CBQ/SFQ problems)

2002-10-01 Thread Wojtek Sawasciuk

On Tue, 1 Oct 2002, William Diehl III wrote:

 Greetings!
 
 As the network administrator of a small private university in Riverside, CA with 
little funding for bandwidth but 1500 on-campus students, I find it necessary to 
shape our 3mbit bonded T1s so that students don't clobber the staff (and perhaps vice 
versa). I've been a huge fan of linux traffic shaping since forever but have always 
had issues with the priority and the fairness.
 
 I come to you today with a problem. I need to be able to shape traffic and ensure 
fairness. Consequently, I have the following script which enables 3 cbq's with 3 
levels of priority, the lowest (student queue) being limited to ony 2/3rds of the 
bandwidth (2mbit). Each class has an SFQ attached as well as an SFQ on the top class.
 
 The limit to 2mbit seems to function properly. However, neither the priority or the 
fairness seem to work. I get students downloading at 40-50KB/s, out performing a 
high priority address by 10x!! Also, one or two students can dominate the entire 
student class which says to me the SFQ is not doing its job.
try with esfq (www.ssi.bg/~alex/esfq/) or rebuild your flows with wrr 
(wipl-wrr.sourceforge.net/wrr.html).
you can read about this things in list archive.
 


-- 
Wojtek Sawasciuk, net  sys administrator, ALT MAIL: [EMAIL PROTECTED]
http://GAD.pl - e-biznes, e-multimedia, | tel.: 077 44 14 105,
http://PUNKT.pl - lacza, hosting| fax:  077 45 31 222,


___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



Re: [LARTC] how to force iproute2 to FORWARD to another interfacepackets with a destinatioin IP on this machine?

2002-08-29 Thread Wojtek

Jan Macek wrote:
 I have this situation:
 
 My machine debina, has three interfaces:
 
 eth1   212.126.24.129
 ppp0   10.2.0.1   (Point-to-Point: 212.31.242.98)
 nsc5   10.2.0.250   (Point-to-Point: 172.23.140.32)
 
 
 I want packets which come in through the nsc5 interface, to be FORWARDED
 to the ppp0 interface to 212.31.242.98, even when their destination
 address is 212.126.24.129 (even so this is the IP of eth1 on this
 machine).
 
 How to achieve that?
 

you can use set of 'ip rule' and other routing table


___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



Re: [LARTC] how to log pacets which hit routing rules?

2002-08-29 Thread Wojtek

Jan Macek wrote:
 Hi,
 
 Is there some way to make iproute2 log to syslog or to a file selected
 packets?
 
 I have a problem, that my packets dissapear somewhere, and I want to be
 sure if they get to the routing stage or not, and where do they get
 routed.
 
 

use the iptables or ipchains with --log switch

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/