1 of 87

COMPUTER NETWORKS

MODULE-3

1

1/30/2024

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

1

2 of 87

Dept. of ISE

The Network Layer: Network Layer Design Issues, Routing Algorithms, Congestion Control Algorithms, QoS. ��Textbook 1: Ch 5.1 to 5.4 ��

CO achieved from this module: Identify and organize the communication system network components ���

SRI KRISHNA INSTITUTE OF TECHNOLOGY

#29, Hesaraghatta Main Road, Chimney Hills, Chikkabanavara Post, Bangalore- 560090

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

2

3 of 87

3

1/30/2024

THE NETWORK LAYER

The main function is to transfer network packets from the source to the destination.

Network Layer Design Issues

  1. Store and Forward Packet Switching
  2. Services Provided to the Transport Layer.
  3. Implementation of Connectionless Service.
  4. Implementation of Connection oriented Service.
  5. Comparison of virtual circuit and Datagram Networks.

��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

3

4 of 87

4

1/30/2024

Store and Forward Packet Switching

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

4

5 of 87

5

1/30/2024

  • The major components of the network are the ISP’s equipment (routers connected by transmission lines)
  • A host transmits a packet it to the nearest router, either on its own LAN or over a point-to-point link to the ISP.
  • The packet is stored there until it has fully arrived and the link has finished its processing by verifying the checksum.
  • Then it is forwarded to the next router along the path until it reaches the destination host, where it is delivered.
  • This mechanism is store-and-forward packet switching.���

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

5

6 of 87

6

1/30/2024

Services Provided to the Transport Layer

1. The services should be independent of the router technology.�2. The transport layer should be shielded from the number, type, and topology of the routers present.�3. The network addresses made available to the transport layer should use a uniform numbering plan, even across LANs and WANs. �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

6

7 of 87

7

1/30/2024

  • One camp (represented by the Internet community) argues that the routers’ job is moving packets around and nothing else.
  • This viewpoint leads to the conclusion that the network service should be connectionless, with primitives SEND PACKET and RECEIVE PACKET and little else end-to-end argument, a design principle that has been very influential in shaping the Internet.

  • The other camp (represented by the telephone companies) argues that the network should provide a reliable, connection-oriented service.

Services Provided to the Transport Layer

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

7

8 of 87

8

1/30/2024

Implementation of Connectionless Service

  • If connectionless service is offered,
    • packets are injected into the network individually
    • routed independently of each other.
    • No advance setup is needed.
    • In this context, the packets are referred as datagrams
    • the network is called a datagram network.
  • If connection-oriented service is used,
    • First a path must be established from source router to destination router . This connection is called a VC.
    • Data packets can be sent over VC.

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

8

9 of 87

9

1/30/2024

  • ���

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

9

10 of 87

10

1/30/2024

  • The algorithm that manages the tables and makes the routing decisions is called the routing algorithm.
  • IP (Internet Protocol), is the dominant example of a connectionless network service.
  • Each packet carries a destination IP address that routers use to individually forward each packet.
  • The addresses are 32 bits in IPv4 packets and 128 bits in IPv6 packets.

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

10

11 of 87

11

1/30/2024

Implementation of Connection oriented service

For connection-oriented service, we need a virtual-circuit network.

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

11

12 of 87

12

1/30/2024

Label Switching

  • EG of a connection-oriented network service is MPLS (MultiProtocol Label Switching).
  • It is used within ISP networks in the Internet, with IP packets wrapped in an MPLS header having a 20-bit connection identifier or label.
  • MPLS is often hidden from customers, with the ISP establishing long-term connections for large amounts of traffic, but it is increasingly being used to help when quality of service is important but also with other ISP traffic management tasks.

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

12

13 of 87

13

1/30/2024

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

13

14 of 87

14

1/30/2024

Routing Algorithms

  • Function of network layer - route packets from the source to destination machine.
  • The routing algorithm is part of network layer software that is responsible for deciding which output line an incoming packet should be transmitted on.
  • Session Routing: Route remains in force for an entire session.
  • Forwarding: One of them handles each packet as it arrives, looking up the outgoing line to use for it in the routing tables. This process is forwarding.

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

14

15 of 87

15

1/30/2024

