Sei sulla pagina 1di 40

Module 5

OSI Network Layer

Objectives
IPv4
Networks Dividing Hosts into Groups
Routing How Our Data Packets are Handled
Routing Process: How Routes are Learned

IPv4

Network Layer Communication from


Host to Host

Network Layer Protocols


Layer 3 uses four basic processes:
Addressing
Encapsulation
Routing
Decapsulation

Addressing (routed protocol)

The IPv4 Protocol Example Network


Layer Protocol

The IPv4 Protocol Connectionless

The IPv4 Protocol Best Effort

The IPv4 Protocol Media


Independent

IPv4 Packet Packaging the


Transport Layer PDU

10

IPv4 Packet Header

11

Networks Dividing Hosts into Groups

12

Networks Separating Hosts into


Common Groups

13

Grouping Hosts Geographically

14

Grouping Hosts for Specific


Purposes

15

Grouping Hosts for Ownership

16

Why Separate Hosts Into Networks ?


Performance

17

Why Separate Hosts Into Networks ?


Performance

18

Why Separate Hosts Into Networks ?


Security

All users have access to the Internet


Each user can reach servers in its own department
Each user is blocking form reaching servers in other department
19

Why Separate Hosts Into Networks ?


Address Management

20

How Do We Separate Hosts Into


Networks ? Hierarchical Addressing

21

Dividing the Network Networks from


Networks

This is hierarchical addressing because the network portion indicates the


network on which each unique host address is located.
Routers only need to know how to reach each network, rather than needing
to know the location of each individual host.

22

Routing
How Our Data Packets are Handled

23

IP Address Carrying Data End to End

24

A Gateway The Way Out of Our


Network

25

Confirming the Gateway Settings

26

Local Router Routing Table

27

A Route The Path to a Network

28

A Route The Path to a Network

29

The Destination Network

Packets with destination host addresses in one of the network ranges


shown will be matched with the next hop that leads to that network
The precedence of route selection for the packet going to 10.1.1.55
would be:
1. 10.1.1.0
2. 10.1.0.0
3. 10.0.0.0
4. 0.0.0.0 (Default route if configured)
5. Dropped
30

The Destination Network

The routing table shows the default route 0.0.0.0


The router may also use a default route (gateway of last resort) to forward the
packet.
The default route is used when the destination network is not represented by
any other route in the routing table.

31

The Next Hop Where the Packet


Goes Next

32

Packet Forwarding Moving the Packet


Towards its Destination

33

Packet Forwarding Moving the Packet


Towards its Destination

34

Packet Forwarding Moving the Packet


Towards its Destination

35

Routing Process
How Routes are Learned

36

Routing Protocols Sharing the


Routes

37

Static Routing

38

Dynamic Routing

39

Good luck with this module!

40

Potrebbero piacerti anche