Get the App
SLTechnology News&Howtos  ›  Network Security  › 

19. Default route injection in OSPF configuration experiment

Shulou Source: shulou.com Published: 2022-06-01 03:38:02 10月06日 Update

1. Inject the default routing method

The first method: default-information originate under the OSPF routing process, and then write a default route.

The second method: default-information originate always directly under the OSPF routing process.

2. Experimental topology

The establishment of a return port lo1:1.1.1.1/24 on R1 indicates the external network

3. Experimental configuration

R1 configuration

Interface Loopback1

Ip address 1.1.1.1 255.255.255.0

Interface Serial0/0

Ip address 12.1.1.1 255.255.255.0

Router ospf 110

Network 12.1.1.0 0.0.0.255 area 0

R2 configuration

Interface Serial0/0

Ip address 12.1.1.2 255.255.255.0

Router ospf 110

Network 12.1.1.0 0.0.0.255 area 0

4. Route injection configuration

Tags: Routing configuration method Lab process Topology Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno MySQL Xiaomi macOS Apple