Properties of routing algorithm : correctness, simplicity, robustness, stability, fairness, and efficiency.

Goal: Stability.

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

15

16 of 87

16

1/30/2024

Routing Types

  • Non Adaptive Algorithms
    • routing decisions are not based on any measurements or estimates of the current topology and traffic.
    • Static Routing: Route is computed in advance and downloaded to the routers when network is booted.
  • Adaptive Algorithms
    • change routing decisions to reflect changes in the topology and changes in the traffic as well.
    • Dynamic Routing: Differ in where they get their information when they change the route and what metric is used for optimization

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

16

17 of 87

17

1/30/2024

The Optimality Principle

  • It states that if router J is on the optimal path from router I to router K, then the optimal path from J to K also falls along the same route. ��� � �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

17

18 of 87

18

1/30/2024

  • Sink tree: the set of optimal routes from all sources to a given destination form a tree rooted at the�destination. Such a tree is called a sink tree.
  • It does not contain any loops, so each packet will be delivered within a finite and bounded number of hops.
  • DAG (Directed Acyclic Graph): DAGs have no loops. ��� � � � �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

18

19 of 87

19

1/30/2024

Shortest Path Algorithm

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

19

20 of 87

20

1/30/2024

Flooding

  • When a routing algorithm is implemented, each router must make decisions based on local knowledge, not the complete picture of the network. A simple local technique is flooding, in which every incoming packet is sent out on every outgoing line except the one it arrived on.
  • Flooding with a hop count can produce an exponential number of duplicate packets as the hop count grows and routers duplicate packets they have seen before. ��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

20

21 of 87

21

1/30/2024

  • Flooding is not practical for sending most packets.
  • Important Uses
  • First, it ensures that a packet is delivered to every node in the network.
  • Second, flooding is tremendously robust. � �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

21

22 of 87

22

1/30/2024

Distance Vector Routing

A distance vector routing algorithm operates by having each router maintain a table (i.e., a vector) giving the best known distance to each destination and which link to use to get there.

The distance vector routing algorithm is sometimes called by other names, most commonly the distributed Bellman-Ford routing algorithm, � �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

22

23 of 87

23

1/30/2024

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

23

24 of 87

24

1/30/2024

The Count-to Infinity Problem

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

24

25 of 87

25

1/30/2024

Link State Routing

  • Variants of link state routing called IS-IS and OSPF are the routing algorithms that are most widely�used inside large networks and the Internet today.
  • The idea behind link state routing is fairly simple and can be stated as five parts.

1. Discover its neighbors and learn their network addresses.�2. Set the distance or cost metric to each of its neighbors.�3. Construct a packet telling all it has just learned.�4. Send this packet to and receive packets from all other routers.�5. Compute the shortest path to every other router. ���

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

25

26 of 87

26

1/30/2024

Learning about the Neighbors

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

26

27 of 87

27

1/30/2024

Setting the Link Costs:

  • The link state routing algorithm requires each link to have a distance or cost metric for finding shortest paths.
  • The cost to reach neighbors can be set automatically, or configured by the network operator. �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

27

28 of 87

28

1/30/2024

Building Link State Packets

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

28

29 of 87

29

1/30/2024

Distributing the Link State Packets

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

29

30 of 87

30

1/30/2024

Computing the New Routes

  • Link state routing is widely used in actual networks, so a few words about some example protocols are in order.
  • Many ISPs use the IS-IS (Intermediate System-Intermediate System) link state protocol (Oran, 1990).
  • It was designed for an early network called DECnet, later adopted by ISO for use with the OSI�protocols and then modified to handle other protocols as well, most notably, IP.
  • OSPF (Open Shortest Path First) is the other main link state protocol. �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

30

31 of 87

31

1/30/2024

Hierarchical Routing

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

31

32 of 87

32

1/30/2024

Broadcast Routing

Sending a packet to all destinations simultaneously is called broadcasting.

An improvement is multidestination routing, in which each packet contains either a list of destinations or a bit map indicating the desired destinations.

Reverse Path Forwarding��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

32

33 of 87

33

1/30/2024

Spanning Tree:

A spanning tree is a subset of the network that includes all the routers but contains no loops. Sink trees are spanning trees. If each router knows which of its lines belong to the spanning tree, it can copy an incoming broadcast packet onto all the spanning tree lines except the one�it arrived on. �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

