Dynamic Routing - CompTIA Network+ N10-009 - 2.1

Professor Messer
26 Jul 202409:12

Summary

TLDRThe video script discusses the shift from static to dynamic routing in network administration. It explains how static routing requires manual configuration on every router, which can be inefficient in large networks. Dynamic routing automates this process, allowing routers to discover and update routes autonomously, reducing the need for manual intervention. The script covers the overhead involved in dynamic routing, such as CPU and memory usage, and the initial configuration of routing protocols. It also explores the process of routers communicating and updating routing tables in real-time, and the importance of choosing the right dynamic routing protocol based on network needs. Protocols like EIGRP, OSPF, and BGP are mentioned, each with its own advantages and use cases, such as EIGRP's quick convergence and OSPF's compatibility across manufacturers. The script concludes by emphasizing the importance of dynamic routing in managing large and complex networks efficiently.

Takeaways

  • ⚙️ Static routing requires manual configuration of routes on every router, which can be impractical for large networks.
  • 🤖 Dynamic routing automates the process of discovering and updating routes among routers.
  • 🔄 Dynamic routing protocols allow routers to automatically update each other about the best routes.
  • 🚀 With dynamic routing, network administrators don't need to manually configure or update routes when network infrastructure changes.
  • 💻 Routers require additional CPU and memory to handle the overhead of dynamic routing.
  • 🛠️ Initial configuration of a dynamic routing protocol is necessary, which may vary in complexity.
  • 🌐 Dynamic routing protocols like EIGRP, OSPF, and BGP make different routing decisions based on various criteria.
  • 🔄 EIGRP is known for quick convergence and is easy to set up, but is often used in Cisco-centric environments.
  • 🌐 OSPF is a link-state protocol used across different manufacturers' devices and can assign costs to links for routing decisions.
  • 🌐 BGP is used for routing outside of an autonomous system, like connecting to the internet.
  • 🔄 Dynamic routing protocols help routers adapt quickly to network changes, such as adding or removing routers.

Q & A

  • What is static routing?

    -Static routing is a method where the network administrator manually configures every route on every router in the organization.

  • Why might static routing be impractical in large networks?

    -In large networks with tens or hundreds of routers, static routing becomes impractical due to the significant administrative overhead and the need for constant manual updates.

  • What is dynamic routing and how does it differ from static routing?

    -Dynamic routing is a process where routers automatically discover and update routes among themselves, eliminating the need for manual static route configurations by the network administrator.

  • How do routers update each other about the best routes in dynamic routing?

    -Routers in dynamic routing update each other by sending routing updates and receiving them, which helps them to discover new routes and update their routing tables accordingly.

  • What is the overhead required for dynamic routing?

    -Dynamic routing requires additional CPU and memory usage within the router to automatically discover routes and update routing tables.

  • What is the initial configuration required for setting up dynamic routing?

    -The initial configuration for dynamic routing involves setting up the dynamic routing protocol, which may require varying levels of planning and engineering.

  • How does dynamic routing handle the addition or removal of routers in a network?

    -Dynamic routing automatically updates the routing tables across the network when a new router is added or an existing one is removed, without requiring user intervention.

  • What is EIGRP and how does it function in dynamic routing?

    -EIGRP (Enhanced Interior Gateway Routing Protocol) is a dynamic routing protocol that efficiently updates routing tables by sending updates over minimal network traffic and quickly converging on routing changes.

  • What are some advantages of using EIGRP in a Cisco-centric environment?

    -EIGRP is advantageous in a Cisco-centric environment because it is relatively easy to set up, converges quickly, and is good at identifying loops and preventing them.

  • What is OSPF and how does it determine the best route?

    -OSPF (Open Shortest Path First) is a dynamic routing protocol that uses a link-state approach to determine the best route based on the least cost, which is often associated with throughput, link availability, and traversal time.

  • Why might BGP be used in a network?

    -BGP (Border Gateway Protocol) is used for routing traffic outside of an autonomous system, such as to other organizations or the internet, and is designed to handle dynamic updates across large networks like the internet.

Outlines

00:00

⚙️ Introduction to Static and Dynamic Routing

