Docsity

Routing Fundamentals, Subnets - Computer Network - Lecture Slides, Slides of Computer Networks

Toggle sidebar
bg1
Routing Fundamentals
and Subnets
Semester 1 – Module 11
Module Objectives:
Describe routed protocols
List the steps of data encapsulation in an internetwork as data is routed to Layer 3
devices
Describe connectionless and connection-oriented delivery
Name the IP packet fields
Describe how data is routed
Compare and contrast different types of routing protocols
List and describe several metrics used by routing protocols
List several uses for subnetting
Determine the subnet mask for a given situation
Use a subnet mask to determine the subnet ID
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12

Partial preview of the text

Download Routing Fundamentals, Subnets - Computer Network - Lecture Slides and more Slides Computer Networks in PDF only on Docsity!

Routing Fundamentals

and Subnets

Semester 1 – Module 11

Module Objectives:

 Describe routed protocols  List the steps of data encapsulation in an internetwork as data is routed to Layer 3 devices  Describe connectionless and connection-oriented delivery  Name the IP packet fields  Describe how data is routed  Compare and contrast different types of routing protocols  List and describe several metrics used by routing protocols  List several uses for subnetting  Determine the subnet mask for a given situation  Use a subnet mask to determine the subnet ID Docsity.com

Routable and Routed Protocols

• Protocol is a set of rules that determines how

computers communicate with each other

across networks

• A protocol describes the following:

  • The required format of a message
  • The way that computers must exchange

messages for specific activities

• A routed protocol allows the router to forward

data between nodes on different networks

Packet propagation and switching in a router

  • As a packet travels through an

internetwork to its final destination:

  • the Layer 2 frame headers and trailers are

removed and replaced at every Layer 3

device

Connection VS Connectionless

  • provide the actual end-to-end delivery of data in

an internetwork

  • connectionless system (IP)
    • the destination is not contacted before a packet is sent
    • referred to as packet-switched processes
  • Connection-oriented system (TCP)
    • connection is established between the sender and the recipient before any data is transferred
    • referred to as circuit-switched processes

Router Overview

  • Layer 3 Device
  • Routers must maintain routing tables and make

sure other routers know of changes in the

network topology by using routing protocols

  • When packets arrive at an interface, the router

must use the routing table to determine where to

send them.

  • Uses Metrics to determine the advantage of one

route over another

Routers VS Switches

Path Determination

• router uses path determination to compare

a destination address to the available

routes in its routing table and select the

best path

• routers learn of these available routes

through static routing or dynamic routing

• routers can make decisions based on the

hop count, load, bandwidth, delay, cost,

and reliability of a network link.

Routing Tables

• Routers use routing protocols to build and

maintain routing tables that contain route

information

• Routers keep track of the following

information in their routing tables:

  • Protocol type
  • Next-hop associations
  • Routing metric
  • Outbound interfaces

IGP and EGP

  • Interior Gateway Protocol
    • RIP and RIPv
    • IGRP
    • EIGRP
    • OSPF
    • Intermediate System-to-Intermediate System (IS-IS) protocol
  • Exterior Gateway Protocol
    • EGP
    • BGP

Link State and Distance Vector

  • Distance-vector
    • determines the distance and direction, vector, to any link in the internetwork
    • send all or part of their routing table entries to adjacent routers on a periodic basis
    • RIP, IGRP, EIGRP
  • Link State
    • designed to overcome limitations of distance vector routing protocols
    • respond quickly to network changes sending trigger updates (LSAs) only when a network change has occurred
    • OSPF and IS-IS

Subnetting

  • an internal function of a network
  • host bits are reassigned as network bits, referred

to as ‘borrowing’ bits

  • subnetting enables the network administrator to

provide broadcast containment and low-level

security on the LAN

  • last two bits in the last octet, regardless of the IP

address class, may never be assigned to the

subnetwork

  • (2 power of borrowed bits^ ) – 2 = usable subnets
  • (2 power of remaining host bits^ ) – 2 = usable hosts

Subnet Mask

• the number of bits to use in the subnet

process will depend on the maximum

number of hosts required per subnet

• gives the router the information required to

determine in which network and subnet a

particular host resides

• represented, in the slash format, as /