33

34 of 87

34

1/30/2024

Multicast Routing

Sending a message to such a group is called multicasting, and the routing algorithm used is called multicast routing

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

34

35 of 87

35

1/30/2024

  • An alternative design uses core-based trees to compute a single spanning tree for the group
  • All of the routers agree on a root (called the core or rendezvous point) and build the tree by sending a packet from each member to the root. �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

35

36 of 87

36

1/30/2024

Anycast Routing

  • In anycast, a packet is delivered to the nearest member of a group.
  • Schemes that find these paths are called anycast routing. �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

36

37 of 87

37

1/30/2024

Routing for Mobile Hosts

  • Mobile hosts to mean either category, as distinct from stationary hosts that never move.
  • All hosts are assumed to have a permanent home location that never changes.
  • Home Agents: The basic idea used for mobile routing in the Internet and cellular networks is for the mobile host to tell a host at the home location where it is now. This host, which acts on behalf of the mobile host, is called the home agent.
  • Care of Address: The local address is called care of address�� �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

37

38 of 87

38

1/30/2024

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

38

39 of 87

39

1/30/2024

  • Tunneling

encapsulates the packet with a new header and sends this bundle to the care of address (step 3). This mechanism is called tunneling.

When the encapsulated packet arrives at the care of address, the mobile host unwraps it and retrieves the packet from the sender. The mobile host then sends its reply packet directly to the sender (step 4). The overall route is called triangle routing because it may be circuitous if the remote location is far from the home location. ��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

39

40 of 87

40

1/30/2024

Routing in AdHoc Networks

Networks of nodes that just happen to be near each other are called ad hoc networks or MANETs (Mobile Ad hoc NETworks).

AODV- Adhoc On Demand Distance Vector Routing

Route Discovery

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

40

41 of 87

41

1/30/2024

Congestion Control Algorithms

Too many packets present in (a part of) the network causes packet delay and loss that degrades performance. This situation is called congestion.

The network and transport layers share the responsibility for handling congestion.

��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

41

42 of 87

42

1/30/2024

Congestion Collapse:

Performance plummets as the offered load increases beyond the capacity. This can happen because packets can be sufficiently delayed inside the network that they are no longer useful when they leave the network.

Goodput:

The rate at which useful packets are delivered by the network. ��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

42

43 of 87

43

1/30/2024

Approaches to Congestion Control

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

43

44 of 87

44

1/30/2024

Provisioning

Links and routers that are regularly heavily utilized are upgraded at the earliest opportunity. This is called provisioning.

Some local radio stations have helicopters flying around their cities to report on road congestion to�make it possible for their mobile listeners to route their packets (cars) around hotspots. This is called traffic-aware routing. ��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

44

45 of 87

45

1/30/2024

In a virtual-circuit network, new connections can be refused if they would cause the network to become congested. This is called admission control.

When all else fails, the network is forced to discard packets that it cannot deliver. The general name for this is load shedding. ��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

45

46 of 87

46

1/30/2024

Traffic- Aware Routing

  • The goal in taking load into account when computing routes is to shift traffic away from hotspots that will be the first places in the network to experience congestion.� �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

46

47 of 87

47

1/30/2024

  • Traffic-aware routing was used in the early Internet.
  • In the Internet routing protocols do not generally adjust their routes depending on the load. Instead, adjustments are made outside the routing protocol by slowly changing its inputs. This is called traffic engineering. � �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

47

48 of 87

48

1/30/2024

Admission Control

  • One technique that is widely used in virtual-circuit networks to keep congestion at bay is admission control.
  • The idea is simple: do not set up a new virtual circuit unless the network can carry the added traffic without becoming congested.
  • Traffic is often described in terms of its rate and shape.
  • Leaky Bucket: A leaky bucket has two parameters that bound the average rate and the instantaneous burst size of traffic. �Admission control can also be combined with traffic-aware routing by considering routes around traffic hotspots as part of the setup procedure. �������

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

48

49 of 87

49

1/30/2024

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

49

50 of 87

50

1/30/2024

