RE: OSPF route propagation with Loopback interfaces

From: Ivan (limmt@xxxxxxxxxxxxx)
Date: Tue Jul 16 2002 - 05:49:47 GMT-3


   
Hi Jason,

OSPF treat loopback interface as host route. This mean it always propagate the
IP address of the loopback int as host route.

To rectify this, you can add this command under the looback interface:

int loopback 0
 ip ospf network point-to-point
 ip address 152.1.1.129 255.255.255.192

Regards,
Ivan Lim

-----Original Message-----
From: "nobody@groupstudy.com" <nobody@groupstudy.com> on behalf of "Jason
Cash" <cash2001@swbell.net>
Sent: Tuesday, July 16, 2002 11:00 AM
To: "ccielab@groupstudy.com" <ccielab@groupstudy.com>
Subject: OSPF route propagation with Loopback interfaces

I am doing a lab that calls for multiple Eth. Interfaces; however, I
only have 2501's. So I substituted the Eth. Interface(s) with a
Loopback0 interface and assigned it the following:

R2
interface Loopback0
 ip address 152.1.1.129 255.255.255.192

My question is that the route shows up as a / 26 on the connected
router, but show up as a /32 route on the neighboring router:

r2#sh ip ro 152.1.1.129
Routing entry for 152.1.1.128/26
  Known via "connected", distance 0, metric 0 (connected, via interface)
  Routing Descriptor Blocks:
  * directly connected, via Loopback0
      Route metric is 0, traffic share count is 1

R3 (neighbor)

r3#sh ip ro 152.1.1.129
Routing entry for 152.1.1.129/32
  Known via "ospf 1", distance 110, metric 11, type intra area
  Last update from 152.1.1.1 on Ethernet0, 00:24:25 ago
  Routing Descriptor Blocks:
  * 152.1.1.1, from 192.1.1.2, 00:24:25 ago, via Ethernet0
     Route metric is 11, traffic share count is 1

Is this normal activity for loopback interfaces or can I rectify the
situation? I will have to do this for several labs and was looking for
a workaround.



This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:36:31 GMT-3