Skip to contentSkip to conversation

traffic in default class

LARTC Denis Kot 1 participant 2 messages Jan 31, 2005

lore
Share & tools
lore

Denis Kot

author
#0 lore raw

how to see which packets is going in to default class?

Signature · 7 lines
Denis Kot
denis?jabber.org.by
ICQ: 13680126
Mobil: +375 29 6-1234-78
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
author
#1 lore raw

as I wrote before (in another message to list):

tc qdisc add dev imq0 root handle 1: htb default 30
tc class add dev imq0 parent 1: classid 1:1 htb rate 512kbit ceil 512kbit tc class add dev imq0 parent 1:1 classid 1:30 htb rate 64kbit ceil 512kbit

then:

iptables -t mangle -A PREROUTING -i ppp0 -s 192.168.2.2 -j IMQ --todev 0 tc class add dev imq0 parent 1:1 classid 1:22 htb rate 64kbit ceil 128kbit tc filter add dev imq0 protocol ip parent 1:0 prio 1 u32 match ip src 192.168.2.2 flowid 1:22

so how to see which packets is going in to default class?

Quoted 6 lines · Jesper Lund
Quoted 1 line

how to see which packets is going in to default class?

Depends on how you filter packets, tc ? iptables ? MARK ? CLASSIFY ?

/Jesper

Signature · 7 lines
Denis Kot
denis?jabber.org.by
ICQ: 13680126
Mobil: +375 29 6-1234-78
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/