All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] traffic in default class
@ 2005-01-31 13:06 Denis Kot
  2005-01-31 14:04 ` Denis Kot
  0 siblings, 1 reply; 2+ messages in thread
From: Denis Kot @ 2005-01-31 13:06 UTC (permalink / raw)
  To: lartc

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

-- 
Denis Kot
denis?jabber.org.by
ICQ: 13680126
Mobil: +375 29 6-1234-78
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] traffic in default class
  2005-01-31 13:06 [LARTC] traffic in default class Denis Kot
@ 2005-01-31 14:04 ` Denis Kot
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kot @ 2005-01-31 14:04 UTC (permalink / raw)
  To: lartc

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?

On Mon, 31 Jan 2005 14:49:07 +0100, Jesper Lund <jesper@ballbreaker.dk> wrote:
> > how to see which packets is going in to default class?
> 
> Depends on how you filter packets, tc ? iptables ?  MARK ? CLASSIFY ?
> 
> /Jesper
> 


-- 
Denis Kot
denis?jabber.org.by
ICQ: 13680126
Mobil: +375 29 6-1234-78
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-31 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-31 13:06 [LARTC] traffic in default class Denis Kot
2005-01-31 14:04 ` Denis Kot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.