際際滷

際際滷Share a Scribd company logo
IP Routing Technologies
Lecture
Basic Routing Concepts
 What is routing?
 The term routing refers to taking a packet from one
device and sending it through the network to
another device on a different network.
 List of the minimum factors a router must
know to be able to affectively route packets:
 Destination address
 Neighbor routers from which it can learn about
remote networks
 Possible routes to all remote networks
 The best route to each remote network
 How to maintain and verify routing information
Routing types
 There are several ways to configure the routing
tables to include all the networks in your
internetwork so that packets will be properly
forwarded. Understanding the different types of
routing will be really helpful when choosing the
best solution for your specific environment and
business requirements.
 Static routing
 Default routing
 Dynamic routing
Static Routing
 Static routing is the process that ensures when
you manually add routes in each routers routing
table. Predictably, there are pros and cons to static
routing, but thats true for all routing approaches.
 There is no overhead on the router CPU, which means
you could probably make do with a cheaper router than
you would need for dynamic routing.
 There is no bandwidth usage between routers, saving
you money on WAN links as well as minimizing overhead
on the router since youre not using a routing protocol.
 It adds security because you, the administrator, can be
very exclusive and choose to allow routing access to
certain networks only.
Static Routing
And here are the cons:
 Whoever the administrator is must have a vault-tight
knowledge of the internetwork and how each router is
connected in order to configure routes correctly. If you
dont have a good, accurate map of your internetwork,
things will get very messy quickly!
 If you add a network to the internetwork, you have to
tediously add a route to it on all routers by hand, which
only gets increasingly insane as the network grows.
 Due to the last point, its just not feasible to use it in
most large networks because maintaining it would be a
full-time job in and of itself.
Static Routing
 Heres the command syntax you use to add a static route to
a routing table from global config:
 ip route [ destination_network ] [ mask ] [ next-hop_address or
exitinterface ] [ administrative_distance ] [permanent]
 This list describes each command in the string:
 ip route The command used to create the static route.
 destination_network The network youre placing in the routing
table.
 mask The subnet mask being used on the network.
 next-hop_address This is the IP address of the next-hop router that
will receive packets and forward them to the remote network, which
must signify a router interface thats on a directly connected
network. You must be able to successfully ping the router interface
before you can add the route. Important note to self is that if you
type in the wrong next-hop address or the interface to the correct
router is down, the static route will show up in the routers
configuration but not in the routing table.
Static Routing
 Heres the command syntax you use to add a static route
to a routing table from global config:
 ip route [ destination_network ] [ mask ] [ next-hop_address
or exitinterface ] [ administrative_distance ] [permanent]
 This list describes each command in the string:
 exitinterface Used in place of the next-hop address if you want
and shows up as a directly connected route.
 administrative_distance By default, static routes have an
administrative distance of 1 or 0 if you use an exit interface
instead of a next-hop address. You can change the default value
by adding an administrative weight at the end of the command.
 permanent If the interface is shut down or the router cant
communicate to the next-hop router, the route will automatically
be discarded from the routing table by default. Choosing the
permanent option keeps the entry in the routing table no matter
what happens.
Default Routing
 A stub network indicates that the networks in this design have
only one way out to reach all other networks, which means that
instead of creating multiple static routes, we can just use a
single default route. This default route is used by IP to forward
any packet with a destination not found in the routing table,
which is why it is also called a gateway of last resort.
 ip route 0.0.0.0 0.0.0.0 s0/0
 Configuring a default route is a lot easier than typing a bunch of
static routes! Everything the router receives with a destination
not found in the routing table will be forwarded to 172.16.10.5.
 You need to be careful where you place default routes because
you can easily create a network loop!
Dynamic Routing
 With dynamic routing, protocols are used to
find networks and update routing tables on
routers. This is a whole lot easier than using
static or default routing, but it will cost you in
terms of router CPU processing and bandwidth
on network links.
 A routing protocol defines the set of rules used
by a router when it communicates routing
information between neighboring routers.
Common routing protocols include RIP, EIGRP,
and OSPF.
Types of Routing Protocols
 There are two basic types of routing protocols:
 Distance-vector protocols
 Link-state protocols
Distance Vector
 The distance-vector protocols in use today find
the best path to a remote network by judging
distance.
 In RIP routing, each instance where a packet
goes through a router is called a hop, and the
route with the least number of hops to the
network will be chosen as the best one. The
vector indicates the direction to the remote
network.
 RIP is a distance-vector routing protocol and
