Hi All,
I'm using TCNG to restrict certain types of traffic to certain ip addresses using a Linux router, and some masq'd computers behind it.
Unfortunately something like this...
#include "fields.tc"
#include "ports.tc"
#define INTERFACE eth1
dev INTERFACE {
egress {
/* In class selection path,
the filters come first! DSmark */
class ( <$video> )
if tcp_sport == 554 && ip_dst ==
10.1.1.10;
class (
<$other> ) if 1 ;
/* section in which we configure the qdiscs and classes */
htb () {
class
( rate 3500kbps, ceil 3500kbps ) {
$video = class ( rate 50kbps,
ceil 50kbps ) { sfq; } ;
$other = class ( rate 1000kbps, ceil 3450kbps ) { sfq; }
;
}
}
}
}
Doesn't seem to be working...
Any ideas
Thanks.
_______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/