Traffic Throttling

  • The term congestion avoidance is sometimes used to contrast this operating point with the one in which the network has become (overly) congested.
  • The queueing delay inside routers directly captures any congestion experienced by packets. It should be low most of time, but will jump when there is a
  • dnew = αd old + (1 - α)s�where the constant α determines how fast the router forgets recent history. This is called an EWMA (Exponentially Weighted Moving Average). It smoothes out fluctuations and is equivalent to a low-pass filter.�������

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

50

51 of 87

51

1/30/2024

Choke packets

  • The router selects a congested packet and sends a choke packet back to the source host, giving it the destination found in the packet.
  • The original packet may be tagged (a header bit is turned on) so that it will not generate any more choke packets farther along the path and then forwarded in the usual way.
  • When the source host gets the choke packet, it is required to reduce the traffic sent to the specified destination � ��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

51

52 of 87

52

1/30/2024

Explicit Congestion Notification

  • When the network delivers the packet, the destination can note that there is congestion and inform the sender when it sends a reply packet. The sender can then throttle its transmissions as before.�This design is called ECN (Explicit Congestion Notification) and is used in the Internet.

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

52

53 of 87

53

1/30/2024

  • Hop By Hop BackPressure

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

53

54 of 87

54

1/30/2024

Load Shedding is a fancy way of saying that when routers are being inundated by packets that they cannot handle, they just throw them away.

The former policy (old is better than new) is often called wine and the latter (new is better than old) is often called milk because most people would rather drink new milk and old wine than the alternative. ��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

54

55 of 87

55

1/30/2024

��

Random Early Detection

  • To determine when to start discarding, routers maintain a running average of their queue lengths.
  • When the average queue length on some link exceeds a threshold, the link is said to be congested and a small fraction of the packets are dropped at random.
  • Picking packets at random makes it more likely that the fastest senders will see a packet drop; this is the best option since the router cannot tell which source is causing the most trouble in a datagram network.
  • RED routers improve performance compared to routers that drop packets only when their buffers are full, though they may require tuning to work well. �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

55

56 of 87

56

1/30/2024

Quality of Service

  • An easy solution to provide good quality of service is to build a network with enough capacity for whatever traffic will be thrown at it. The name for this solution is overprovisioning.
  • Four issues must be addressed to ensure quality of service:�1. What applications need from the network.�2. How to regulate the traffic that enters the network.�3. How to reserve resources at routers to guarantee performance.�4. Whether the network can safely accept more traffic. � �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

56

57 of 87

57

1/30/2024

Application Requirements

  • A stream of packets from a source to a destination is called a flow.
  • A flow might be all the packets of a connection in a connection-oriented network, or all the packets sent from one process to another process in a connectionless network.
  • Each flow can be characterized by 4 primary parameters: bandwidth, delay , jitter and loss.
  • The applications differ in their bandwidth needs, with email, audio in all forms, and remote login not needing much, but file sharing and video in all forms needing a great deal. �� �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

57

58 of 87

58

1/30/2024

Delay: If all packets are delayed uniformly by a few seconds, no harm is done. �Interactive applications, such as Web surfing and remote login, are more delay sensitive. �The variation (i.e., standard deviation) in the delay or packet arrival times is called jitter.

QoS supports:

1. Constant bit rate (e.g., telephony).�2. Real-time variable bit rate (e.g., compressed videoconferencing).�3. Non-real-time variable bit rate (e.g., watching a movie on demand).�4. Available bit rate (e.g., file transfer). � ��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

58

59 of 87

59

1/30/2024

Traffic Shaping

Traffic shaping is a technique for regulating the average rate and burstiness of a flow of data that enters the network. The goal is to allow applications to transmit a wide variety of traffic that suits their needs, including some bursts, yet have a simple and useful way to describe the possible traffic patterns to the network.

SLA (Service Level Agreement), especially when it is made over aggregate flows and long periods of time, such as all of the traffic for a given customer. ��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

59

60 of 87

60

1/30/2024

Leaky and Token Buckets

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

60

61 of 87

61

1/30/2024

  • Leaky Bucket Algorithm

  • Each host is connected to the network by an interface containing a leaky bucket.
  • To send a packet into the network, it must be possible to put more water into the bucket.
  • If a packet arrives when the bucket is full, the packet must either be queued until enough water leaks out to hold it or be discarded.
  • The former might happen at a host shaping its traffic for the network as part of the operating system.
  • The latter might happen in hardware at a provider network interface that is policing traffic entering the network .�

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