Static routing involves manual configuration of routes on each router, which can become a complex task as the number of routers increases. Dynamic routing automates this process, allowing routers to discover and update routes automatically. This eliminates the need for network administrators to manually update routing tables when changes occur. However, dynamic routing requires more resources, like CPU and memory, and involves configuring dynamic routing protocols. The routers will automatically update and adapt to network changes such as adding or removing routers.

05:02

🌐 Dynamic Routing Example with EIGRP

In a network scenario with multiple routers, such as Router 1, which is directly connected to certain subnets but unable to see others, dynamic routing can automatically update its routing tables. The EIGRP protocol enables Router 1 to receive updates from Router 2 and Router 3 about new routes, allowing Router 1 to update its routing table without manual intervention. These updates happen in real time, providing automatic adjustment to the network topology. This ensures that routing tables are kept current as routers are added or removed from the network.

🚦 The Mechanism Behind Dynamic Routing

Dynamic routing involves several processes: routers listen for routing updates from others and adjust their routing tables based on these updates. These updates are often sent via multicast directly between routers. Once a router receives an update, it compares the new information with its existing routes to determine the best path. Different routing protocols use various criteria to make these decisions, and changes in the network infrastructure trigger routers to notify others. This ensures that all routers maintain an accurate and efficient routing table as the network evolves.

🔍 Choosing the Right Dynamic Routing Protocol

The choice of a dynamic routing protocol depends on various factors, such as whether routing decisions should be based on link state or hop count, and how quickly updates should be made. Routing protocols vary in how they assess the best path and how fast they react to network changes. Protocols like BGP and OSPF are widely supported across multiple vendors, while EIGRP is primarily Cisco-specific. Despite this, EIGRP can be easy to set up in Cisco environments and is highly efficient in preventing loops and conserving bandwidth.

🔄 Understanding EIGRP and Its Benefits

EIGRP, a Cisco-centric routing protocol, offers quick convergence and efficient routing table updates. It is designed to minimize network traffic while maintaining updated routes between routers. EIGRP detects other EIGRP-enabled routers and sends updates only when necessary. This efficiency helps preserve network bandwidth for other applications. Although proprietary to Cisco, EIGRP can be found on some non-Cisco routers and is relatively simple to configure, making it an attractive choice for organizations with a Cisco-heavy infrastructure.

🌍 OSPF: A Standardized Dynamic Routing Protocol

OSPF (Open Shortest Path First) is a widely supported dynamic routing protocol used across various manufacturers' devices. It is commonly implemented in autonomous systems (AS), such as large-scale networks with multiple routers. As a link-state protocol, OSPF calculates the best route based on factors like link cost, availability, and throughput. OSPF allows for efficient routing decisions by assigning lower costs to better-performing links. It also supports load balancing across identical-cost paths and is ideal for controlled networks with multiple routers.

🌐 BGP: Routing Across Autonomous Systems and the Internet

BGP (Border Gateway Protocol) is the go-to protocol for routing between autonomous systems, especially in large-scale networks like the internet. Known for its role in connecting different organizations and internet service providers, BGP handles the complexity of updating routes across the global internet. BGP is often used by organizations with multiple internet connections and can dynamically route traffic to and from external networks. It's regarded as a robust solution for managing large-scale, distributed networks.

Mindmap

Keywords

💡Static Routing

Static routing refers to the manual configuration of network routes by a network administrator on each router. This method can be manageable for small networks with few routers, but it becomes inefficient and time-consuming as the network grows. In the video, it is contrasted with dynamic routing, which automates the process and is more suitable for larger networks.

💡Dynamic Routing

Dynamic routing is a method of automatically configuring routing tables in a network. Routers discover and update routes among themselves without manual intervention from a network administrator. This concept is central to the video's theme, as it presents a more efficient alternative to static routing, especially for large and complex networks.

💡Routing Protocol

A routing protocol is a set of rules that govern how routers exchange information about routes and how to select the best path for network traffic. The video discusses various routing protocols like EIGRP, OSPF, and BGP, each with its own method for determining the best route and updating routing tables.

💡EIGRP (Enhanced Interior Gateway Routing Protocol)

