All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] tc hard problem
@ 2002-07-06  2:45 Patrick Chan
  2002-07-06 12:10 ` bert hubert
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Patrick Chan @ 2002-07-06  2:45 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 851 bytes --]

Hi,

I have a Linux router which has to do QoS
Voice and Data traffic will pass through this router
Of cuz, voice traffic is put in first priority than data traffic
Can you tell me how can I configure tc in order to meet 
the following requirements?

1. There are two types of traffic: voice and data

2. The bandwidth to the Internet is just 64K

3. Each voice call occupies 16K bandwidth, so 
the whole bandwidth can only allows 4 concurrent voice calls

4. The most important and most hard to do:
If no voice call, data can use up to 64K bandwidth

If there are three voice calls, voice can use up to 16K x 3 = 48K bandwidth,
data only can use 16K bandwidth

If there are four voice calls, voice can use up to 64K bandwidth,
data cannot use any bandwidth

Voice always come first, data can only use the bandwidth left.


Thanks very much.

Patrick

[-- Attachment #2: Type: text/html, Size: 1622 bytes --]

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

end of thread, other threads:[~2002-07-08  3:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-06  2:45 [LARTC] tc hard problem Patrick Chan
2002-07-06 12:10 ` bert hubert
2002-07-06 14:08 ` bert hubert
2002-07-08  3:17 ` Patrick Chan

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.