Linux Based DiffServ. Router

  • 1,255 views
Uploaded on

My graduation project in BSc. Electronics & Communications in 2002. Linux Based DiffServ. Router, a software to classify the network traffic, DSCP Mark, Shape and Prioritize it according to those …

My graduation project in BSc. Electronics & Communications in 2002. Linux Based DiffServ. Router, a software to classify the network traffic, DSCP Mark, Shape and Prioritize it according to those classes.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,255
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
16
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. 12/26/11 Cairo University Faculty of Engineering Electronics &Communication dpt. 4th year
        • Supervisor:
        • Prof. Dr. Khaled Foad El-Sayed.
        • Submitted by: Ashraf Kamal Rahoma
        • Hazem Mohamed Sobhi Hassanein
        • Hossam El-Sayed Abd Allah
        • Tarek Amr Abdallah
        • Zein El-Abidin Mohamed WALI
    Linux-based Implementation Of a Router (B.Sc Graduation project) 2002 DiffServ
  • 2. 12/26/11 Internet Protocol (IP).was designed to provide best-effort service. • VoIP • FTP QOS: Quality of Service (QoS) implies the ability to differentiate traffic streams and to define a level of performance for those traffic streams across a network. When heavily utilized networks are carrying various types of traffic for different users, QoS is a mean of offering better service Introduction to QoS:
      • Motivation:
      • QoS Terminology and Parameters:
  • 3. 12/26/11
    • Latency the delay a flow experiences when passing through a device
    • Jitter the latency variations
    • loss probability bandwidth distribution and availability (throughput or goodput)
    Parameters
  • 4. 12/26/11 IntServ vs. DiffServ
      • IntServ overview
  • 5. 12/26/11 RSVP Protocol
  • 6. 12/26/11 RSVP Protocol
  • 7. 12/26/11 RSVP Protocol
  • 8. 12/26/11 RSVP Protocol
  • 9. 12/26/11
      • IntServ vs. DiffServ
    Each has its won points of strength And weakness
  • 10. 12/26/11
      • DiffServ Architecture
      • DiffServ Architectural Model
      • Differentiated Services Domain
    DS Boundary Nodes and Interior Nodes: DS Ingress Node and Egress Node: Differentiated Services Region: Traffic Classification and Conditioning: Classifiers: Traffic Profiles: Traffic Conditioners:
  • 11. 12/26/11 Meters: Markers: Shapers: Droppers: Location of Traffic Conditioners and MF Classifiers: Within the Source Domain: At the Boundary of a DS Domain: In non-DS-Capable Domains: In Interior DS Nodes:
  • 12. 12/26/11
      • ToS VS DSCP
      • Introduction
      • Type of service byte definition
  • 13. 12/26/11
      • Type of service byte definition
  • 14. 12/26/11
  • 15. 12/26/11
      • Disadvantages of ToS
    • The IP-precedence scheme allows only specification of relative priority of a packet. it has no provisions to specify different drop precedence for packets of a certain priority.
    • The 3 bits restrict the number of possible priority classes to 8
    • The ToS mechanism is not powerful enough to allow an application to quantify the level of service it desires.
  • 16. 12/26/11
      • Differentiated services field definition
  • 17. 12/26/11
      • Per Hop Behavior PHB
    A per-hop behavior (PHB) is a description of the externally observable forwarding behavior of a DS node applied to a particular DS behavior aggregate (BA).
      • Different PHB’s
    Currently there are 4 standard different per hop behaviors PHB’s: Default PHB Class-Selector PHB. Assured Forwarding (AFny) PHB. Expedited Forwarding (EF) PHB.
  • 18. 12/26/11
  • 19. 12/26/11
      • DiffServ Support under Linux
      • Linux Traffic Control Overview
  • 20. 12/26/11
      • Linux Traffic Controller
  • 21. 12/26/11
      • Implementation and Code
      • TC Implementation
  • 22. 12/26/11
    • Note: In this drawing only one AF class is shown for the simplicity of the drawing, the other ones are just the same .
    • DSMARK
    • CBQ
    • pFIFO :
        • Low queuing delay (latency).
        • Well defined minimum departure rate, i.e. independent of the other traffic at the node.
        • No burst. (policing).
    • 4 CBQ :
        • Four AF classes with different fractions of the bandwidth allocated for each.
        • In each one we have three dropping precedence’s (RED)
        • Bandwidth assurance,
        • RED:
            • No bandwidth guarantee.
            • No quality of service: No policing filters, no shaping.
  • 23. 12/26/11
      • Traffic Classes
    • Variables:
    • Setting Functions:
      • Constructor.
      • Destructor
      • Set Device
      • Set Network
      • Set Rates
      • Set PHB’s
      • Set Police
      • Set ToS
  • 24. 12/26/11 Infra-structure Functions:
    • Filtering Functions:
      • Make Filter
    • Get Command
    t_start( ) t_reset( ) Make_phb( ) make_EF( ) make_AF( ) make_BE( ) make_Subfilter( ) make_marker( )
  • 25. 12/26/11 Software implementation
    • Architecture Overview.
    • Graphical User Interface (GUI).
    • System programming.
  • 26. 12/26/11 using C++ Classes
    • To ensure encapsulation & independence
    • To control the communication & error tracing
    • To give the ability to change or update any specific parts.
    Architecture Overview
  • 27. 12/26/11 using C++ Classes Architecture Overview
  • 28. 12/26/11 Detailed view
  • 29. 12/26/11 Communication between Classes
  • 30. 12/26/11 GUI tabs PHB configuration tab
  • 31. 12/26/11 Advanced PHB
  • 32. 12/26/11 Filter Setup Tab
  • 33. 12/26/11 Summary view Tab
  • 34. 12/26/11 TC Experts Tab
  • 35. 12/26/11 4.4 Testing:
  • 36. 12/26/11 We have performed testing on 3 basic levels: 1. Marking: Testing if packets were marked according to specified classification. 2. ToS: Testing if the classification according to ToS and monitoring packets flow were mapped to the required PHB 3. PHB’s Implementation: Monitoring different rates assigned to each class 4.5 Testing procedure
  • 37. 12/26/11 Than You !