qos_project
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
qos_project [2017/12/06 11:19] – [VLC Tool] enwan | qos_project [2017/12/14 09:12] – [7. [PO2] Implementing QoS] carine | ||
---|---|---|---|
Line 237: | Line 237: | ||
* On the Client side: '' | * On the Client side: '' | ||
- | ==== VLC Tool ==== | + | ==== -.VLC Tool ==== |
Let us now analyze the VLC application. VLC media player is a a highly portable multimedia player for various audio, video, streaming protocol. | Let us now analyze the VLC application. VLC media player is a a highly portable multimedia player for various audio, video, streaming protocol. | ||
- | * On the Server side: we open VLC media player : Go to media --> stream --> we add the desired video --> Stream --> Next --> for the new destination we choose UDP legacy then we click on add --> we add the destination IP address 192.168.100.111 (client) and the port number 1234 --> next --> we uncheck the active transcoding --> next --> | + | * On the Server side: we open VLC media player : Go to media - stream - we add the desired video - Stream - Next - for the new destination we choose UDP legacy then we click on add - we add the destination IP address 192.168.100.111 (client) and the port number 1234 - next - we uncheck the active transcoding - next stream. |
- | * On the client side: we open VLC and then we click on play--> | + | * On the client side: we open VLC and then we click on play, go to network and specify the network |
===== -. [CO3] Shaping the Traffic | ===== -. [CO3] Shaping the Traffic | ||
- | We first tried to limit the bandwidth using the following command | + | We first tried to limit the bandwidth using the following command |
<code bash> tc qdisc add dev eth1 root handle 1: cbq avpkt 1000 bandwidth 8mbit </ | <code bash> tc qdisc add dev eth1 root handle 1: cbq avpkt 1000 bandwidth 8mbit </ | ||
- | On the Wan interface | + | On the Wan interface |
<code bash> tc qdisc add dev eth0 root tbf rate 8000kbit burst 10kb latency 50ms </ | <code bash> tc qdisc add dev eth0 root tbf rate 8000kbit burst 10kb latency 50ms </ | ||
Line 264: | Line 263: | ||
<code bash> tc qdisc del dev eth0 root </ | <code bash> tc qdisc del dev eth0 root </ | ||
+ | Exceeded : | ||
+ | We run flent with VLC and we noticed that the video wasn't affected because flent uses TCP. | ||
- | + | ===== -. [PO2] Implementing QoS ===== | |
- | + | The QoS will be implemented on the outgoing interface (Wan) of the router TP-Link. | |
- | + | First, we have to check the existing configuration, | |
- | + | ||
- | + | ||
- | + | ||
+ | <code bash> tc qdisc ls </ | ||
+ | To delete the previous configurations we can use : | ||
+ | <code bash> tc qdisc del dev eth1 root </ | ||
+ | __** | ||
+ | Traffic classification :**__ | ||
+ |
qos_project.txt · Last modified: 2021/08/28 09:58 by samer