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

Ospf discontiguous area network interworking

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Ospf discontiguous area network interworking

Experimental topology diagram:

Configuration idea: continuous areas are connected to backbone areas and non-backbone areas at the same time, and discontinuous areas are areas that are not directly connected to backbone areas, such as region 3 below, which is directly connected to region 1.

4. Experimental configuration and steps:

# first configure all the terminals and the ip address of the router, then create different processes and areas, introduce external routes, and make the whole network interoperable

# configure IP address: AR1, ip address of AR2,AR3,AR5

# configure ip address on AR1

Itnerface g 0/0/0

Ip address 192.168.12.1 255.255.255.0

Interface g0/0/2

Ip address 192.168.14.1 255.255.255.0

# configure ip address on AR2

Interface g 0/0/0

Ip adderess 192.168.12.2 255.255.255.0

Interface g0/0/1

Ip address 192.168.13.1 255.255.255.0

Interface g0/0/2

Ip address 192.168.16.2 255.255.255.0

# configure ip address on AR3

Interface g 0/0/1

Ip address 192.168.13.2 255.255.255.0

Interface g0/0/2

Ip address 192.168.15.1 255.255.255.0

# configure ip address on AR5:

Interface g0/0/2

Ip address 192.168.15.2 255.255.255.0

Interface g0/0/1

Ip address 100.1.3.254 255.255.255.0

# next configure AR4,AR7,AR8

# configure AR4 with ip address

Interface g0/0/2

Ip address 192.168.14.2 255.255.255.0

Interface g0/0/0

Ip address 192.168.17.2 255.255.255.0

Interface ethernet 4-0-0

Ip address 100.1.1.254 255.255.255.0

Interface g0/0/1

Ip address 192.168.47.1 255.255.255.0

# configure AR8 with ip address

Interface g0/0/1

Ip address 192.168.47.2 255.255.255.0

Interface g0/0/0

Ip address 100.1.2.254

# configure AR7 with ip address

Interface g0/0/0

Ip address 192.168.17.1 255.255.255.0

Interface g0/0/2

Ip address 192.168.17.2 255.255.255.0

# configure the ip address of pc1 and the ip address of pc2

Ip address 100.1.1.1 255.255.255.0

Ip address of gateway 100.1.1.254 / / pc1

Ip address 100.1.2.1 255.255.255.0

Gateway 100.1.2.254 / / configure the ip address of pc2

# next, create different areas and create different processes to introduce external routes to enable interconnection of the entire network:

# create area 0Phone1 on AR1 and declare directly connected routes

# ospf 1

Area 0

Network 192.168.12.1 0.0.0.0

Area 1

Network 192.168.14.1 0.0.0.0

# create area 0 on AR2 and declare directly connected routes

# ospf 1

Area 0

Network 192.168.12.2 0.0.0.0

Network 192.168.13.1 0.0.0.0

Network 192.168.16.2 0.0.0.0

# create area 0Phone2 on AR3 and declare directly connected routes

Ospf 1

Area 0

Network 192.168.13.2 0.0.0.0

Area 2

Network 192.168.15.1 0.0.0.0

# create area 2 on AR5 and declare directly connected routes

Ospf1

Area 0

Network 192.168.15.2 0.0.0.0

Network 100.1.3.254 0.0.0.0

# configure ip addresses for AR4, AR7 and AR8 below

# create area 0P3 for AR4 and declare directly connected routes

# ospf 1

Area 0

Network 192.168.17.1 0.0.0.0

Area 1

Network 192.168.14.2 0.0.0.0

Ospf 2

Area 3

Network 192.168.47.1 0.0.0.0

Network 100.1.1.254 0.0.0.0

# create area 0 on AR7 and declare directly connected routes

Area 0

Network 192.168.16.1 0.0.0.0

Network 192.168.17.1 0.0.0.0

# create area 3 on AR8 and declare directly connected routes

Area 3

Network 192.168.47.2 0.0.0.0

Network 100.1.2.254 0.0.0.0

# the above configuration is complete:

# in order to interconnect the whole network, the routing of processes in different areas must be introduced

# configure routing for different processes on AR4

# ospf 1

Import-router ospf 2 / / Route introducing process 2

# ospf 2

Import-router ospf 1 / / Route introducing process 1

# Verification and testing: test on AR 8: diplay ip routing-table / / as shown in the following figure:

# as can be seen from the above figure, external routing has been introduced successfully

# continue testing with the ping command: ping 100.1.2.1 / ping 100.1.3.1

# the above experiments show that the test is successful:

# Summary: to interconnect discontiguous areas, either introduce an external route or re-draw a line to make it a border router, that is, abr

# abr is connected to the backbone area at the same time, and the normal area / / is the same as bridging

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