Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Interworking between different regions of ospf

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Experiment name: interworking between different regions of ospf

Experimental topology diagram:

3. Configuration idea: first determine the border router, for example, in the figure above, AR2, and AR1 are border routers, and then divide different areas

4. Configuration steps:

# configure all routers with ip addresses first

# configure AR2 with ip address

# interface g0/0/0

# ipaddress 192.168.12.2 25.255.255.0

Interface g0/0/1

Ip address 192.168.23.1 255.255.255.0

Inteface loopback 0

Ip address 192.168.2.1 255.255.255.0 / / virtual port, which can play the role of port backup

# for configuration on AR3

# interface g0/0/1

Ip address 192.168.23.2 255.255.255.0

Interface g0/0/2

Ip address 192.168.34.1 255.255.255.0

Inteface loopback0

Ip address 192.168.3.1 255.255.255.0

# for configuration on AR4

# interface g0/0/2

Ip address 192.168.34.2 255.255.255.0

Interface loopback 0

Ip address 192.168.4.1 255.255.255.0

# next configure the ip address of AR1,AR6,AR5

# configure AR with ip address

Interface g0/0/0

Ip address 192.168.12.1 255.255.255.0

Inteface g0/0/1

Ip address 192.168.35.1 255.255.255.0

Interface loopback0

Ip address 192.168.1.1 255.255.255.0

# configure AR6 with IP address

Interface g0/0/1

Ip address 192.168.35.2 255.255.255.0

Interface g0/0/0

Ip address 192.168.36.1 255.255.255.0

Interface loopback0

Ip address 192.168.6.1 255.255.255.0

# configure AR7 with ip address

Interface g0/0/0

Ip address 192.168.36.2 255.255.255.0

Interface loopback 0

Ip address 192.168.7.1 255.255.255.0

# ip address has been assigned, come down, create a different area for the router, and configure the ospf protocol

# configure ospf for AR2 and create area 0, 34 / / because AR2 is a border router

Ospf 1

Area 0

Network 192.168.12.2 0.0.0.0

Network 192.168.2.1 0.0.0.0 / declare a directly connected route / / is loopback0 port

Area 34

Networ 192.168.23.1 0.0.0.0

# configure OSPF for AR3 and create area 34

Ospf 1

Area 34

Network 192.168.23.2 0.0.0.0

Network 192.168.34.1 0.0.0.0

Network 192.168.3.1 0.0.0.0 / / announces the Loopback0 port

# configure OSPF on AR4 and create 34 regions

Ospf 1

Area 34

Network 192.168.34.1 0.0.0.0

Network 192.168.4.1 0.0.0.0 / / announces the address of the loopbakc0 port

# next configure ospf on AR1, and create area 2

# ospf 1

Area 0

Network 192.168.12.1 0.0.0.0

Network 192.168.1.1 0.0.0.0 / / announces the ip address of the loopback0 port

Area 2

Network 192.168.35.1 0.0.0.0

# configure ospf on AR6 and create area 2

# ospf1

Area 2

Network 192.168.35.2 0.0.0.0

Network 192.168.36.1 0.0.0.0

Network 192.168.6.1 0.0.0.0 / / announces the address of the loopback0 port

# configure ospf on AR7 and create area 2

# ospf1

Area 2

Network 192.168.36.2 0.0.0.0

Network 192.168.7.1 0.0.0.0 / / address of declared pepper loopback0 port

# Test and verification: as shown in the following figure:

# the above figure shows that the whole network has been interconnected

Summary:

# # OSPF Multi-region configuration

# # ABR:area border router, area Border Router

-effect

Realize the interworking between different regions

-definition

A router that connects both backbone and non-backbone areas

Why is OSPF introduced / zoned?

After zoning, you can bring the following benefits:

1. Save system resources for each device in the area

(after the large area is divided, there will be less database content in the small area.)

(all routers in the same area, the database is exactly the same)

2. Enhance the stability of OSPF network.

(adverse effects of an unstable link, only in the same area)

(spread in the medium and will not affect other areas)

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report