Data Communication & Network: Unit - 3
Data Communication & Network: Unit - 3
Data Communication & Network: Unit - 3
Unit -3
Network Layer
Dr. S. P. Ponnusamy
Assistant Professor
1
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
• Network Layer
Design issues
Routing Algorithms
Shortest path routing
Flooding
Broadcast
Multicast routing
• Congestion Control
• Internetworking.
2
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
3
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
4
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
5
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
6
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
7
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
8
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
9
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
10
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
11
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
12
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
13
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
15
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
16
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
17
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
18
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
19
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
20
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
• Nonadaptive (static)
– Do not use measurements of current conditions
– Static routes are downloaded at boot time
• Adaptive Algorithms(dynamic)
– Change routes dynamically
• Gather information at runtime
locally
from adjacent routers
from all other routers
• Change routes
When load changes
When topology changes
22
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
24
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
26
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
34
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
35
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
37
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
• Open-loop approach
Attempt to prevent problems rather than correct them
Does not utilize runtime feedback from the system
Problem is solved at the design cycle
Once the system is running midcourse correction are NOT made.
Tools for doing open-loop control:
o Deciding when to accept new traffic,
o Deciding when to disregard packets and which ones.
o Making scheduling decision at various points in the network.
o Note that all those decisions are made without regard to the current state of
the network.
38
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
Closed-loop approach
Uses feedback (measurements of system performance) to make
corrections at runtime.
It is based on the principle of feedback-loop. The approach has
three parts when applied to congestion control:
Monitor the system to detect when and where congestion occurs,
Pass this information tot places where action can be taken
Adjust system operation to correct the problem.
39
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
40
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
41
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
43
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
44
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
45
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
Warning Bit
A special bit in the packet header is set by the router
to warn the source when congestion is detected.
When the packet arrived at its destination, the
transport entity copied the bit into the next
acknowledgement sent back to the source.
The source then cut back on traffic.
46
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
47
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
Choke Packets
49
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
50
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
51
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
52
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
Load Shedding
When buffers become full, routers simply discard packets.
Which packet is chosen to be the victim depends on the
application and on the error strategy used in the data link
layer.
For a file transfer, for, e.g. cannot discard older packets
since this will cause a gap in the received data.
For real-time voice or video it is probably better to throw
away old data and keep new packets.
Get the application to mark packets with discard priority.
53
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
54
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
55
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
56
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
57
Department of Computer Science Data & Communication Network
Thiruvalluvar University Model Constituent
College of Arts and Science
Tittagudi – 606 106
End
58
Department of Computer Science Data & Communication Network