EIGRP is a dynamic routing protocol developed by Cisco that is known for its efficiency and quick convergence. It is highlighted in the video as being easy to set up and effective at preventing routing loops. EIGRP is particularly suitable for networks with a high percentage of Cisco routers.

💡OSPF (Open Shortest Path First)

OSPF is a link-state routing protocol that is vendor-neutral and can be used across different manufacturers' devices. It calculates the best path based on the least cost, which considers factors like link speed and availability. The video mentions OSPF as a common choice for networks where the organization has control over all devices.

💡BGP (Border Gateway Protocol)

BGP is a routing protocol designed for routing between different autonomous systems, such as connecting to the internet. It is discussed in the video as a protocol that can handle the complex task of routing across the internet and is essential for organizations that need to dynamically route traffic to external networks.

💡Routing Table

A routing table is a database that contains a list of routes and their destinations, along with instructions on how to forward network traffic. In the context of the video, dynamic routing protocols automatically update these tables, ensuring that network traffic is directed efficiently through the best available routes.

💡Convergence

Convergence in routing refers to the process of routers in a network reaching an agreement about the best paths to various network destinations. The video emphasizes the speed of convergence as an important aspect of routing protocols, with EIGRP being noted for its quick convergence after network changes.

💡Routing Loop

A routing loop occurs when network traffic is forwarded in a continuous cycle between routers, causing packets to be lost or delayed. The video mentions that EIGRP is capable of identifying and preventing routing loops, which is crucial for maintaining network stability and efficiency.

💡Autonomous System (AS)

An autonomous system is a collection of routers under a single administrative domain that presents a unified routing policy to the internet. The video discusses OSPF in the context of an AS, where it is used to manage routing within a network that the organization fully controls.

💡Link-State Protocol

A link-state protocol is a type of routing protocol that builds a map of the network by exchanging information about the state of each link with all other routers. OSPF is an example of a link-state protocol mentioned in the video, which uses this information to calculate the best path for routing traffic.

Highlights

Static routing requires manual configuration of every route on every router.

Dynamic routing automates the process of discovering and updating routes among routers.

Dynamic routing reduces the administrative burden of managing large networks.

Routers automatically update each other about the best routes in dynamic routing.

Dynamic routing protocols require CPU and memory resources for route discovery.

Initial configuration of dynamic routing protocols is necessary.

Network changes, such as adding or removing routers, are automatically recognized in dynamic routing.

Routers update their routing tables in real-time without user intervention.

EIGRP is a dynamic routing protocol that sends routing updates to other routers.

EIGRP is known for quick convergence and loop prevention.

OSPF is a dynamic routing protocol that works across different manufacturers' devices.

OSPF is a link-state protocol that assigns costs to links for routing decisions.

OSPF allows for load balancing across links with identical costs.

BGP is used for routing traffic outside of an autonomous system, such as the internet.

BGP dynamically updates routes across the entire internet.

Different routing protocols make decisions based on various criteria like link state or hop count.

The choice of routing protocol depends on network requirements and existing infrastructure.

Transcripts

play00:01

Static routing requires the network administrator manually

play00:05

configure every route on every router in the organization.

play00:10

If you have three or four routers,

play00:11

that might not be a big problem.

play00:13

But if you have tens or even hundreds of routers,

play00:17

you might want to have a more automated way for configuring

play00:20

your routing tables.

play00:21

One way to do that is through the process of dynamic routing.

play00:25

Dynamic routing will have the routers

play00:27

handle this process for you, automatically discover

play00:31

these routes, and update each other as to where

play00:34

the best route might be.

play00:35

This means that you as the network administrator

play00:38

don't have to do any type of static route configuration.

play00:42

You don't have to SSH into the router,

play00:44

make any configuration changes, or update

play00:47

those routes if anything changes with your network

play00:49

infrastructure.

play00:50

Any time you bring a new router online, all of the other routers

play00:54

will automatically know where the new route is.

play00:57

And if you happen to remove a router from the network,

play00:59

all of the routers also know that that route is now

play01:02

no longer available.

play01:04

There is a bit of overhead required inside of the router

play01:07

