From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Chan Date: Sat, 06 Jul 2002 02:45:12 +0000 Subject: [LARTC] tc hard problem MIME-Version: 1 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C22497.26C4F9A0" Message-Id: List-Id: To: lartc@vger.kernel.org This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C22497.26C4F9A0 Content-Type: text/plain; charset="big5" 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 ------_=_NextPart_001_01C22497.26C4F9A0 Content-Type: text/html; charset="big5" tc hard problem

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

------_=_NextPart_001_01C22497.26C4F9A0-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/