OSPF --- subnet mask of IA routes

From: Benny Chong (c_benny@hotmail.com)
Date: Fri Nov 01 2002 - 23:53:32 GMT-3


Hi,

R1 and R2 in area 0, R2 has 2 loopback interface with ip address
172.16.1.1/24 and 172.16.2.1/24. I don't understand when R1 learned about
this two loopback interfaces, it doesn't learn the network 172.16.1.0/24 and
172.16.2.0/24, but it learns 172.16.1.1 and 172.16.2.1 instead? I use
'network 172.16.1.0 0.0.0.255 area 4' and 'network 172.16.2.0 0.0.0.255 area
4) on R2.

R1----------R2 (lo1 and lo2 area 4)
     area 0

The question require that R1 learns these two subnets with a /24 mask, and
the solution require configure 'ip ospf network point-to-point' under the
two loopback interfaces in R2. Can someone kindly explain to me? Thanks a
lot!

Benny
**********************************************************************
'show ip ospf database' in R1:
                Summary Net Link States (Area 0)

Link ID ADV Router Age Seq# Checksum
172.16.1.1 200.0.0.6 665 0x80000003 0xC1EA
172.16.2.1 200.0.0.6 665 0x80000003 0xB6F4

R2 routing table:
     172.16.0.0/24 is subnetted, 2 subnets
C 172.16.1.0 is directly connected, Loopback1
C 172.16.2.0 is directly connected, Loopback2

R1 routing table:
     172.16.0.0/32 is subnetted, 2 subnets
O IA 172.16.1.1 [110/11] via 150.50.7.6, 01:03:20, Ethernet0
O IA 172.16.2.1 [110/11] via 150.50.7.6, 01:03:20, Ethernet0



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