periodically sends out the entire routing table
to directly connected neighbors.
(a) A network.
(b) Input from A, I, H, K, and the new routing table for J.
Distance Vector Routing
Distance Vector
 Concerns:
 Low speed links
 Slow Convergence
 Count to infinity
 The simplicity and maturity of distance vector
protocols has led to their popularity. The
primary drawback of traditional
implementation of distance vector protocols is
slow convergence
The Count-to-Infinity Problem
The count-to-infinity problem
Link State
 In link-state protocols, also called shortest-path-first
protocols, the routers each create three separate
tables.
 One of these tables keeps track of directly attached
neighbors,
 One determines the topology of the entire internetwork
 And one is used as the routing table.
 Routers running link-state protocols do not exchange
routing tables as distance vector protocols do. Rather,
they exchange information about adjacent neighbors
and networks and include metric information
associated with the connection.
Administrative Distance
 The administrative distance (AD) is used to rate the trustworthiness
of routing information received on a router from a neighbor router.
 An administrative distance is represented by an integer from 0 to
255, where 0 is the most trusted and 255 means no traffic will be
passed via this route.
 If a router receives two updates listing the same remote network, the
first thing the router checks is the AD. If one of the advertised routes
has a lower AD than the other, then the route with the lowest AD will
be chosen and placed in the routing table.
 If both advertised routes to the same network have the same AD,
then routing protocol metrics like hop count and/or bandwidth of the
lines will be used to find the best path to the remote network. The
advertised route with the lowest metric will be placed in the routing
table.
 But if both advertised routes have the same AD as well as the same
metrics, then the routing protocol will load-balance to the remote
network, meaning the protocol will send data down each link.
Administrative Distance
 Table shows the default administrative distances that a Cisco
router uses to decide which route to take to a remote
network.
Split Horizon
 Split horizon is a type of distance-vector
routing rule used to prevent routing loops in
distant-vector routing protocols. When a
router learns a route update from a neighbor,
the router will not advertise the update back
out the interface on which it was received.
Metric
 Often referred to as routing metric, a metric
is a measurement used by a routing protocol
to calculate the best path to a remote
network. Each routing protocol uses a
different metric to calculate the best path.
Next Hop
 Next hop refers to the next closest router a
packet will go through on its way to its
destination.
Thanks
21

More Related Content

Similar to 7-ROUTING IN COMPUTER NETWORKS .pptx (20)

