+ All Categories
Home > Documents > 4-3 Network Layer.pptx

4-3 Network Layer.pptx

Date post: 04-Jun-2018
Category:
Upload: tutun-juhana
View: 218 times
Download: 0 times
Share this document with a friend

of 30

Transcript
  • 8/13/2019 4-3 Network Layer.pptx

    1/30

    Network Layer (Part 3)

    Computer Networks

    Tutun JuhanaTelecommunication EngineeringSchool of Electrical Engineering & Informatics

    Institut Teknologi Bandung

    4

  • 8/13/2019 4-3 Network Layer.pptx

    2/30

    DELIVERY AND FORWARDINGOF IP PACKETS

  • 8/13/2019 4-3 Network Layer.pptx

    3/30

    Direct Delivery

    3

  • 8/13/2019 4-3 Network Layer.pptx

    4/30

    Indirect Delivery

    4

  • 8/13/2019 4-3 Network Layer.pptx

    5/30

    Forwarding

    Forwarding means to place the packet in its

    route to its destination

    to deliver the packet to the next hop (which can be

    the final destination or the intermediate connectingdevice)

    Two kinds of forwarding

    1. The destination addressbased forwarding (when

    IP is used as a connectionless protocol)2. Label-basedforwarding (when the IP is used as a

    connection-oriented protocol)

    5

  • 8/13/2019 4-3 Network Layer.pptx

    6/30

    FORWARDING BASED ONDESTINATION ADDRESS

    6

  • 8/13/2019 4-3 Network Layer.pptx

    7/30

  • 8/13/2019 4-3 Network Layer.pptx

    8/30

    Next-Hop Method

    The routing table holds only the address of

    the next hop instead of information about

    the complete route

    8

  • 8/13/2019 4-3 Network Layer.pptx

    9/30

  • 8/13/2019 4-3 Network Layer.pptx

    10/30

    Host-Specific Method

    10

  • 8/13/2019 4-3 Network Layer.pptx

    11/30

    Default Method

    11

  • 8/13/2019 4-3 Network Layer.pptx

    12/30

    FORWARDING WITHCLASSFUL ADDRESSING

    12

  • 8/13/2019 4-3 Network Layer.pptx

    13/30

    Forwarding without Subnetting

    13

  • 8/13/2019 4-3 Network Layer.pptx

    14/30

    14

  • 8/13/2019 4-3 Network Layer.pptx

    15/30

    Example 6.2

    Router R1 in Figure 6.8 receives a packet with destination address

    192.16.7.14. Show how the packet is forwarded

    Solution

    The destination address in binary is 11000000 00010000 00000111

    00001110. A copy of the address is shifted 28 bits to the right. Theresult is 00000000 00000000 00000000 00001100 or

    12. The destination network is class C. The network address is

    extracted by masking off the leftmost 24 bits of the destination

    address; the result is 192.16.7.0. The table for Class C is searched.

    The network address is found in the first row. The next-hop address111.15.17.32. and the interface m0 are passed to ARP

    15

  • 8/13/2019 4-3 Network Layer.pptx

    16/30

    16

  • 8/13/2019 4-3 Network Layer.pptx

    17/30

    Forwarding with Subnetting

    17

  • 8/13/2019 4-3 Network Layer.pptx

    18/30

    18

  • 8/13/2019 4-3 Network Layer.pptx

    19/30

    Forwarding with Classless Addressing

    19

  • 8/13/2019 4-3 Network Layer.pptx

    20/30

    20

  • 8/13/2019 4-3 Network Layer.pptx

    21/30

  • 8/13/2019 4-3 Network Layer.pptx

    22/30

    22

  • 8/13/2019 4-3 Network Layer.pptx

    23/30

    Address Aggregation

    In classful addressing, there is only oneentry in the routing table for each site

    outside the organization

    In classless addressing, it is likely that thenumber of routing table entries will

    increaseThe increased size of the table

    results in an increase in the amount oftime needed to search the tableto

    alleviate the problem, the idea of address

    aggregationwas designed23

  • 8/13/2019 4-3 Network Layer.pptx

    24/30

    24

  • 8/13/2019 4-3 Network Layer.pptx

    25/30

    Longest Mask Matching

    25

    The routing table is sorted

    from the longest mask to the

    shortest mask

    Packet arrives withdest. add.140.24.7.200

    By longest mask

    matching

    correctly routed

    to Organization 4

  • 8/13/2019 4-3 Network Layer.pptx

    26/30

    STRUCTURE OF A ROUTER

    26

  • 8/13/2019 4-3 Network Layer.pptx

    27/30

    Components

    27

    performs the functions of the network layer

  • 8/13/2019 4-3 Network Layer.pptx

    28/30

  • 8/13/2019 4-3 Network Layer.pptx

    29/30

    29

  • 8/13/2019 4-3 Network Layer.pptx

    30/30

    30


Recommended