cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1123
Views
0
Helpful
2
Replies

OSPF area X range command

att-sgcops
Level 1
Level 1

I have 2 loopback interface configured on the router:

int loopback0

ip address 10.33.32.1 255.255.224.0

int loopback1

ip address 10.33.64.1 255.255.224.0

And I also put it into the OSPF process:

router ospf 7

network 10.33.32.0 0.0.31.255 area 3

network 10.33.64.0 0.0.31.255 area 3

because I also want to summary the 2 routes, so I added one more command:

area 3 10.33.0.0 255.255.0.0

Then when I check the router on other router, I found that other OSPF router not able to learn these 2 routes

And when I compared with the correct solution, I found their configuration looks like below:

router ospf 7

network 10.33.0.0 0.0.255.255 area 3

area 3 range 10.33.0.0 255.255.0.0

Can someone explain to me?

2 Replies 2

Harold Ritter
Spotlight
Spotlight

The area-range command only takes affect if used on an ABR. In you case, the router is only part of area 3 (area 3 internal router) so that command has no affect.

Hope this helps,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

thanks for your reply. I just skipped some commands, actually the router is ABR. And the correct solution works.