How to configure the multi-area OSPF routing protocol in the network

Source: Internet
Author: User
Tags reset firewall

In many routing protocols, OSPF has many advantages, such as its adaptability to all sizes of the network (up to thousands of routers), no self loop, support zoning, can route classification. Let's focus on the division of the region, and before we start, let's take a look at some basic knowledge about zoning:

1, our network can be seen as the composition of a number of autonomous systems, through the collection and transmission of autonomous system link state to dynamically find and propagate routes to achieve the information synchronization of autonomous systems.

2, each autonomous system can be divided into different areas, if a router port is assigned to more than one area, this router is called the area boundary router ABR, it refers to those who are in the region edge to connect multiple areas of the router.

3, through the ABR can learn the routing information of other regions, all ABR and the routers located between them are called backbone regions, and since all regions must be logically connected to backbone areas, the concept of virtual joins is particularly introduced, allowing for the logical connectivity of those areas that are physically partitioned.

4, the router connected to the autonomous system is called Autonomous system boundary router ASBR, through ASBR to learn the routing information outside the OSPF autonomous system (such as static routing, RIP, etc.)

5, a network segment can only belong to the same area

All right, we got it. Later, we carried out our experiments, the experiment by the Huawei three routers, two switches and a firewall to complete, as shown in the following figure, we used OSPF and rip two kinds of routing protocols, OSPF network divided into 3 areas, R1, SW1 and a loopback port on the firewall to facilitate our testing

Topology map

I. Configuration of Router R1

1, first with the IP address

2. Start OSPF and add ports to the zone

It should be noted here that the Huawei router and switch, firewall in the configuration of OSPF some of the differences, we need to start the OSPF

Second, take R1 as an example, configure IP addresses and OSPF for R2

1, after the match we try to ping the S0 port but found that the ping is not pass

It should be noted here that Huawei's equipment in the last port of a link (that is, the S0 on the R1) to be reset, the following to reset and ping again, found through the

2. Configure RIP protocol

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.