Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

OSPF interArea: why advertise /32 prefixes?

<p>Hi,<br />

I have 2 routers R2 and R3 in a point-to-point serial connection. OSPF is configured.<br />

R2 is getting interArea routes forwarded by R3. I still don't know why R2 gets /32 prefixes these routes.<br />

<br />

example on R2:<br />

"     192.168.9.0/32 is subnetted, 1 subnets<br />

O IA    192.168.9.1 [110/65] via 172.16.23.3, 00:01:09, Serial0/1 "<br />

<br />

although the subnets are configured with /24 prefix. <br />

Any ideas? and how to advertise the correct subnet mask?</p>

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: OSPF interArea: why advertise /32 prefixes?

Hello Wassim,

if the ip subnet is associated to a loopback interface to have OSPF to advertise the right mask you need:

int loop M

ip ospf network point-to-point

 

otherwise OSPF will advertise a /32 for a loopback ip address

Hope to help

Giuseppe

 

2 REPLIES
Hall of Fame Super Silver

Re: OSPF interArea: why advertise /32 prefixes?

Hello Wassim,

if the ip subnet is associated to a loopback interface to have OSPF to advertise the right mask you need:

int loop M

ip ospf network point-to-point

 

otherwise OSPF will advertise a /32 for a loopback ip address

Hope to help

Giuseppe

 

Re: OSPF interArea: why advertise /32 prefixes?

I assume 192.168.9.1 is a loopback interface on R3

OSPF by default will advertise the loopbacks as a /32 subnet. Inorder to advertise it as a /24 you need to define the interface as point-to-point

interface loop 1

ip add 192.168.9.1 255.255.255.0

ip ospf network point-to-point

 

Narayan

157
Views
0
Helpful
2
Replies