Routing
RoutingRouting
Routing
Ivan Ivanovich Ivanov
computer communications
computer communicationscomputer communications
computer communications
JAYASHSINGHRA2111003
Routing
RoutingRouting
Routing
RJ Fahim
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routing
phanleson
Tcil_Concept of Routing_n_protocols.pptx
Tcil_Concept of Routing_n_protocols.pptxTcil_Concept of Routing_n_protocols.pptx
Tcil_Concept of Routing_n_protocols.pptx
VINAYTANWAR18
ccna2_mod6_Routing & Routing Protocols.pptx
ccna2_mod6_Routing & Routing Protocols.pptxccna2_mod6_Routing & Routing Protocols.pptx
ccna2_mod6_Routing & Routing Protocols.pptx
sumankumar770546
Routing of netwok protocls and how .pptx
Routing of netwok protocls and how .pptxRouting of netwok protocls and how .pptx
Routing of netwok protocls and how .pptx
sayidkhalif
Ch5
Ch5Ch5
Ch5
Abdisalam A. Mohamed
35d70683c4fd405d89db4a5287aa4b89
35d70683c4fd405d89db4a5287aa4b8935d70683c4fd405d89db4a5287aa4b89
35d70683c4fd405d89db4a5287aa4b89
Abdisalam A. Mohamed
Lecture number 5 Theory.pdf(machine learning)
Lecture  number  5 Theory.pdf(machine learning)Lecture  number  5 Theory.pdf(machine learning)
Lecture number 5 Theory.pdf(machine learning)
ZainabShahzad9
Chapter07
Chapter07Chapter07
Chapter07
Muhammad Ahad
6978047_2.ppt
6978047_2.ppt6978047_2.ppt
6978047_2.ppt
MeseleBerhanu4
Routing
RoutingRouting
Routing
Sisir Ghosh
routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)
Shanza Sohail
09 module determinig ip routes
09  module determinig ip routes09  module determinig ip routes
09 module determinig ip routes
Asif
Connected, Static & Dynamic Routes
Connected, Static & Dynamic RoutesConnected, Static & Dynamic Routes
Connected, Static & Dynamic Routes
NetProtocol Xpert
Routing Protocols
Routing ProtocolsRouting Protocols
Routing Protocols
Dr.Ashvini Chaudhari Bhongade
1164 Routers
1164 Routers1164 Routers
1164 Routers
techbed
Chapter -1 Basic Network Routing Concepts.pptx
Chapter -1 Basic Network Routing Concepts.pptxChapter -1 Basic Network Routing Concepts.pptx
Chapter -1 Basic Network Routing Concepts.pptx
AhmedTk1
Ns lecture1: Introduction to Routing Protocol
Ns lecture1: Introduction to Routing ProtocolNs lecture1: Introduction to Routing Protocol
Ns lecture1: Introduction to Routing Protocol
Aksum Institute of Technology(AIT, @Letsgo)
Routing
RoutingRouting
Routing
RJ Fahim
Chapter 06 - Routing
Chapter 06 - RoutingChapter 06 - Routing
Chapter 06 - Routing
phanleson
Tcil_Concept of Routing_n_protocols.pptx
Tcil_Concept of Routing_n_protocols.pptxTcil_Concept of Routing_n_protocols.pptx
Tcil_Concept of Routing_n_protocols.pptx
VINAYTANWAR18
ccna2_mod6_Routing & Routing Protocols.pptx
ccna2_mod6_Routing & Routing Protocols.pptxccna2_mod6_Routing & Routing Protocols.pptx
ccna2_mod6_Routing & Routing Protocols.pptx
sumankumar770546
Routing of netwok protocls and how .pptx
Routing of netwok protocls and how .pptxRouting of netwok protocls and how .pptx
Routing of netwok protocls and how .pptx
sayidkhalif
35d70683c4fd405d89db4a5287aa4b89
35d70683c4fd405d89db4a5287aa4b8935d70683c4fd405d89db4a5287aa4b89
35d70683c4fd405d89db4a5287aa4b89
Abdisalam A. Mohamed
Lecture number 5 Theory.pdf(machine learning)
Lecture  number  5 Theory.pdf(machine learning)Lecture  number  5 Theory.pdf(machine learning)
Lecture number 5 Theory.pdf(machine learning)
ZainabShahzad9
routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)routing basics - (static-default-dynamic)
routing basics - (static-default-dynamic)
Shanza Sohail
09 module determinig ip routes
09  module determinig ip routes09  module determinig ip routes
09 module determinig ip routes
Asif
Connected, Static & Dynamic Routes
Connected, Static & Dynamic RoutesConnected, Static & Dynamic Routes
Connected, Static & Dynamic Routes
NetProtocol Xpert
1164 Routers
1164 Routers1164 Routers
1164 Routers
techbed
Chapter -1 Basic Network Routing Concepts.pptx
Chapter -1 Basic Network Routing Concepts.pptxChapter -1 Basic Network Routing Concepts.pptx
Chapter -1 Basic Network Routing Concepts.pptx
AhmedTk1

More from shawwalrashed (6)