to be able to automatically discover these routes

play01:10

and update the routing tables.

play01:12

This will require some CPU and memory inside of the router,

play01:16

so you may need to do additional monitoring

play01:19

to make sure that your router is able to handle that load.

play01:22

This also requires you to initially configure

play01:25

the dynamic routing protocol.

play01:27

This may be a relatively easy configuration process,

play01:30

or it may require additional planning and engineering

play01:33

to be able to implement it properly

play01:35

in the config of the router.

play01:37

Let's look at this network configuration where we have Sam

play01:41

that may want to communicate across the network to Jack

play01:44

or to Teal'c.

play01:45

You'll notice that there are three different routers.

play01:48

And for this particular example, let's focus on router one.

play01:51

You'll notice that router one is directly connected

play01:54

to three different subnets, but there

play01:57

are two subnets on the other side of router two

play01:59

and router three that router one simply can't see.

play02:03

So we need some way to update router one

play02:06

with those additional routes.

play02:08

One way to do this would be to have router

play02:10

to send a routing update via EIGRP to router one.

play02:15

Router one receives that update and then updates its own routing

play02:19

table with this new route to 10.10.20.0/24.

play02:24

And the way that you get to that network is to go to 10.10.40.2.

play02:29

We also have another EIGRP update that

play02:32

has come from router three.

play02:33

And when that update is received,

play02:35

router one identifies a new route to 10.10.30.0.

play02:40

That's the subnet down at the bottom.

play02:42

And you can see that the next hop is 10.10.50.2.

play02:47

All of these updates occurred in real time behind the scenes

play02:50

without any type of user intervention.

play02:53

And if we happen to add or remove routers

play02:55

from this network, this routing table

play02:57

will be updated with an additional EIGRP

play03:00

update that will either add or remove

play03:03

those routes from the table.

play03:05

Although it looks relatively straightforward to perform

play03:08

these dynamic routing updates, there's actually a lot of work

play03:11

that occurs behind the scenes.

play03:13

First, the router needs to listen to the traffic that

play03:15

is on the local subnet and see if there are other routers that

play03:19

are sending routing updates that it can use

play03:21

to build its own routing table.

play03:23

These are very often sent directly from router to router,

play03:26

either directly or with a multicast.

play03:29

Once a router then builds its routing table,

play03:31

it needs to inform other routers of routes that it knows.

play03:35

So it will send its own multicast

play03:37

to other routers that are nearby,

play03:39

informing them of all of the routes

play03:41

that that router happens to know.

play03:44

Once the other routers receive this update,

play03:46

they need to interpret this information

play03:48

and determine if that's a better route than what they already

play03:51

have or if they should use this as a secondary route.

play03:55

Different routing tables use different methods

play03:57

to make these decisions, and they

play03:59

will update their routing tables differently

play04:01

depending on the protocol you happen to be using.

play04:04

And of course, if there is any change to the network

play04:07

infrastructure, these routers need

play04:08

to inform all of the other routers

play04:10

that the change has occurred.

play04:12

So if we add a new link into our router, we remove a router,

play04:15

or we add a router, we need to make sure

play04:18

that all of our routing tables are updated

play04:20

across the entire network.

play04:22

There are a number of different dynamic routing protocols

play04:25

to choose from.

play04:26

So which one would be the best for

play04:28

your particular implementation?

play04:30

Different routing protocols make routing decisions

play04:33

in different ways.

play04:34

For example, would you like your traffic to be routed based

play04:37

on the state of the link-- whether the link is up or down--

play04:40

or would you like to be able to make that decision based

play04:43

on the number of hops that a link might be away

play04:45

from you or the speed of that connection?

play04:48

Based on the routing protocol that you're using,

play04:50

that decision might be very different.

play04:52

Some routing protocols will use a different criteria

play04:55

to determine the best way to get to a remote location.

play04:59

You might also find that some routing protocols are

play05:01

able to make changes very quickly if anything happens

play05:05

to the underlying infrastructure.

play05:06

So if you add a new router to the network,

play05:09

it might take a number of seconds

play05:10

or it might take a minute, depending

play05:13

on the type of dynamic routing protocol that you're using.

