19. Default route injection in OSPF configuration experiment
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