9-STP-Collision Domain, Broadcast Domain.pptx
9-STP-Collision Domain, Broadcast Domain.pptx9-STP-Collision Domain, Broadcast Domain.pptx
9-STP-Collision Domain, Broadcast Domain.pptx
shawwalrashed
OSPF IN COMPUTER NETWORKING..............
OSPF IN COMPUTER NETWORKING..............OSPF IN COMPUTER NETWORKING..............
OSPF IN COMPUTER NETWORKING..............
shawwalrashed
8-DNS IN COMPUTER CN .pptx
8-DNS IN COMPUTER  CN              .pptx8-DNS IN COMPUTER  CN              .pptx
8-DNS IN COMPUTER CN .pptx
shawwalrashed
2-Network Topologies IN COMP NETWORKED.pptx
2-Network Topologies IN COMP NETWORKED.pptx2-Network Topologies IN COMP NETWORKED.pptx
2-Network Topologies IN COMP NETWORKED.pptx
shawwalrashed
1-Network and its elements in cOMP N.pptx
1-Network and its elements in cOMP N.pptx1-Network and its elements in cOMP N.pptx
1-Network and its elements in cOMP N.pptx
shawwalrashed
CLASSES AND OBJECT IN python or c++ ppt.
CLASSES AND OBJECT IN python or c++ ppt.CLASSES AND OBJECT IN python or c++ ppt.
CLASSES AND OBJECT IN python or c++ ppt.
shawwalrashed
9-STP-Collision Domain, Broadcast Domain.pptx
9-STP-Collision Domain, Broadcast Domain.pptx9-STP-Collision Domain, Broadcast Domain.pptx
9-STP-Collision Domain, Broadcast Domain.pptx
shawwalrashed
OSPF IN COMPUTER NETWORKING..............
OSPF IN COMPUTER NETWORKING..............OSPF IN COMPUTER NETWORKING..............
OSPF IN COMPUTER NETWORKING..............
shawwalrashed
8-DNS IN COMPUTER CN .pptx
8-DNS IN COMPUTER  CN              .pptx8-DNS IN COMPUTER  CN              .pptx
8-DNS IN COMPUTER CN .pptx
shawwalrashed
2-Network Topologies IN COMP NETWORKED.pptx
2-Network Topologies IN COMP NETWORKED.pptx2-Network Topologies IN COMP NETWORKED.pptx
2-Network Topologies IN COMP NETWORKED.pptx
shawwalrashed
1-Network and its elements in cOMP N.pptx
1-Network and its elements in cOMP N.pptx1-Network and its elements in cOMP N.pptx
1-Network and its elements in cOMP N.pptx
shawwalrashed
CLASSES AND OBJECT IN python or c++ ppt.
CLASSES AND OBJECT IN python or c++ ppt.CLASSES AND OBJECT IN python or c++ ppt.
CLASSES AND OBJECT IN python or c++ ppt.
shawwalrashed

Recently uploaded (20)

