match multiply IP addresses
/sbin/tc filter add dev eth0 parent 1:1 protocol all prio 1 u32 match ip dst x.x.x.10 match ip dst x.x.x.11 classid 2:7
Illegal "match"
what is wrong with this... how to match multiply ip addresses ? how many ip address checks I can chain ?
tia
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 7 lines · raptor
/sbin/tcfilter add dev eth0 parent 1:1 protocol all prio 1 u32 match ip
dst x.x.x.10 match ip dst x.x.x.11 classid 2:7Illegal "match"
what is wrong with this... how to match multiply ip addresses ? how many ip address checks I can chain ?
1. Just duplicate the filter :
/sbin/tc filter add dev eth0 parent 1:1 protocol all prio 1 u32 match ip dst
x.x.x.11 classid 2:7
/sbin/tc filter add dev eth0 parent 1:1 protocol all prio 1 u32 match ip dst
x.x.x.11 classid 2:7
Stef
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/