play05:16

And in some cases, we need to take into account the type

play05:19

of router that we're using.

play05:20

Some routing protocols such as BGP and OSPF are very common

play05:25

and can be used across many manufacturers' devices.

play05:28

Some routing protocols such as EIGRP

play05:30

may work best in a Cisco-centric environment.

play05:33

So if you have a lot of Cisco routers,

play05:35

that might be a better routing protocol for you.

play05:38

Although EIGRP tends to be very Cisco-centric,

play05:42

you may find EIGRP is also available on

play05:45

other manufacturers' routers.

play05:47

But there are some aspects of EIGRP

play05:49

that are proprietary to Cisco, so you

play05:51

tend to see it mostly in Cisco-related configurations.

play05:55

But one advantage of EIGRP is that it

play05:58

is relatively easy to set up.

play06:00

You would turn on EIGRP in your Cisco router,

play06:03

give it a few minor configuration options,

play06:06

and it's now up and running with the EIGRP protocol.

play06:10

When there are changes, EIGRP tends

play06:12

to converge relatively quickly, and it's also

play06:15

able to identify any loops and prevent those from occurring

play06:18

on your routed network.

play06:20

EIGRP is also very good at identifying other EIGRP enabled

play06:25

routers and sending updates over a minimum of network traffic.

play06:30

This keeps your network more efficient

play06:32

and leaves your bandwidth available

play06:33

for other applications.

play06:36

If you want a more generic dynamic routing protocol that

play06:39

can be used across different manufacturers' routers,

play06:41

then you might want to try OSPF.

play06:43

This is the Open Shortest Path First routing protocol,

play06:47

and it's one that you'll find available

play06:49

on a number of different manufacturers' devices.

play06:52

This is often implemented in a network

play06:54

where you have complete control of those systems.

play06:57

We often refer to this as an AS, or an Autonomous System.

play07:02

For example, if you're running a wide area network that

play07:05

has 50 different routers, those 50 routers

play07:07

would be part of your single autonomous system.

play07:10

Another advantage of OSPF is that it's

play07:13

available on many different manufacturers' devices.

play07:16

This is a common standard, and you

play07:17

can download this standard from the internet

play07:19

and read through every aspect of OSPF.

play07:23

We refer to OSPF as a link-state protocol, which

play07:26

means it determines what the best route is based

play07:29

on uptime and availability between the different OSPF

play07:32

routers.

play07:33

OSPFs can be used to assign costs to an individual link,

play07:37

so certain links may have a higher cost than another.

play07:41

This allows OSPF to make routing decisions

play07:43

based on what the least cost might be.

play07:45

This cost is often associated with how much throughput

play07:48

may be available on a particular link,

play07:51

if that link is up or down, and how long it takes to traverse

play07:55

that particular connection.

play07:56

With OSPF, the lowest cost and the fastest path

play07:59

is going to be the best route to a remote location.

play08:02

And if there are identical costs on OSPF,

play08:05

many implementations will allow you to load balance

play08:08

across both of those links.

play08:10

If you need to route traffic outside of your autonomous

play08:14

system to other organizations, then you

play08:16

might want to use an external gateway protocol such as BGP.

play08:21

BGP is the Border Gateway Protocol,

play08:24

and it's commonly used on our wide area networks and internet

play08:28

connections.

play08:28

Connecting the internet together and being

play08:31

able to dynamically update the routes on the entire internet

play08:35

is a daunting task, and this particular routing protocol

play08:38

was designed with this specific task in mind.

play08:41

Sometimes you'll hear BGP referred

play08:43

to as the three-napkins protocol because it was sketched out

play08:47

on napkins initially to solve this particular type of problem.

play08:51

If your organization has one or more connections to the internet

play08:54

and you want to be able to dynamically route

play08:57

to those internet sites, then you'll

play08:58

want to use a protocol such as BGP.

Rate This

5.0 / 5 (0 votes)

Related Tags
Dynamic RoutingNetwork AutomationRouter ConfigurationEIGRP ProtocolOSPF ProtocolBGP ProtocolRouting EfficiencyNetwork InfrastructureProtocol SelectionCisco Routers