Title: 21' Networking and Internetworking Devices
121?. Networking and Internetworking Devices
- 21.1 Repeaters
- 21.2 Bridges
- 21.3 Routers
- 21.4 Gateways
- 21.5 Routing Algorithms
- 21.6 ??
2Networking and Internetworking Devices(contd)
- An internet is an interconnection of individual
networks. To creates an internet, we need
internetworking devices called routers and
gateways. - An internet is different from the Internet.
- Internet is the name of a specific worldwide
network.
3Networking and Internetworking Devices(contd)
4Networking and Internetworking Devices(contd)
- Connecting devices and the OSI model
Gateway
Application
Application
Presentation
Presentation
Session
Session
Transport
Transport
Network
Network
Router
Data link
Data link
Bridge
Physical
Physical
Repeater
521.1 Repeaters
- is an electronic device that operates on only
the physical layer of the OSI model.
6Repeaters(contd)
- Repeater allows us to extend only the physical
length of a network.
7Repeaters(contd)
821.2 Bridges
- operate in both the physical and the data link
layers of the OSI model.
9Bridges(contd)
- Bridges divide a large network into smaller
segments
10Bridges(contd)
11Bridges(contd)
- Types of Bridges
- Simple Bridges
- Learning Bridges
- Multiport Bridges
1221.3 Routers
- operate in the physical, data link, and
network layers of the OSI model.
13Routers(contd)
- Routers relay packets among multiple
interconnected networks.
14Routers(contd)
- Routing concepts
- Whenever there are multiple options, the router
chooses the pathway. - Least-Cost Routing
- Which path does it choose?
- Decision is based on efficiency(cheapest,
fastest, shortest) - Distributed Routing
- Packet Lifetime(number of hops)
1521.4 Gateways
- potentially operate in all seven layers of the
OSI model(protocol converter).
Application Presentation Session Transport Network
Data link Physical
16Gateways(contd)
1721.5 Routing Algorithms
- - in routing the pathway with the lowest cost is
considered the best. - - as long as the cost of each links is known, a
router can find the optional combination for any
transmission. - - Two common methods are used to calculate the
shortest path between two routers distance
vector routing and link state routing.
18Routing Algorithms(contd)
- Distance Vector Router
- each router periodically shares its knowledge
about the entire network with its neighbors. - 1. Knowledge about the whole network.
- 2. Routing only to neighbors.
- 3. Information sharing at regular intervals.
19Routing Algorithms(contd)
- Sharing Information
- Example of an internet
20Routing Algorithms(contd)
- Concept of distance vector routing
I periodically send my knowledge about the whole
internetwork to A, C.
I periodically send my knowledge about the whole
internetwork to B, D.
I periodically send my knowledge about the whole
internetwork to B, F, E.
I periodically send my knowledge about the whole
internetwork to A.
I periodically send my knowledge about the whole
internetwork to A, D.
I periodically send my knowledge about the whole
internetwork to C, E.
21Routing Algorithms(contd)
- Routing table(distance vector)
22Routing Algorithms(contd)
23Routing Algorithms(contd)
- Updating the table
- Updating routing table for router A
24Routing Algorithms(contd)
- Updating routing table for router C
25Routing Algorithms(contd)
26Routing Algorithms(contd)
- Updating routing table for router F
27Routing Algorithms(contd)
- New updated routing tables
28Routing Algorithms(contd)
29Routing Algorithms(contd)
- Link State Routing
- each router shares its knowledge of its
neighborhood with all routers in the network. - 1. Knowledge about the neighborhood.
- 2. To all routers.
- 3. Information sharing at regular intervals.
30Routing Algorithms(contd)
I send information about my neighbors to every
router.
I send information about my neighbors to every
router.
I send information about my neighbors to every
router.
I send information about my neighbors to every
router.
I send information about my neighbors to every
router.
I send information about my neighbors to every
router.
31Routing Algorithms(contd)
- Packet Cost
- is a weighted value based on a variety of
factors such as security levels, traffic, or
state of the link. - Cost is applied only by routers and not by any
other stations on a network - Cost is applied as a packet leaves the router
rather than as it enters
32Routing Algorithms(contd)
- Cost in link state routing
33Routing Algorithms(contd)
Advertiser
Network
Cost
Neighbor
34Routing Algorithms(contd)
- Getting information about Neighbors(Initialization
) - Flooding of As LSP
35Routing Algorithms(contd)
36Routing Algorithms(contd)
- Link State Database
- every router has exactly the same link state
database
37Routing Algorithms(contd)
- Dijkstra Algorithm
- calculates the shortest path between two points
on a network using a graph made up of nodes and
arcs. - Node networks and routers
- Arc connection between a router and a network
- Cost applied only to the arc from router to
network
38Routing Algorithms(contd)
- Cost in the Dijkstra Algorithm
39Routing Algorithms(contd)
- Shortest Path calculation
40Routing Algorithms(contd)
- Shortest Path calculation
41Routing Algorithms(contd)
- Shortest Path calculation
42Routing Algorithms(contd)
- Shortest Path calculation
43Routing Algorithms(contd)
- Shortest Path calculation
44Routing Algorithms(contd)
- Shortest Path calculation
45Routing Algorithms(contd)
- Shortest Path calculation
46Routing Algorithms(contd)
- Shortest Path calculation
47Routing Algorithms(contd)
- Shortest Path calculation
48Routing Algorithms(contd)
- Shortest Path calculation
49Routing Algorithms(contd)
- Shortest Path calculation
50Routing Algorithms(contd)
- Shortest Path calculation
51Routing Algorithms(contd)
- Shortest Path calculation
52Routing Algorithms(contd)
- Routing Table
- In link state routing, the link state database
is the same for all routers, but shortest path
trees and the routing tables are different for
each router.
53Routing Algorithms(contd)
- Link state routing table for router A
5421.6 ??