Configuring OSPF on an unnumbered interface
You can configure the OSPF protocol on an unnumbered interface.
This section presents an example configuration of OSPF with an unnumbered Interface. The example is based on the following figure.
Step |
Command |
---|---|
Create a loopback interface for router R1. |
|
Add a static interface route to reach the other network. |
|
Add a route to the destination network. |
|
Set the identifier of the OSPF router to that of the loopback address. |
|
Configure the donor interface. |
|
Advertise to the 3.3.3.0/24 network. |
|
Configure the point-to-point protocol on the OSPF network. |
|
Verify that the OSPF protocol is configured with an unnumbered interface on a point-to-point interface type only. |
|
Step |
Command |
---|---|
Create a loopback interface for router R2. |
|
Add a static interface route to reach the other network. |
|
Add a route to the destination network. |
|
Set the identifier of the OSPF router to that of the loopback address. |
|
Configure the donor interface. |
|
Advertise to the 2.2.2.0/24 network. |
|
Configure the point-to-point protocol on the OSPF network. |
|
Verify that the OSPF protocol is configured with an unnumbered interface on a point-to-point interface type only. |
|