The essence of various Routing Protocol Configuration Methods

Source: Internet
Author: User

Although we have explained a lot about the configuration of a single type of routing protocol, the configurations of different types of routing protocols are also different. Here we will summarize. In this way, you can perform a comparative study. 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 。

Routing Protocol configuration-static routing configuration

Router (config) iproute + non-direct connection network segment (in other words, except your S port and E port) + subnet mask + next hop address
Router (config)
# 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 RIPOSPF and other external gateway protocols have BGPBGP-4 here mainly talk about the internal gateway protocol, RIP (RoutingInformationprotocol) 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 for Route Protocol Configuration

Router (config)
# Routerrip
Router (config-router)
# Networknetwork-number
Network_number is the direct connection CIDR Block of the vro.

IGRP (InteroorGatewayRoutingProtocol) IGRP broke the 15-hop restriction and became the preferred protocol for RIP and IGRP 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 based on multiple factors. Bandwidth ), latency, Reliability, LOAD, and other factors, but its disadvantage is that it does not support VLSM and discontinuous subnets 。

Routing Protocol configuration-IGRP Configuration

Router (config)
# Routerigrp100 (100 is the autonomous system number)
Router (config-router)
# Networknetwork-number
Router (config-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

OSPF (Enhanced 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 and uses the scattering update algorithm, high routing performance can be achieved. It is characterized by irregular updates, that is, only some update routes are sent when the router changes the metering standard or the topology changes. VSLM supports variable length subnet mask, the routing information can be seamlessly exchanged between the autonomous system numbers of the source and the IGRP 。

The configuration of the routing protocol is roughly the same as that of the IGRP.

Router (config)
# Routervpn (100 is the autonomous system number)
Router (config-router)
# Network
Network-numberrouter (config-router)
# Exit

OSPF for Route Protocol Configuration

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 。

Routing Protocol configuration-OSPF Configuration

Router (config)
# Routerospf3 (3 is the process number)
Router (config-router)
# Network + direct connection CIDR block + subnet mask anti-code (the Anti-code is a wildcard) + region number (the region number must be the same when multiple routers are configured)
Router (config-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 。

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.