Simple routing protocol analysis and Configuration

Source: Internet
Author: User

We all know that the main function of a router is addressing and forwarding addressing. It is a routing algorithm implemented by route computing to add different information collected to the routing table, and forwarding is to communicate with each other through the route table. update and maintain the route table, and communication between routers involves the routing protocol.

The routing protocols mainly include static routes and dynamic routes.
Static Routing: manually entered by the network administrator.
Dynamic Routing: automatically adapts to changes in network topology or traffic through the routing selection protocol.
The advantage of Static Routing is that it is simple, efficient, and has a high priority.

Static route Configuration:

Routerconfig) ip route + non-direct connection CIDR Block (except your S port and E port) + subnet mask + next hop address
Routerconfig) # exit

Dynamic Routing can be divided into internal gateway protocol (IGP) and external Gateway Protocol (BGP) based on whether it is used in an autonomous system)

Common internal gateway protocols include rip ospf and other external gateway protocols have BGP BGP-4 here mainly talk about the internal gateway protocol

RIPRouting Information protocol) it is a routing protocol for distance vector selection. It is widely used because of its simplicity, reliability, and ease of configuration. However, because it supports a maximum of 15 hops and 16 hops, it is only suitable for small networks and 30S route information broadcast is also one of the important reasons for the network broadcast storm.

RIP Configuration

Routerconfig) # router rip
Routerconfig-router) # network-number
Network_number is the direct connection CIDR Block of the vro.

Due to the limitations of RIP, a new Protocol emerged as IGRP.

IGRPInteroor Gateway Routing Protocol) IGRP broke the 15-hop limit and became the preferred Protocol for large CISCO networks at that time, route updates are regularly sent from all configuration interfaces. However, RIP is measured by the number of hops. IGRP establishes the optimal route path with multiple factors; Bandwidth), Delay), Reliability), and LOAD) but its disadvantage is that it does not support VLSM and discontinuous subnets.

IGRP Configuration:

Routerconfig) # router igrp 100100 is the autonomous system number)
Routerconfig-router) # network-number
Routerconfig-router) # exit

Note:
1) The valid range of the serial number is 1-65535. The serial number is used to determine the vrouters and interfaces with the same regional serial numbers.
2) vrouters with different numbers do not participate in route update

EIGRPEnhanced Interoor Gateway Routing Protocol)

VPN is the most typical balanced Hybrid Routing Protocol. It integrates the advantages of Distance Vector and link status routing selection protocols. It uses the scattering update algorithm to achieve high routing performance.

It is characterized by irregular update, that is, only some update routes are sent when the router changes the metering standard or the topology changes. Supports VSLM with a variable-length subnet mask. routes can be seamlessly exchanged between the same autonomous system number and the IGRP.

The configuration of VPN is roughly the same as that of IGRP:

Routerconfig) # router eigrp100 indicates the autonomous system number)
Routerconfig-router) # network
Network-number routerconfig-router) # exit

OSPF

OSPF is a link status routing protocol. The so-called link status refers to the status of the router interface, such as UP, DOWN, IP, network type, and other link status information through the link status announcement LSA) each vro published to the Internet, each vro, establishes a topological database about the network through the LSA information, which can be used in a large network. It also supports VLSM to use bandwidth as a measurement value to accelerate convergence through partitioning. efficient Network Management

OSPF Configuration:

Routerconfig) # router ospf 3 is the process number)
Routerconfig-router) # network + direct connection CIDR block + subnet mask anti-code
The reverse code is a wildcard character) + the region number must be the same when multiple vrouters are configured)
Routerconfig-router) # exit

If the same process number is selected for multiple vro configurations, conflicts may occur theoretically, but they can be the same after actual tests.

These are common routing protocols and configurations. For my personal understanding, they are only for reference by cainiao.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.