Sie sind auf Seite 1von 27

Network Fundamentals Lecture 5

Network Layer

1
Network Layer Protocols and Internet Protocol
(IP)
The basic role of the Network Layer in data networks is
Best Path Determination.

2
Network Layer Protocols and Internet Protocol
(IP)
The Internet Protocol IPv4 (and now IPv6) operates at
the network layer.

3
Network Layer Protocols and Internet Protocol
(IP)
There are implications for the use of the IP protocol as
it is connectionless

4
Network Layer Protocols and Internet Protocol
(IP)
The IP protocol is considered an unreliable protocol

5
Network Layer Protocols and Internet Protocol
(IP)
IP is media independent

6
Network Layer Protocols and Internet Protocol
(IP)
The Network layer encapsulates Transport Layer
segments into layer 3 packets

7
Network Layer Protocols and Internet Protocol
(IP)
The major header fields in the IPv4 protocol are shown
below.

8
IP Datgram Header Fields

Version: Version no. of Internet Protocol used (e.g.


IPv4, IPv6).
IHL: Internet Header Length; Length of entire IP
header.
DSCP: Differentiated Services Code Point; this is Type
of Service.
ECN: Explicit Congestion Notification; It carries
information about the congestion seen in the route.

9
IP Datgram Header Fields
Total Length: Length of entire IP Packet (including IP header and IP
Payload).
Identification: If IP packet is fragmented during the transmission, all the
fragments contain same identification number, to identify original IP packet
they belong to.
Flags: 2 bits used, Do Not Fragment, More Fragments.
Fragment Offset: This offset tells the exact position of the fragment in the
original IP Packet.
Time to Live: To avoid looping in the network, every packet is sent with
some TTL value set, which tells the network how many routers (hops) this
packet can cross. At each hop, its value is decremented by one and when
the value reaches zero, the packet is discarded.

10
IP Datgram Header Fields
Protocol: Tells the Network layer at the destination host, to which Protocol
this packet belongs to, i.e. the next level Protocol. For example protocol
number of ICMP is 1, TCP is 6 and UDP is 17.
Header Checksum: This field is used to keep checksum value of entire
header which is then used to check if the packet is received error-free.
Source Address: 32-bit address of the Sender (or source) of the packet.
Destination Address: 32-bit address of the Receiver (or destination) of
the packet.
Options: This is optional field, which is used if the value of IHL is greater
than 5. These options may contain values for options such as Security,
Record Route, Time Stamp, etc.

11
Rather than having all hosts everywhere connected to
one vast global network, it is more practical and
manageable to group hosts into specific networks.

12
Layer 2 switches divides a network into many collision domains but just a
single broadcast domain.

13
Replacing the central switch with a router results in two or more broadcast
domains this results in improved network performance.

14
Dividing a large network can increase network security

Deny access

Deny access

15
Hierarchical addressing solves the problem of devices
communicating across networks of networks

16
17
The role of an intermediary gateway device allows
devices to communicate across sub-divided networks

18
Trace the steps of an IP packet as it traverses
unchanged via routers from sub network to sub-network

19
Routers use route tables to direct packets toward their
ultimate destinations

20
Routes in a routing table have three main features:
1] Destination network 2] Next-hop 3] Metric

21
Describe the purpose and use of the destination
network in a route

22
23
Fundamentals of Routes, Next Hop Addresses
and Packet Forwarding
Trace the steps of several IP packets as they are
routed through several gateways from devices on one
sub network to devices on other sub networks

24
Routes can be learned dynamically using Routing
Protocols, or entered statically.

25
26
Summary

27

Das könnte Ihnen auch gefallen