Dynamic routing! Dynamic routing! The principle and configuration of dynamic routing

Dynamic routing! Dynamic routing! The principle and configuration of dynamic routing

1. Introduction to dynamic routing

1. Dynamic routing

Refers to the use of routing protocols by routers to learn about networks and update routing tables.

2. Routing protocol classification

3. Introduction to administrative distance

Administrative distance (AD) is used to determine the credibility of routing information received from adjacent routers. It is an integer from 0 to 255, where 0 means the highest credibility and 255 means that no data flow will use the corresponding route.

Default pipeline distance (Show ip protocols to view the AD value of dynamic routing)

4. Metrics

A metric is a value that a routing protocol assigns to the cost of routing a network to a remote network.

The metrics used in IP routing protocols are as follows:

5. Convergence

  • Router convergence completed
  • When all routing tables contain the same network information
  • As the routers continue to exchange routing information
  • Convergence ends when there is no information
  • The network is not fully functioning when reaching the convergence money

6. Distance Vector-Routing Loops

(1) What is a routing loop?

A routing loop is a phenomenon in which a data packet is continuously transmitted between a series of routers but never reaches its intended destination network.

(2) Impact of routing loops

  • Routers in the loop occupy link bandwidth to repeatedly send and receive traffic.
  • The router's CPU is overwhelmed by the constant circulation of packets
  • Affects network convergence
  • Routing updates may be lost or not processed in a timely manner

(3) Anti-loop mechanism

  • Define a maximum measure to prevent counting to infinity
  • Inhibit Timer
  • Split Horizon
  • Route poisoning or poison reverse
  • Trigger Update

2. Update of RIP routing information

1. RIP routing information updates are based on time period updates (update period is 30 seconds)

When the network topology connected to router A changes, router A updates its routing table and waits until the next sending cycle to announce the updated routing table. After receiving this update information, router B updates its own routing table

2. RIP configuration

Configuration commands:

  1. router rip

network Classified network (network10.0.0.0network tells the routing protocol RIP which classified networks to announce)

  • version 2
  • no auto-summary (turn off summary)

View the show ip route command

The experimental environment is as follows:

(1) Configure the IP address of router R2 interface and configure RIP routing

(2) Set up routers R1 and R3 in the same way

(3) View the routing table show ip route

<<:  "Feng Qingyang" Jack Ma will "retire" and look back at the 20 years of China's Internet trends

>>:  Enterprise Network Data Communication Solution Practice - EIGRP

Recommend

Bluetooth 5 and its role in the Internet of Things

What is Bluetooth 5? If you own a car or a smartp...

JuHost: $2.99/month-1GB/20G SSD/1TB/Hong Kong data center

JuHost is a newly opened Hong Kong VPS hosting pr...

Network security attack and defense: wireless network security WEP

[[392852]] The WEP (Wired Equivalent Privacy) pro...

5G deployment makes IoT a convenient part of life

A major shift is happening with IoT devices that ...

802.11be (Wi-Fi 7) Technology Outlook

1. Overview of Wi-Fi 7 New Features Figure 1 is a...

2022 UBBF|Huawei's optical transmission demonstration site is on display

[Bangkok, Thailand, October 28, 2022] From Octobe...

Why can't the 5G package be changed back to 4G?

Recently, the "5G-forced" incident has ...

A "versatile" network tool - Access Control List (ACL)

Peripheral routers, firewalls, and internal route...