61

62 of 87

62

1/30/2024

Token Bucket Algorithm

  • The tap is running at rate R and the bucket has a capacity of B, as before.
  • Now, to send a packet we must be able to take water, or tokens, as the contents are commonly called, out of the bucket (rather than putting water into the bucket).
  • No more than a fixed number of tokens, B, can accumulate in the bucket, and if the bucket is empty, we must wait until more tokens arrive before we can send another packet �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

62

63 of 87

63

1/30/2024

Token Bucket Algorithm

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

63

64 of 87

64

1/30/2024

Packet Scheduling

Algorithms that allocate router resources among the packets of a flow and between competing flows are called packet scheduling algorithms.

Three different kinds of resources can potentially be reserved for different flows:�1. Bandwidth.�2. Buffer space.�3. CPU cycles. �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

64

65 of 87

65

1/30/2024

Packet Scheduling

Bandwidth:

If a flow requires 1 Mbps and the outgoing line has a capacity of 2 Mbps, trying to direct three flows through that line is not going to work. Thus, reserving bandwidth means not oversubscribing any output line.

Buffer Space:

When a packet arrives, it is buffered inside the router until it can be transmitted on the chosen�outgoing line. The purpose of the buffer is to absorb small bursts of traffic as the flows contend with each other. If no buffer is available, the packet has to be discarded since there is no place to put it. ���

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

65

66 of 87

66

1/30/2024

Packet Scheduling

CPU Cycles:

It takes router CPU time to process a packet, so a router can process only a certain number of packets per second.

Packet scheduling algorithms allocate bandwidth and other router resources by determining which of the buffered packets to send on the output line next.

Each router buffers packets in a queue for each output line until they can be sent, and they are sent in the same order that they arrived. This algorithm is known as FIFO (First-In First-Out), or equivalently FCFS (First-Come First-Serve). ���

��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

66

67 of 87

67

1/30/2024

Packet Scheduling

FIFO routers usually drop newly arriving packets when the queue is full. Since the newly arrived packet would have been placed at the end of the queue, this behavior is called tail drop.

Fair Queuing Algorithm

  • The essence of this algorithm is that routers have separate queues, one for each flow for a given output line. When the line becomes idle, the router scans the queues round-robin.
  • It then takes the first packet on the next queue.
  • In this way, with n hosts competing for the output line, each host gets to send one out of every n packets.
  • It is fair in the sense that all flows get to send packets at the same rate. Sending more packets will not improve this rate. ������

��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

67

68 of 87

68

1/30/2024

Packet Scheduling

Round Robin Fair Queuing

������

��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

68

69 of 87

69

1/30/2024

Packet Scheduling

Weighted Fair Queuing

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

69

70 of 87

70

1/30/2024

Packet Scheduling

Weighted Fair Queuing

  • If a packet has length L, the round at which it will finish is simply L rounds after the start time.
  • The start time is either the finish time of the previous packet, or the arrival time of the packet, if the queue is empty when it arrives. �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

70

71 of 87

71

1/30/2024

Packet Scheduling

Weighted Fair Queuing

From the table in Fig. 5-32(b), and looking only at the first two packets in the top two queues, packets arrive in the order A, B, D, and F. Packet A arrives at round 0 and is 8 bytes long, so its finish time is round 8. Similarly the finish time for packet B is 11. Packet D arrives while B is being sent. Its finish time is 9 byte-rounds after it starts when B finishes, or 20. Similarly, the finish time for F is 16. In the absence of new arrivals, the relative sending order is A, B, F, D, even though F arrived after D. It is possible that another small packet will arrive on the top flow and obtain a finish time before D. It will only jump ahead of D if the transmission of that packet has not started. ��

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

71

72 of 87

72

1/30/2024

Packet Scheduling

Weighted Fair Queuing

  • WFQ requires that packets be inserted by their finish time into a sorted queue.
  • With N flows, this is at best an O(logN) operation per packet, which is difficult to achieve for many flows in high-speed routers. �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

72

73 of 87

73

1/30/2024

