Linux Traffic control application instances

Source: Internet
Author: User
Article title: Linux Traffic control application example. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

At present, the internal LAN of many enterprises has been established, and many have also established the internal MIS system and email server on the basis of the LAN, the system even carries out services with large data traffic, such as on-demand video streaming. How to use it has become a topic of interest. let's take a look at the specific application instances of Linux traffic control.

  Linux Traffic control application instance

Assume that an enterprise is currently facing a complex network environment. In this environment, both a 802.11 mb Lan and a microwave or wireless link network are included, as shown in figure 3. In such an environment, to ensure the traffic of business data and achieve Linux traffic control, you need to control the transmission and service of each Lan.


Enterprise Network topology

The system uses the Linux 2.2.14 kernel to support QoS. First, you need to re-compile the kernel. Run make config and perform the following settings:

EXPERIMENTAL _ OPTIONS = y

Class Based Queueing (CBQ) = y

QoS and/or fair queueing = y

CBQ packet scheduler = y

Rate estimator = y

Packet classifier API = y

Compile and generate a new kernel:

# Make dep

# Make clean

# Make bzImage

In Linux, the traffic controller (TC) establishes a queue at the output port for traffic control. The Linux Traffic control method is based on the destination IP address, destination subnet network number, and port number, or the network number and port number of the source subnet based on the source IP address.

The basic functional modules of Linux Traffic Controller TC are queue, classification, and filter. The queues supported In the Linux kernel include Class Based Queue, Token Bucket Flow, CSZ, First In First Out, Priority, TEQL, SFQ, ATM, and RED. The Queue and classification discussed here are Based on CBQ (Class Based Queue), while the filters are Based on U32 and FW.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.