/32 vs /24 for loopback and OSPF

From: yesar1@yahoo.com
Date: Wed Jun 22 2005 - 02:08:02 GMT-3


Greetings,

When asked to configure loopback interface as part of OSPF area, when should I be
-using /32 mask for the IP address and subsequently 0.0.0.0 in the ospf network statement

(e.g.
int lo0
ip add 1.1.1.1 255.255.255.255
router ospf 0
network 1.1.1.1 0.0.0.0 area 0.0.0.0)

vs
-using /24 mask and 0.0.0.255 in the ospf network statement
(e.g.
int lo0
ip add 1.1.1.1 255.255.255.0
ip ospf network point-to-point
router ospf 0
network 1.1.1.1 0.0.0.255 area 0.0.0.0)

Thanks in advance for your help,

Mark



This archive was generated by hypermail 2.1.4 : Wed Jul 06 2005 - 14:43:42 GMT-3