Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] Where does the Bandwidth Management taking place after/before
@ 2003-01-08 10:07 Srikanth W
  2003-01-08 10:19 ` Tobias Geiger
  2003-01-08 14:01 ` [LARTC] Where does the Bandwidth Management taking place Martin A. Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Srikanth W @ 2003-01-08 10:07 UTC (permalink / raw)
  To: lartc

Hi!
 
I want to know exactly how the packet flow is occuring in BW management?

and 

Where does the Bandwidth Management taking place after/before routing?

Kindly let me know asap.

tnr,
Srikanth

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] Where does the Bandwidth Management taking place after/before
  2003-01-08 10:07 [LARTC] Where does the Bandwidth Management taking place after/before Srikanth W
@ 2003-01-08 10:19 ` Tobias Geiger
  2003-01-08 14:01 ` [LARTC] Where does the Bandwidth Management taking place Martin A. Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Tobias Geiger @ 2003-01-08 10:19 UTC (permalink / raw)
  To: lartc

AFAIK:
local stuff: Application -> IPTABLES (OUTPUT) -> ROUTING -> QDISC
	routing stuff: IPTABLES (PREROUTING/FORWARD) -> ROUTING -> 
IPTABLES-POSTROUTING -> QDISC

these iptables-chains do sometimes a little wired stuff, depending on 
the jump-target/Chain (especially PREROUTING/NAT/...) sometimes 
routing-code is called to determine the route for iptables, but AFAIK 
ALL packets pass after the iptables-code the routing-code and ALWAYS as 
a LAST station the qdisc.
off course only outgoing stuff. incoming is more or less :) other way round.

Greetings

Tobias

Srikanth W wrote:
> Hi!
>  
> I want to know exactly how the packet flow is occuring in BW management?
> 
> and 
> 
> Where does the Bandwidth Management taking place after/before routing?
> 
> Kindly let me know asap.
> 
> tnr,
> Srikanth
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 
> 


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] Where does the Bandwidth Management taking place
  2003-01-08 10:07 [LARTC] Where does the Bandwidth Management taking place after/before Srikanth W
  2003-01-08 10:19 ` Tobias Geiger
@ 2003-01-08 14:01 ` Martin A. Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Martin A. Brown @ 2003-01-08 14:01 UTC (permalink / raw)
  To: lartc

Srikanth,

 : I want to know exactly how the packet flow is occuring in BW management?

Eh?  Seems a bit of a general question....can this not be answered by some
study of the queueing discipline you are using?

If you don't know where to start reading about the queueing discipline you
are using, start at http://lartc.org/ and http://www.docum.org/ and, of
course, a google search.

 : Where does the Bandwidth Management taking place after/before routing?

Study the kernel packet travelling diagram, and you'll have a better idea
of the answer to your question.

  http://www.docum.org/stef.coene/qos/kptd/

The short answer is:

 - egress traffic control occurs after all of the IP filtering, mangling
   and rewriting
 - ingress traffic control occurs after iptables PREROUTING hooks (if
   you are using iptables) or ipchains input (if you are using ipchains)

-Martin

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2003-01-08 14:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-08 10:07 [LARTC] Where does the Bandwidth Management taking place after/before Srikanth W
2003-01-08 10:19 ` Tobias Geiger
2003-01-08 14:01 ` [LARTC] Where does the Bandwidth Management taking place Martin A. Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox