[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference irocz::common_brouters

Title:Digital Brouters Conference
Notice:New common-code brouter family: RouteAbout, DECswitch 900
Moderator:MARVIN::HARTLL
Created:Mon Jul 17 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:929
Total number of notes:3736

775.0. "OSPF Internal router doesn't work." by TKOVOA::NAKANO_K (Koichi Nakano/NPB/Japan) Sat Mar 01 1997 04:47

Hello,

I configure OSPF test environment and now check how OSPF works. It doesn't 
work fine than I expected. Configuration is following.

      |Outside AS
      |10.1.1.4
   +--*-----------------------------------+
   |DECswitch900EE DRS2.0                 |
   |ASBR		                  |
   +----*-----------------------------*---+
 +------+(Area 0.0.0.0)---------------+-----------+
 |      |10.1.7.1/24                  |10.1.8.1/24|
 |      |                             |           |
 |      |10.1.7.2/24                  |10.1.8.1/24|
 +------+-----------------------------+-----------+
   +----*--------+               +----*--------*
   |AW90EW DRS2.0|               |AW90EI DRS2.0|
   |ABR1         |               |ABR2         |
   +---*---------+               +--*----------+
 +----(Area 0.0.0.1)--+	     +-----(Area 0.0.0.2)-+
 |     |10.1.2.1/26   |	     |	    |10.1.4.1/26  |
 |     |(PPP)         |      |      |(PPP)        |
 |     |10.1.2.2/26   |	     |	    |10.1.4.2/26  |
 | +---*---------+    |      | +----*--------+    |
 | |AW90EW DRS2.0|    |	     | |AW90EI DRS2.0|    |
 | |IR1          |    |      | |IR2          |    |
 | +---*---------+    |      | +----*--------+    |
 |      10.1.2.65/26  |	     |	     10.1.4.26/26 |
 |      10.1.2.129/26 |	     |	     10.1.4.129/26|
 |      10.1.2.193/26 |	     |	     10.1.4.193/26|
 |      (Multiaddress)|	     |	     (Multiaddress)|
 +--------------------+      +--------------------+

Setting area 1 to a stub area, It works fine I expected. Area 1 Internal 
router IR1 knows inter area route, intra area route and default route. IR1 
does not know exterior route information.

Area 2 set to normal area, it's not a stub area, it is not work than I 
expected. Area 2 internal router IR2 does not know inter area route 
information and exterior route information. Only knows intra area route 
information. IR2 can not communicate with other routers in outside of the 
area 2 and the AS. Changing area 2 to be stub area, IR2 can know inter area 
route information and default route information, and it works fine.

Following is ASBR, ABR2 and IR2 router information. Would anyone please help 
me, How should I do for IR2 knowing inter area route?

Thanks in advance. 
Koichi Nakano.

---ASBR information-----------------------------------

IP config>list all
Interface addresses
IP addresses for each interface:
   intf  0                                     IP disabled on this interface
   intf  1   10.1.1.4         255.255.255.0    Network broadcast,    fill 1
   intf  2   10.1.7.1         255.255.255.0    Network broadcast,    fill 1
   intf  3   10.1.8.1         255.255.255.0    Network broadcast,    fill 1
   intf  4                                     IP disabled on this interface
   intf  5                                     IP disabled on this interface
Router-ID: 10.1.1.4

Routing

Protocols
BOOTP forwarding: disabled
Directed broadcasts: enabled
ARP Subnet routing: disabled
RFC925 routing: disabled
OSPF: enabled
Per-packet-multipath: disabled
RIP: enabled
RIP default origination: disabled
  Per-interface address flags:
     intf  0                    IP & RIP are disabled on this interface
     intf  1   10.1.1.4         Send net, subnet and default routes
     intf  2   10.1.7.1         Send no routes
     intf  3   10.1.8.1         Send no routes
     intf  4                    IP & RIP are disabled on this interface
     intf  5                    IP & RIP are disabled on this interface

  Per-interface Triggered Rip values :

Accept RIP updates always for:
[NONE]

EGP: disabled

OSPF Config>list all

                        --Global configuration--
                OSPF Protocol:          Enabled
                # AS ext. routes:       200
                Estimated # routers:    50
                External comparison:    Type 2
                AS boundary capability: Enabled
                Import external routes: RIP STA DIR SUB
                Orig. default route:    No (0,0.0.0.0)
                Default route cost:     (1, Type 2)
                Default forward. addr.: 0.0.0.0
                Multicast forwarding:   Disabled

                        --Area configuration--
Area ID          AuType          Stub? Default-cost Import-summaries?
0.0.0.0          0=None           No         N/A           N/A

                        --Interface configuration--
IP address        Area              Cost  Rtrns  TrnsDly  Pri  Hello  Dead
10.1.7.1          0.0.0.0              1      5       5     1     10    40
10.1.8.1          0.0.0.0              1      5       5     1     10    40

OSPF>d
Type   Dest net         Mask       Cost     Age   Next hop(s)

Sbnt   10.0.0.0         FF000000   1        0     None
 Dir*  10.1.1.0         FFFFFF00   1        0     Eth/1
SPIA   10.1.2.0         FFFFFF00   2        2     10.1.7.2
SPIA   10.1.4.0         FFFFFF00   2        2     10.1.8.2
 SPF*  10.1.7.0         FFFFFF00   1        1     Eth/2
 SPF*  10.1.8.0         FFFFFF00   1        1     Eth/3
 RIP   16.0.0.0         FF000000   2        20    10.1.1.1

Routing table size: 768 nets (61440 bytes), 7 nets known
OSPF>i

Ifc Address      Phys    assoc. Area      Type   State      #nbrs    #adjs
10.1.7.1         Eth/2   0.0.0.0         Brdcst  DR            1        1
10.1.8.1         Eth/3   0.0.0.0         Brdcst  DR            1        1

OSPF>n

Neighbor addr       Neighbor ID      State  LSrxl DBsum LSreq  Ifc
10.1.7.2         10.1.7.2            Full     0     0     0    Eth/2
10.1.8.2         10.1.8.2            Full     0     0     0    Eth/3

---ABR2 information-----------------------------------

IP config>list all
Interface addresses
IP addresses for each interface:
   intf  0   10.1.8.2         255.255.255.0    Network broadcast,    fill 1
   intf  1   10.1.4.1         255.255.255.192  Network broadcast,    fill 1
   intf  2                                     IP disabled on this interface
Router-ID: 10.1.8.2

Routing

Protocols
BOOTP forwarding: disabled
Directed broadcasts: enabled
ARP Subnet routing: disabled
RFC925 routing: disabled
OSPF: enabled
Per-packet-multipath: disabled
RIP: disabled
EGP: disabled

OSPF Config>list all

                        --Global configuration--
                OSPF Protocol:          Enabled
                # AS ext. routes:       1000
                Estimated # routers:    50
                External comparison:    Type 2
                AS boundary capability: Disabled
                Multicast forwarding:   Disabled

                        --Area configuration--
Area ID          AuType          Stub? Default-cost Import-summaries?
0.0.0.0          0=None           No         N/A           N/A
0.0.0.2          0=None           No         N/A           N/A

                        --Area ranges--
Area ID          Address          Mask             Advertise?
0.0.0.2          10.1.4.0         255.255.255.0    Yes

                        --Interface configuration--
IP address        Area              Cost  Rtrns  TrnsDly  Pri  Hello  Dead
10.1.8.2          0.0.0.0              1      5       5     1     10    40
10.1.4.1          0.0.0.2              1      5       5     1     10    40

OSPF>d
Type   Dest net         Mask       Cost     Age   Next hop(s)

Sbnt   10.0.0.0         FF000000   1        0     None
SPE2   10.1.1.0         FFFFFF00   1        1     10.1.8.1
SPIA   10.1.2.0         FFFFFF00   3        3     10.1.8.1
Rnge   10.1.4.0         FFFFFF00   1        0     None
 Dir*  10.1.4.0         FFFFFFC0   1        0     PPP/0
 SPF   10.1.4.1         FFFFFFFF   2        2     PPP/0
 SPF   10.1.4.2         FFFFFFFF   1        1     10.1.4.2
 SPF   10.1.4.64        FFFFFFC0   2        2     10.1.4.2
 SPF   10.1.4.128       FFFFFFC0   2        2     10.1.4.2
 SPF   10.1.4.192       FFFFFFC0   2        2     10.1.4.2
 SPF   10.1.7.0         FFFFFF00   2        2     10.1.8.1
 SPF*  10.1.8.0         FFFFFF00   1        1     Eth/0
SPE2   16.0.0.0         FF000000   2        1     10.1.8.1

Routing table size: 768 nets (61440 bytes), 13 nets known
OSPF>i

Ifc Address      Phys    assoc. Area      Type   State      #nbrs    #adjs
10.1.8.2         Eth/0   0.0.0.0         Brdcst  Backup        1        1
10.1.4.1         PPP/0   0.0.0.2         P-P     P-P           1        1

OSPF>n

Neighbor addr       Neighbor ID      State  LSrxl DBsum LSreq  Ifc
10.1.8.1         10.1.1.4            Full     0     0     0    Eth/0
10.1.4.2         10.1.4.2            Full     0     0     0    PPP/0

---IR2 information------------------------------------

IP config>list all
Interface addresses
IP addresses for each interface:
   intf  0   10.1.4.65        255.255.255.192  Network broadcast,    fill 1
             10.1.4.129       255.255.255.192  Network broadcast,    fill 1
             10.1.4.193       255.255.255.192  Network broadcast,    fill 1
   intf  1   10.1.4.2         255.255.255.192  Network broadcast,    fill 1
   intf  2                                     IP disabled on this interface
Router-ID: 10.1.4.2

Routing

Protocols
BOOTP forwarding: disabled
Directed broadcasts: enabled
ARP Subnet routing: disabled
RFC925 routing: disabled
OSPF: enabled
Per-packet-multipath: disabled
RIP: disabled
EGP: disabled

OSPF Config>list all

                        --Global configuration--
                OSPF Protocol:          Enabled
                # AS ext. routes:       1000
                Estimated # routers:    50
                External comparison:    Type 2
                AS boundary capability: Disabled
                Multicast forwarding:   Disabled

                        --Area configuration--
Area ID          AuType          Stub? Default-cost Import-summaries?
0.0.0.2          0=None           No         N/A           N/A

                        --Interface configuration--
IP address        Area              Cost  Rtrns  TrnsDly  Pri  Hello  Dead
10.1.4.65         0.0.0.2              1      5       5     1     10    40
10.1.4.129        0.0.0.2              1      5       5     1     10    40
10.1.4.193        0.0.0.2              1      5       5     1     10    40
10.1.4.2          0.0.0.2              1      5       5     1     10    40

OSPF>d
Type   Dest net         Mask       Cost     Age   Next hop(s)

Sbnt   10.0.0.0         FF000000   1        0     None
 Dir*  10.1.4.0         FFFFFFC0   1        0     PPP/0
 SPF   10.1.4.1         FFFFFFFF   1        1     10.1.4.1
 SPF   10.1.4.2         FFFFFFFF   2        2     PPP/0
 SPF*  10.1.4.64        FFFFFFC0   1        1     Eth/0
 SPF*  10.1.4.128       FFFFFFC0   1        1     Eth/0
 SPF*  10.1.4.192       FFFFFFC0   1        1     Eth/0

Routing table size: 768 nets (61440 bytes), 7 nets known
OSPF>i

Ifc Address      Phys    assoc. Area      Type   State      #nbrs    #adjs
10.1.4.65        Eth/0   0.0.0.2         Brdcst  DR            0        0
10.1.4.129       Eth/0   0.0.0.2         Brdcst  DR            0        0
10.1.4.193       Eth/0   0.0.0.2         Brdcst  DR            0        0
10.1.4.2         PPP/0   0.0.0.2         P-P     P-P           1        1

OSPF>n

Neighbor addr       Neighbor ID      State  LSrxl DBsum LSreq  Ifc
10.1.4.1         10.1.8.2            Full     0     0     0    PPP/0

T.RTitleUserPersonal
Name
DateLines
775.1MARVIN::HARTTony Hart, InterNetworking Prod. Eng. GroupMon Mar 03 1997 06:3914
I tried your configuration in the simulator and it works as expected, i.e. the
IR2 router has all the SPIA routes and the SPE2 route.

Could you post the output from the following commands on IR2

	OSPF>ROUTERS
	OSPF>DATA 0.0.0.2
	OSPF>AS-EXTERNAL


this should show whether IR2 has all the LSAs it should have.

thanks,
Tony
775.2TKOVOA::NAKANO_KKoichi Nakano/NPB/JapanMon Mar 03 1997 06:4733
Thank you for your replay.

>Could you post the output from the following commands on IR2
>	OSPF>ROUTERS
>	OSPF>DATA 0.0.0.2
>	OSPF>AS-EXTERNAL

--- IR2 info -----------
+pro ospf
Open SPF-Based Routing Protocol console
OSPF>router
DType RType Destination       Area           Cost       Next hop(s)

  BR  SPF   10.1.8.2         0.0.0.2          1         10.1.4.1
OSPF>data 0.0.0.2

Type LS destination     LS originator     Seqno     Age   Xsum
  1  10.1.4.2           10.1.4.2        0x8000000B  395  0xAB2
  1  10.1.8.2           10.1.8.2        0x8000000A  401  0x32AA

                # advertisements:       2
                Checksum total:         0x3D5C

OSPF>as

Type LS destination     LS originator     Seqno     Age   Xsum
  5  10.1.1.0           10.1.1.4        0x8000000C 1200  0xBBEE
  5  16.0.0.0           10.1.1.4        0x8000000C 1200  0x8E17

                # advertisements:       2
                Checksum total:         0x14A05

OSPF>
775.3TKOVOA::NAKANO_KKoichi Nakano/NPB/JapanMon Mar 03 1997 10:0546
And this is ABR2 data.

OSPF>route
DType RType Destination       Area           Cost       Next hop(s)

ASBR  SPF   10.1.1.4         0.0.0.0          1         10.1.8.1
  BR  SPF   10.1.7.2         0.0.0.0          2         10.1.8.1
OSPF>as

Type LS destination     LS originator     Seqno     Age   Xsum
  5  10.1.1.0           10.1.1.4        0x80000013 1207  0xADF5
  5  16.0.0.0           10.1.1.4        0x80000013 1207  0x801E

                # advertisements:       2
                Checksum total:         0x12E13

OSPF>area

Area ID          Authentication   #ifcs  #nets  #rtrs  #brdrs
0.0.0.0           None              1      2      3      2
0.0.0.2           None              1      0      2      1

OSPF>data 0.0.0.0

Type LS destination     LS originator     Seqno     Age   Xsum
  1  10.1.1.4           10.1.1.4        0x8000001E 1212  0xD7DB
  1  10.1.7.2           10.1.7.2        0x8000001D 1219  0x9C49
  1  10.1.8.2           10.1.8.2        0x8000001A 1209  0xA63E
  2  10.1.7.2           10.1.7.2        0x8000000F 1219  0x37C8
  2  10.1.8.2           10.1.8.2        0x80000016 1209  0x20D5
  3  10.1.2.0           10.1.7.2        0x80000011  729  0x111A
  3  10.1.4.0           10.1.8.2        0x8000000F 1646  0xF732

                # advertisements:       7
                Checksum total:         0x37B4B

OSPF>data 0.0.0.2

Type LS destination     LS originator     Seqno     Age   Xsum
  1  10.1.4.2           10.1.4.2        0x80000011 1650  0xFDB8
  1  10.1.8.2           10.1.8.2        0x80000010 1645  0x26B0

                # advertisements:       2
                Checksum total:         0x12468

OSPF>
775.4Configurator related bug...MARVIN::HARTTony Hart, InterNetworking Prod. Eng. GroupMon Mar 03 1997 12:4040
Thanks for the information.  IR2 does not have the Summary LSAs (either network
or ASBR) hence the reason why there are no inter-area routes.  It does have the
external LSA, however it won't add this route to the forwarding table because
it doesn't have a route to the ASBR (inter-area route again).

BUG:
I think this is caused by the way the Configurator writes the OSPF-AREA SRAM
record in that it always sets the dont-import-summary-lsa field to TRUE.  When
the record is written from the CLI the field is always set to FALSE even when
the area is not a Stub.

The router initializatiob code relies on this field being set correctly 
regardless of whether the area is a stub, i.e. if its a non-stub area then the 
initialization code requires that this field is FALSE in order to ensure that
summary-LSA's are imported into the area.  Unfortunately this isn't the case if
the Configurator writes the record.

Note that the "OSPF Config>LIST ALL" does not display the value in the 
dont-import-summary-LSAs field if this is a non-stub area.

WORKAROUND:
You should be able to work-around this by seting the area in the Configurator
Extra script or directly from the CLI (the extra script is a better way).  So
on ABR2 add the following lines to the extra script (note that you have to 
delete the area and re-create it in order to change it)...

	! Workaround bug in OSPF Area setup
	PROTOCOL OSPF
	DELETE AREA 0.0.0.2
	SET AREA 0.0.0.2 0
	no
	
	!

Please submit an IPMT case for this so that it will get fixed promptly.

Thanks for providing such detailed information it makes diagnosing these
problems much quicker.

Tony