Bandwidth Management on Linux

Post on 11-Jan-2017

48 Views

Category:

Technology

5 Downloads

Preview:

Click to see full reader

Transcript

Agenda

v What is Bandwidth management?

v Why we need to manage bandwidth in our

network?

v How to Control Bandwidth on Linux (CentOS7)?

v Demontration LAB

v Question and Answer

v Bandwidth management is the process of

measuring and controlling the communications

(traffic, packets) on a network link to avoid

network congestion and poor performance of the

network.

v Bandwidth management is measured in bits

per second (bit/s) or bytes per second (B/s).

What is Bandwidth management?

Why we need to manage bandwidth in our network?

v Control traffic bandwidth of users

v Avoid congestion in the networks

v Allocate resource for other important use (Voice

Videos …)

v Save cost

How to Control Bandwidth on Linux (CentOS7)?v We have many tools and methods for limiting rate on

Linux OS (Wonder shaper, Traffic Control (TC), Fire QOS

…).

v FireHOL is a language for builds secure stateful

firewalls from easy to understand, human-readable

configurations.

v FireQOS is a program which sets up traffic shaping

from an easy-to-understand and flexible configuration

file.

How to Control Bandwidth on Linux (CentOS7)?v Installing FireQOS

yuminstallgit–y

git clonehttps://github.com/ktsaou/firehol.git firehol.git

cdfirehol.gitgit checkoutorigin/master

mkdir -p/etc/firehol

cp etc/fireqos.conf.example /etc/firehol/fireqos.conf

vi/etc/firehol/fireqos.conf

How to Control Bandwidth on Linux (CentOS7)?DEVICE=ens160

INPUT_SPEED=1024kbit

OUTPUT_SPEED=1024kbit

interface $DEVICE world-in input rate $INPUT_SPEED

interface $DEVICE world-out output rate $OUTPUT_SPEED

vStart service

./sbin/fireqos.in start

Senario LAB

v Topology

Senario LAB

v Linux Side

Senario LAB

v Linux Side

Senario LAB

v Linux Side

Senario LAB

v Result at client side

Reference

v http://firehol.org/fireqos-manual.html

top related