1. Mix Design M20 CT.pdf for M20 Grade mix design
1. Mix Design M20 CT.pdf for M20 Grade mix design1. Mix Design M20 CT.pdf for M20 Grade mix design
1. Mix Design M20 CT.pdf for M20 Grade mix design
smghumare
Video Games and Artificial-Realities.pptx
Video Games and Artificial-Realities.pptxVideo Games and Artificial-Realities.pptx
Video Games and Artificial-Realities.pptx
HadiBadri1
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdfKevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Medicoz Clinic
Forensic Science Digital Forensics Digital Evidence The Digital Forensi...
Forensic Science  Digital Forensics  Digital Evidence  The Digital Forensi...Forensic Science  Digital Forensics  Digital Evidence  The Digital Forensi...
Forensic Science Digital Forensics Digital Evidence The Digital Forensi...
ManiMaran230751
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDINGMODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
Dr. BASWESHWAR JIRWANKAR
DE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITS
DE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITSDE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITS
DE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITS
Sridhar191373
DIGITAL ELECTRONICS: UNIT-III SYNCHRONOUS SEQUENTIAL CIRCUITS
DIGITAL ELECTRONICS: UNIT-III SYNCHRONOUS SEQUENTIAL CIRCUITSDIGITAL ELECTRONICS: UNIT-III SYNCHRONOUS SEQUENTIAL CIRCUITS
DIGITAL ELECTRONICS: UNIT-III SYNCHRONOUS SEQUENTIAL CIRCUITS
Sridhar191373
DIY Gesture Control ESP32 LiteWing Drone using Python
DIY Gesture Control ESP32 LiteWing Drone using  PythonDIY Gesture Control ESP32 LiteWing Drone using  Python
DIY Gesture Control ESP32 LiteWing Drone using Python
CircuitDigest
Prediction of Unconfined Compressive Strength of Expansive Soil Amended with ...
Prediction of Unconfined Compressive Strength of Expansive Soil Amended with ...Prediction of Unconfined Compressive Strength of Expansive Soil Amended with ...
Prediction of Unconfined Compressive Strength of Expansive Soil Amended with ...
Journal of Soft Computing in Civil Engineering
BEC602- Module 3-2-Notes.pdf.Vlsi design and testing notes
BEC602- Module 3-2-Notes.pdf.Vlsi design and testing notesBEC602- Module 3-2-Notes.pdf.Vlsi design and testing notes
BEC602- Module 3-2-Notes.pdf.Vlsi design and testing notes
VarshithaP6
Fresh concrete Workability Measurement
Fresh concrete  Workability  MeasurementFresh concrete  Workability  Measurement
Fresh concrete Workability Measurement
SasiVarman5
UNIT-1-PPT-Introduction about Power System Operation and Control
UNIT-1-PPT-Introduction about Power System Operation and ControlUNIT-1-PPT-Introduction about Power System Operation and Control
UNIT-1-PPT-Introduction about Power System Operation and Control
Sridhar191373
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCHUNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
Sridhar191373
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
RishabhGupta578788
ISO 4548-9 Oil Filter Anti Drain Catalogue.pdf
ISO 4548-9 Oil Filter Anti Drain Catalogue.pdfISO 4548-9 Oil Filter Anti Drain Catalogue.pdf
ISO 4548-9 Oil Filter Anti Drain Catalogue.pdf
FILTRATION ENGINEERING & CUNSULTANT
Proposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor RuleProposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor Rule
AlvaroLinero2
Department of Environment (DOE) Mix Design with Fly Ash.
Department of Environment (DOE) Mix Design with Fly Ash.Department of Environment (DOE) Mix Design with Fly Ash.
Department of Environment (DOE) Mix Design with Fly Ash.
MdManikurRahman
ISO 5011 Air Filter Catalogues .pdf
ISO 5011 Air Filter Catalogues      .pdfISO 5011 Air Filter Catalogues      .pdf
ISO 5011 Air Filter Catalogues .pdf
FILTRATION ENGINEERING & CUNSULTANT
Introduction to Machine Vision by Cognex
Introduction to Machine Vision by CognexIntroduction to Machine Vision by Cognex
Introduction to Machine Vision by Cognex
RicardoCunha203173
[HIFLUX] Lok Fitting&Valve Catalog 2025 (Eng)
[HIFLUX] Lok Fitting&Valve Catalog 2025 (Eng)[HIFLUX] Lok Fitting&Valve Catalog 2025 (Eng)
[HIFLUX] Lok Fitting&Valve Catalog 2025 (Eng)
危 / HIFLUX Co., Ltd.
1. Mix Design M20 CT.pdf for M20 Grade mix design
1. Mix Design M20 CT.pdf for M20 Grade mix design1. Mix Design M20 CT.pdf for M20 Grade mix design
1. Mix Design M20 CT.pdf for M20 Grade mix design
smghumare
Video Games and Artificial-Realities.pptx
Video Games and Artificial-Realities.pptxVideo Games and Artificial-Realities.pptx
Video Games and Artificial-Realities.pptx
HadiBadri1
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdfKevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Kevin Corke Spouse Revealed A Deep Dive Into His Private Life.pdf
Medicoz Clinic
Forensic Science Digital Forensics Digital Evidence The Digital Forensi...
Forensic Science  Digital Forensics  Digital Evidence  The Digital Forensi...Forensic Science  Digital Forensics  Digital Evidence  The Digital Forensi...
Forensic Science Digital Forensics Digital Evidence The Digital Forensi...
ManiMaran230751
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDINGMODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
MODULE 4 BUILDING PLANNING AND DESIGN SY BTECH HVAC SYSTEM IN BUILDING
Dr. BASWESHWAR JIRWANKAR
DE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITS
DE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITSDE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITS
DE-UNIT-V MEMORY DEVICES AND DIGITAL INTEGRATED CIRCUITS
Sridhar191373
DIGITAL ELECTRONICS: UNIT-III SYNCHRONOUS SEQUENTIAL CIRCUITS
DIGITAL ELECTRONICS: UNIT-III SYNCHRONOUS SEQUENTIAL CIRCUITSDIGITAL ELECTRONICS: UNIT-III SYNCHRONOUS SEQUENTIAL CIRCUITS
DIGITAL ELECTRONICS: UNIT-III SYNCHRONOUS SEQUENTIAL CIRCUITS
Sridhar191373
DIY Gesture Control ESP32 LiteWing Drone using Python
DIY Gesture Control ESP32 LiteWing Drone using  PythonDIY Gesture Control ESP32 LiteWing Drone using  Python
DIY Gesture Control ESP32 LiteWing Drone using Python
CircuitDigest
BEC602- Module 3-2-Notes.pdf.Vlsi design and testing notes
BEC602- Module 3-2-Notes.pdf.Vlsi design and testing notesBEC602- Module 3-2-Notes.pdf.Vlsi design and testing notes
BEC602- Module 3-2-Notes.pdf.Vlsi design and testing notes
VarshithaP6
Fresh concrete Workability Measurement
Fresh concrete  Workability  MeasurementFresh concrete  Workability  Measurement
Fresh concrete Workability Measurement
SasiVarman5
UNIT-1-PPT-Introduction about Power System Operation and Control
UNIT-1-PPT-Introduction about Power System Operation and ControlUNIT-1-PPT-Introduction about Power System Operation and Control
UNIT-1-PPT-Introduction about Power System Operation and Control
Sridhar191373
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCHUNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
UNIT-4-PPT UNIT COMMITMENT AND ECONOMIC DISPATCH
Sridhar191373
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
9aeb2aae-3b85-47a5-9776-154883bbae57.pdf
RishabhGupta578788
Proposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor RuleProposed EPA Municipal Waste Combustor Rule
Proposed EPA Municipal Waste Combustor Rule
AlvaroLinero2
Department of Environment (DOE) Mix Design with Fly Ash.
Department of Environment (DOE) Mix Design with Fly Ash.Department of Environment (DOE) Mix Design with Fly Ash.
Department of Environment (DOE) Mix Design with Fly Ash.
MdManikurRahman
Introduction to Machine Vision by Cognex
Introduction to Machine Vision by CognexIntroduction to Machine Vision by Cognex
Introduction to Machine Vision by Cognex
RicardoCunha203173
[HIFLUX] Lok Fitting&Valve Catalog 2025 (Eng)
[HIFLUX] Lok Fitting&Valve Catalog 2025 (Eng)[HIFLUX] Lok Fitting&Valve Catalog 2025 (Eng)
[HIFLUX] Lok Fitting&Valve Catalog 2025 (Eng)
危 / HIFLUX Co., Ltd.

