Skip to contentSkip to conversation

HTB default 12 ?

LARTC TeraHz 2 participants 2 messages Jun 3, 2003 – Jun 4, 2003

lore
Share & tools
lore

TeraHz

author
#0 lore raw

I've found that when the value in: tc qdisc add dev eth1 root handle 1:
default 12 -> is 12 some of the packets are massing through class 1:12 and other through 1:1
if this value is 25 for example in the tc -s -d class show dev eth1 there are 0 packets sent from ALL CLASSES!!!

why is that?
I'm marking all packets with iptables and than using:
tc filter add dev eth0 parent 1:1 protocol ip handle [mark_number] fw classid [class_number]

but tha packets are passing from everywhere else but the class I want!!!

HELP

------------------- изпратено от mail.bG
Силна Анти-спам защита
12MB Място за поща
SMS за нов емeйл и към двата оператора!
POP3/WAP Достъп
_________________________________________
HOB БEЗПЛATEH AДPEC - http://mail.bg/new/
<img src='/ads/adlog.php?banneridg9&amp;clientid6&amp;zoneid&amp;source=&amp;block=0&amp;capping=0&amp;cbр275b36f3e4b1753d5f9ddf1ff1719b' width='0' height='0' alt='' style='width: 0px; height: 0px;'>
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 6 lines · TeraHz

I've found that when the value in: tc qdisc add dev eth1 root handle 1:
default 12 -> is 12 some of the packets are massing through class 1:12 and other through 1:1
if this value is 25 for example in the tc -s -d class show dev eth1 there are 0 packets sent from ALL CLASSES!!!

Quoted 6 lines

why is that?
I'm marking all packets with iptables and than using:
tc filter add dev eth0 parent 1:1 protocol ip handle [mark_number] fw classid [class_number]

but tha packets are passing from everywhere else but the class I want!!!

Can you post your tc and iptables commands?

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/