Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

OSPF and Loopback Interfaces

Hello all,

Can anyone tell me why OSPF treats loopback interfaces in it's updates as /32s.

Many thx

Ken

2 REPLIES
New Member

Re: OSPF and Loopback Interfaces

Hi,

RFC 2328 says

"

If the state of the interface is Loopback, add a Type 3 link (stub network) as long as this is not an interface to an unnumbered point-to-point network. The Link ID should be set to the IP interface address, the Link Data set to the mask 0xffffffff (indicating a host route), and the cost set to 0.

"

Regards

Gold

Re: OSPF and Loopback Interfaces

Essentially, because it's a "virtual interface." In fact, with Cisco IOS, you can put the command "ip ospf network-type point-to-point" under the loopback interface, and it will be advertised as with the mask you have configured.

Russ.W

181
Views
1
Helpful
2
Replies
CreatePlease to create content