7-ROUTING IN COMPUTER NETWORKS .pptx

  • 2. Basic Routing Concepts What is routing? The term routing refers to taking a packet from one device and sending it through the network to another device on a different network. List of the minimum factors a router must know to be able to affectively route packets: Destination address Neighbor routers from which it can learn about remote networks Possible routes to all remote networks The best route to each remote network How to maintain and verify routing information
  • 3. Routing types There are several ways to configure the routing tables to include all the networks in your internetwork so that packets will be properly forwarded. Understanding the different types of routing will be really helpful when choosing the best solution for your specific environment and business requirements. Static routing Default routing Dynamic routing
  • 4. Static Routing Static routing is the process that ensures when you manually add routes in each routers routing table. Predictably, there are pros and cons to static routing, but thats true for all routing approaches. There is no overhead on the router CPU, which means you could probably make do with a cheaper router than you would need for dynamic routing. There is no bandwidth usage between routers, saving you money on WAN links as well as minimizing overhead on the router since youre not using a routing protocol. It adds security because you, the administrator, can be very exclusive and choose to allow routing access to certain networks only.
  • 5. Static Routing And here are the cons: Whoever the administrator is must have a vault-tight knowledge of the internetwork and how each router is connected in order to configure routes correctly. If you dont have a good, accurate map of your internetwork, things will get very messy quickly! If you add a network to the internetwork, you have to tediously add a route to it on all routers by hand, which only gets increasingly insane as the network grows. Due to the last point, its just not feasible to use it in most large networks because maintaining it would be a full-time job in and of itself.
  • 6. Static Routing Heres the command syntax you use to add a static route to a routing table from global config: ip route [ destination_network ] [ mask ] [ next-hop_address or exitinterface ] [ administrative_distance ] [permanent] This list describes each command in the string: ip route The command used to create the static route. destination_network The network youre placing in the routing table. mask The subnet mask being used on the network. next-hop_address This is the IP address of the next-hop router that will receive packets and forward them to the remote network, which must signify a router interface thats on a directly connected network. You must be able to successfully ping the router interface before you can add the route. Important note to self is that if you type in the wrong next-hop address or the interface to the correct router is down, the static route will show up in the routers configuration but not in the routing table.
  • 7. Static Routing Heres the command syntax you use to add a static route to a routing table from global config: ip route [ destination_network ] [ mask ] [ next-hop_address or exitinterface ] [ administrative_distance ] [permanent] This list describes each command in the string: exitinterface Used in place of the next-hop address if you want and shows up as a directly connected route. administrative_distance By default, static routes have an administrative distance of 1 or 0 if you use an exit interface instead of a next-hop address. You can change the default value by adding an administrative weight at the end of the command. permanent If the interface is shut down or the router cant communicate to the next-hop router, the route will automatically be discarded from the routing table by default. Choosing the permanent option keeps the entry in the routing table no matter what happens.
  • 8. Default Routing A stub network indicates that the networks in this design have only one way out to reach all other networks, which means that instead of creating multiple static routes, we can just use a single default route. This default route is used by IP to forward any packet with a destination not found in the routing table, which is why it is also called a gateway of last resort. ip route 0.0.0.0 0.0.0.0 s0/0 Configuring a default route is a lot easier than typing a bunch of static routes! Everything the router receives with a destination not found in the routing table will be forwarded to 172.16.10.5. You need to be careful where you place default routes because you can easily create a network loop!
  • 9. Dynamic Routing With dynamic routing, protocols are used to find networks and update routing tables on routers. This is a whole lot easier than using static or default routing, but it will cost you in terms of router CPU processing and bandwidth on network links. A routing protocol defines the set of rules used by a router when it communicates routing information between neighboring routers. Common routing protocols include RIP, EIGRP, and OSPF.
  • 10. Types of Routing Protocols There are two basic types of routing protocols: Distance-vector protocols Link-state protocols
  • 11. Distance Vector The distance-vector protocols in use today find the best path to a remote network by judging distance. In RIP routing, each instance where a packet goes through a router is called a hop, and the route with the least number of hops to the network will be chosen as the best one. The vector indicates the direction to the remote network. RIP is a distance-vector routing protocol and periodically sends out the entire routing table to directly connected neighbors.
  • 12. (a) A network. (b) Input from A, I, H, K, and the new routing table for J. Distance Vector Routing
  • 13. Distance Vector Concerns: Low speed links Slow Convergence Count to infinity The simplicity and maturity of distance vector protocols has led to their popularity. The primary drawback of traditional implementation of distance vector protocols is slow convergence
  • 14. The Count-to-Infinity Problem The count-to-infinity problem
  • 15. Link State In link-state protocols, also called shortest-path-first protocols, the routers each create three separate tables. One of these tables keeps track of directly attached neighbors, One determines the topology of the entire internetwork And one is used as the routing table. Routers running link-state protocols do not exchange routing tables as distance vector protocols do. Rather, they exchange information about adjacent neighbors and networks and include metric information associated with the connection.
  • 16. Administrative Distance The administrative distance (AD) is used to rate the trustworthiness of routing information received on a router from a neighbor router. An administrative distance is represented by an integer from 0 to 255, where 0 is the most trusted and 255 means no traffic will be passed via this route. If a router receives two updates listing the same remote network, the first thing the router checks is the AD. If one of the advertised routes has a lower AD than the other, then the route with the lowest AD will be chosen and placed in the routing table. If both advertised routes to the same network have the same AD, then routing protocol metrics like hop count and/or bandwidth of the lines will be used to find the best path to the remote network. The advertised route with the lowest metric will be placed in the routing table. But if both advertised routes have the same AD as well as the same metrics, then the routing protocol will load-balance to the remote network, meaning the protocol will send data down each link.
  • 17. Administrative Distance Table shows the default administrative distances that a Cisco router uses to decide which route to take to a remote network.
  • 18. Split Horizon Split horizon is a type of distance-vector routing rule used to prevent routing loops in distant-vector routing protocols. When a router learns a route update from a neighbor, the router will not advertise the update back out the interface on which it was received.
  • 19. Metric Often referred to as routing metric, a metric is a measurement used by a routing protocol to calculate the best path to a remote network. Each routing protocol uses a different metric to calculate the best path.
  • 20. Next Hop Next hop refers to the next closest router a packet will go through on its way to its destination.

Editor's Notes

  • #2: The term routing refers to taking a packet from one device and sending it through the network to another device on a different network. Routers dont really care about hosts they only care about networks and the best path to each one of them. The logical network address of the destination host is key to get packets through a routed network.
  • #3: if a network isnt directly connected to the router, the router must use one of two ways to learn how to get to the remote network. The static routing method requires someone to hand-type all network locations into the routing table, which can be a pretty daunting task when used on all but the smallest of networks! Conversely, when dynamic routing is used, a protocol on one router communicates with the same protocol running on neighboring routers. The routers then update each other about all the networks they know about and place this information into the routing table. If a change occurs in the network, the dynamic routing protocols automatically inform all routers about the event. If static routing is used, the administrator is responsible for updating all changes by hand onto all routers.