Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to do the experiment of ospf and Auxiliary Interface

Shulou Source: shulou.com Published: 2022-05-31 15:35:40 09月21日 Update

This article introduces you how to carry out ospf and auxiliary interface experiment, the content is very detailed, interested friends can refer to, hope to be helpful to you.

Lab name: ospf and Auxiliary Interface

Experimental purpose: configure the auxiliary interface to realize the interconnection with the same interface of different external networks.

Experimental topology diagram:

Experimental steps and their instructions

1. R 1

Router > en

Router#config t

Router (config) # int e0Universe 0

Router (config-if) # ip add 193.1.1.1 255.255.255.0

Router (config-if) # no shut

Router (config-if) # exit

Router (config) # router ospf 10

Router (config-router) # net 193.1.1.0 0.0.255 area 0

2. R2

Router > en

Router#config t

Router (config) # int e0Universe 0

Router (config-if) # ip add 193.1.1.2 255.255.255.0

Router (config-if) # no shut

Router (config-if) # int e0bin1

Router (config-if) # ip add 192.168.10.1 255.255.255.0

Router (config-if) # no shut

Router (config-if) # ip add 172.19.35.1 255.255.255.0 secondary

Router (config-if) # no shut

Router (config-if) # exit

Router (config) # router ospf 20

Router (config-router) # net 193.1.1.0 0.0.255 area 0

Router (config-router) # net 192.168.10.0 0.0.0.255 area 0

Router (config-router) # net 172.19.35.0 0.0.0.255 area 0

3. R3

Router > en

Router#config t

Router (config) # int e0Universe 0

Router (config-if) # ip add 172.19.35.15 255.255.255.0

Router (config-if) # no shut

Router (config-if) # exit

Router (config) # ip route 0.0.0.0 0.0.0.0 172.19.35.1

4. Summary of experiment

Don't forget to configure the default route on R3

On how to carry out ospf and auxiliary interface experiments to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Experiments interfaces aids content more help configuration different good interests names guys partners topologies topology diagrams articles steps purposes knowledge articles Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Apple Docker macOS Xiaomi