Admission Control

  • QoS guarantees are established through the process of admission control.
  • The guarantees we are considering now are stronger, but the model is the same.
  • The user offers a flow with an accompanying QoS requirement to the network.
  • The network then decides whether to accept or reject the flow based on its capacity and the commitments it has made to other flows.
  • If it accepts, the network reserves capacity in advance at routers to guarantee QoS when traffic is sent on the new flow. � �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

73

74 of 87

74

1/30/2024

Admission Control

  • QoS Routing
  • The reservations must be made at all of the routers along the route that the packets take through the network.
  • Any routers on the path without reservations might become congested, and a single congested router can break the QoS guarantee.
  • Many routing algorithms find the single best path between each source and each destination and send all traffic over the best path.
  • This may cause some flows to be rejected if there is not enough spare capacity along the best path. QoS guarantees for new flows may still be accommodated by choosing a different route for the flow that has excess capacity. This is called QoS routing. �

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

74

75 of 87

75

1/30/2024

Admission Control

  • Flow Specification

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

75

76 of 87

76

1/30/2024

Admission Control

  • Poisson Distribution

ρ=λ/μ is the CPU utilization.

The first factor, 1/μ, is what the service time would be in the absence of competition.

The second factor is the slowdown due to competition with other flows

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

76

77 of 87

77

1/30/2024

Admission Control

Relation of flow Specification to the Router

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

77

78 of 87

78

1/30/2024

Integrated Services

Architecture for streaming multimedia.

It was aimed at both unicast and multicast applications.

RSVP- The Resource reservation Protocol

The main part of the integrated services architecture that is visible to the users of the network is RSVP.

It is described in RFCs 2205–2210.

This protocol is used for making the reservations; other protocols are used for sending the data.

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

78

79 of 87

79

1/30/2024

RSVP

RSVP allows multiple senders to transmit to multiple groups of receivers, permits individual receivers to switch channels freely, and optimizes bandwidth use while at the same time eliminating congestion.

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

79

80 of 87

80

1/30/2024

RSVP

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

80

81 of 87

81

1/30/2024

Differentiated Services

  • Flow-based algorithms have the potential to offer good quality of service to one or more flows because they reserve whatever resources are needed along the route.
  • IETF has also devised a simpler approach to quality of service, one that can be largely implemented locally in each router without advance setup and without having the whole path involved. This approach is known as class-based (as opposed to flow-based) quality of service. IETF has standardized an architecture for it, called differentiated services,

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

81

82 of 87

82

1/30/2024

Differentiated Services

  • Differentiated services can be offered by a set of routers forming an administrative domain (e.g., an ISP or a telco). The administration defines a set of service classes with corresponding forwarding rules.
  • If a customer subscribes to differentiated services, customer packets entering the domain are marked with the class to which they belong. This information is carried in the Differentiated services field of IPv4 and IPv6 packets.
  • The classes are defined as per hop behaviors because they correspond to the treatment the packet will receive at each router, not a guarantee across the network.

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

82

83 of 87

83

1/30/2024

Differentiated Services

  • Class-based service also occurs in other industries.
  • For example, package delivery companies often offer overnight, two-day, and three-day service. Airlines offer first class, business class, and cattle-class service. Long-distance trains often have multiple service classes

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

83

84 of 87

84

1/30/2024

Expedited Forwarding

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

84

85 of 87

85

1/30/2024

Expedited Forwarding

The idea behind expedited forwarding is very simple.

Two classes of service are available: regular and expedited.

The vast majority of the traffic is expected to be regular, but a limited fraction of the packets are expedited.

The expedited packets should be able to transit the network as though no other packets were present

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

85

86 of 87

86

1/30/2024

Assured Forwarding

  • Assured forwarding specifies that there shall be four priority classes, each class having its own resources.
  • The top three classes might be called gold, silver, and bronze.
  • In addition, it defines three discard classes for packets that are experiencing congestion: low, medium, and high.
  • Taken together, these two factors define 12 service classes.

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

86

87 of 87

87

1/30/2024

Assured Forwarding

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

/skit.org.in

/skit.org.in

/skit.org.in

Sri Krishna Institute of Technology

(Approved by AICTE, Accredited by NAAC, Affiliated to VTU, Karnataka)

1/30/2024

87