cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5759
Views
1
Helpful
6
Replies

OSPF area ID in IP address format ??

ospf-id-format.png

 

What is the difference between "area1" and "area 0.0.0.1"??

I'm not sure how to understand the IP address format of Area.

The device is Nexus.

4 Accepted Solutions

Accepted Solutions

Martin L
VIP
VIP

there should not be any difference between 2 ways of doing same thing.

"area 0.0.0.1" means  "area 1"

 

Regards, ML
**Please Rate All Helpful Responses **

View solution in original post

Hello @JustTakeTheFirstStep ,

the OSPF standard allows to write the OSPF area-id in dotted decimal format like an IP address.

And like an IP address in dotted decimal format you can have formulas for conversion.

So for example

area 1.0.0.0 is not area 1   but it is a huge number  1 * 2^24  = 16,777,216.

 

Area ids in dotted decimal format are used by other vendors and provide a way to document the address block that is within a non zero area.

For example if address block 172.17.0.0/16 is within an area instead of naming the area 3 we could name it

area 172.17.0.0 making the area id meaning the address block inside it.

 

Hope to help

Giuseppe

 

View solution in original post

balaji.bandi
Hall of Fame
Hall of Fame

adding to @Giuseppe Larosa ,  there is a good tool I come across how you can calculate the area with dotted decimal to decimal

 

https://www.beyondcli.com/ospf-conversion/

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

6 Replies 6

Martin L
VIP
VIP

there should not be any difference between 2 ways of doing same thing.

"area 0.0.0.1" means  "area 1"

 

Regards, ML
**Please Rate All Helpful Responses **

If so, for example, what is area, 1.0.0.0, 1.1.0.0, 1.1.1.1?

Hello @JustTakeTheFirstStep ,

the OSPF standard allows to write the OSPF area-id in dotted decimal format like an IP address.

And like an IP address in dotted decimal format you can have formulas for conversion.

So for example

area 1.0.0.0 is not area 1   but it is a huge number  1 * 2^24  = 16,777,216.

 

Area ids in dotted decimal format are used by other vendors and provide a way to document the address block that is within a non zero area.

For example if address block 172.17.0.0/16 is within an area instead of naming the area 3 we could name it

area 172.17.0.0 making the area id meaning the address block inside it.

 

Hope to help

Giuseppe

 

KakaoTalk_20210302_155321868.png

 

im tested

solved

balaji.bandi
Hall of Fame
Hall of Fame

adding to @Giuseppe Larosa ,  there is a good tool I come across how you can calculate the area with dotted decimal to decimal

 

https://www.beyondcli.com/ospf-conversion/

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

aquinas.masakha
Level 1
Level 1

Super!

Review Cisco Networking products for a $25 gift card