RE: OSPF Areas in Decimal Format

From: Scott Morris (swm@emanon.com)
Date: Fri Nov 15 2002 - 12:33:16 GMT-3


Why the dual-step conversion???

Just convert straight from decimal into binary and split into 8-bit
chunks.

700 decimal is 1010111100 in binary. Or 10 10111100 split up. Or 2 and
188. :)

So 0.0.2.188 seems simple when padding the front.

Maybe it's this aversion to hexadecimal I have, or the lack of doing two
separate calculations! KISS method!

Scott

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Gene_Thorne@doh.state.fl.us
Sent: Friday, November 15, 2002 8:30 AM
To: ccielab@groupstudy.com
Subject: RE: OSPF Areas in Decimal Format

Do you mean dotted decimal? Many ways, but to me the most
straightforward
is:
1. convert to hex 700 = 0x2BC
2. pad hex on the left with zeroes to make 8 hex digits 000002BC 3.
break into pairs of hex digits and convert each pair to decimal
00.00.02.BC = 0.0.2.188

-----Original Message-----
From: Derek Gaff [mailto:derekgaff@eircom.net]
Sent: Friday, November 15, 2002 6:44 AM
To: ccielab@groupstudy.com
Subject: OSPF Areas in Decimal Format

Hello All

Just a quick question, maybe a silly one. But how do you configure OSPF
Areas in Decimal Format. I know how to configure it but how do you get
the Decimal format. For example what is the Decimal Format for Area 700
and so on..

Cheers
Derek



This archive was generated by hypermail 2.1.4 : Tue Dec 03 2002 - 07:23:01 GMT-3