Hi Bird users,
          I am seeing different behavior with respect to OSPF type 5
LSA routes. The setup contains two routers R1,R2 as shown below. OSPF
is running on eth2 of both routers R1,R2. R1 router eth1 interface is
in OSPF passive mode. We are configuring a static route on R1 and it
is getting advertised into the OSPF domain. The static route
configured on R1 is:  33.0.0.0/8  gateway 172.19.13.1

 (eth1:172.19.13.128/24) R1 (eth2:55.55.55.100/24 )
<--------------------------> (eth2: 55.55.55.200/24) R2

CASE 1: When Static routes first get added on R1, after that  eth1
interface added to OSPF on R1.
     We can see the Static route always present on R2 as a type 5
route and there is no impact of removing eth1 from OSPF on the R1
router.

CASE 2: When eth1 added as OSPF interface on R1 first, then static
route added later. Deletion eth1 from OSPF on R1 , deletes static
route also from R2.

Incase of Case 2, the behavior we observe is a bug ?

Case 1, 2  bird logs are attached.

Regards,
Bala.
//working one
        (eth1:172.19.13.128/24) R1 (eth2:55.55.55.100/24 ) --- (eth2: 
55.55.55.200/24) R2
 33.0.0.0/8 gw 172.19.13.1 
 
Feb 05 04:34:24 bird: ospfv2_1: HELLO packet sent via eth2
Feb 05 04:34:30 bird: ospfv2_1: HELLO packet received from nbr 1.1.1.1 on eth2
Feb 05 04:34:31 bird: ospfv2_1: LSUPD packet received from nbr 1.1.1.1 on eth2
Feb 05 04:34:31 bird: ospfv2_1:     length   64
Feb 05 04:34:31 bird: ospfv2_1:     router   1.1.1.1
Feb 05 04:34:31 bird: ospfv2_1:     LSA      Type: 0005, Id: 33.0.0.0, Rt: 
1.1.1.1, Seq: 8000009a, Age: 1, Sum: e3f8
Feb 05 04:34:31 bird: ospfv2_1: Installing LSA: Type: 4005, Id: 33.0.0.0, Rt: 
1.1.1.1, Seq: 8000009a, Age: 1
Feb 05 04:34:31 bird: ospfv2_1: Scheduling routing table calculation
Feb 05 04:34:31 bird: ospfv2_1: LSUPD packet received from nbr 1.1.1.1 on eth2
Feb 05 04:34:31 bird: ospfv2_1:     length   76
Feb 05 04:34:31 bird: ospfv2_1:     router   1.1.1.1
Feb 05 04:34:31 bird: ospfv2_1:     LSA      Type: 0001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c00, Age: 1, Sum: 2e3a
Feb 05 04:34:31 bird: ospfv2_1: Installing LSA: Type: 2001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c00, Age: 1
Feb 05 04:34:31 bird: ospfv2_1: LSACK packet sent via eth2
Feb 05 04:34:31 bird: ospfv2_1:     length   64
Feb 05 04:34:31 bird: ospfv2_1:     router   11.11.11.11
Feb 05 04:34:31 bird: ospfv2_1:     LSA      Type: 0005, Id: 33.0.0.0, Rt: 
1.1.1.1, Seq: 8000009a, Age: 1, Sum: e3f8
Feb 05 04:34:31 bird: ospfv2_1:     LSA      Type: 0001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c00, Age: 1, Sum: 2e3a
Feb 05 04:34:32 bird: ospfv2_1: Starting routing table calculation
Feb 05 04:34:32 bird: ospfv2_1: Starting routing table calculation for area 
0.0.0.0
Feb 05 04:34:32 bird: ospfv2_1: Starting routing table calculation for 
inter-area (area 0.0.0.0)
Feb 05 04:34:32 bird: ospfv2_1: Starting routing table calculation for ext 
routes
Feb 05 04:34:32 bird: ospfv2_1: Starting routing table synchronization
Feb 05 04:34:32 bird: ospfv2_1.ipv4 > added [best] 33.0.0.0/8 unicast
Feb 05 04:34:32 bird: kernel1.ipv4 < added 33.0.0.0/8 unicast
Feb 05 04:34:34 bird: ospfv2_1: HELLO packet sent via eth2
Feb 05 04:34:40 bird: ospfv2_1: HELLO packet received from nbr 1.1.1.1 on eth2
Feb 05 04:34:44 bird: ospfv2_1: HELLO packet sent via eth2
Feb 05 04:34:50 bird: ospfv2_1: HELLO packet received from nbr 1.1.1.1 on eth2
Feb 05 04:34:54 bird: ospfv2_1: HELLO packet sent via eth2
Feb 05 04:34:56 bird: ospfv2_1: LSUPD packet received from nbr 1.1.1.1 on eth2
Feb 05 04:34:56 bird: ospfv2_1:     length   88
Feb 05 04:34:56 bird: ospfv2_1:     router   1.1.1.1
Feb 05 04:34:56 bird: ospfv2_1:     LSA      Type: 0001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c01, Age: 1, Sum: 5f21
Feb 05 04:34:56 bird: ospfv2_1: Installing LSA: Type: 2001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c01, Age: 1
Feb 05 04:34:56 bird: ospfv2_1: Scheduling routing table calculation
Feb 05 04:34:56 bird: ospfv2_1: LSACK packet sent via eth2
Feb 05 04:34:56 bird: ospfv2_1:     length   44
Feb 05 04:34:56 bird: ospfv2_1:     router   11.11.11.11
Feb 05 04:34:56 bird: ospfv2_1:     LSA      Type: 0001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c01, Age: 1, Sum: 5f21
Feb 05 04:34:57 bird: ospfv2_1: Starting routing table calculation
Feb 05 04:34:57 bird: ospfv2_1: Starting routing table calculation for area 
0.0.0.0
Feb 05 04:34:57 bird: ospfv2_1: Starting routing table calculation for 
inter-area (area 0.0.0.0)
Feb 05 04:34:57 bird: ospfv2_1: Starting routing table calculation for ext 
routes
Feb 05 04:34:57 bird: ospfv2_1: Starting routing table synchronization
Feb 05 04:34:57 bird: ospfv2_1.ipv4 > added [best] 172.19.13.0/24 unicast
Feb 05 04:34:57 bird: kernel1.ipv4 < added 172.19.13.0/24 unicast
Feb 05 04:35:00 bird: ospfv2_1: HELLO packet received from nbr 1.1.1.1 on eth2





Feb 05 04:35:04 bird: ospfv2_1: HELLO packet sent via eth2
Feb 05 04:35:05 bird: kernel1: 0.0.0.0/0: [alien] ignored
Feb 05 04:35:05 bird: kernel1: 1.1.1.1/32: seen
Feb 05 04:35:05 bird: kernel1: 11.11.11.11/32: seen
Feb 05 04:35:05 bird: kernel1: 33.0.0.0/8: seen
Feb 05 04:35:05 bird: kernel1: 55.0.0.0/8: seen
Feb 05 04:35:05 bird: kernel1: 172.19.13.0/24: seen
Feb 05 04:35:05 bird: kernel2: ::/0: [alien] ignored
Feb 05 04:35:10 bird: ospfv2_1: HELLO packet received from nbr 1.1.1.1 on eth2
Feb 05 04:35:13 bird: ospfv2_1: LSUPD packet received from nbr 1.1.1.1 on eth2
Feb 05 04:35:13 bird: ospfv2_1:     length   76
Feb 05 04:35:13 bird: ospfv2_1:     router   1.1.1.1
Feb 05 04:35:13 bird: ospfv2_1:     LSA      Type: 0001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c02, Age: 1, Sum: 2a3c
Feb 05 04:35:13 bird: ospfv2_1: Installing LSA: Type: 2001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c02, Age: 1
Feb 05 04:35:13 bird: ospfv2_1: Scheduling routing table calculation
Feb 05 04:35:14 bird: ospfv2_1: Starting routing table calculation
Feb 05 04:35:14 bird: ospfv2_1: Starting routing table calculation for area 
0.0.0.0
Feb 05 04:35:14 bird: ospfv2_1: Starting routing table calculation for 
inter-area (area 0.0.0.0)
Feb 05 04:35:14 bird: ospfv2_1: Starting routing table calculation for ext 
routes
Feb 05 04:35:14 bird: ospfv2_1: Starting routing table synchronization
Feb 05 04:35:14 bird: ospfv2_1.ipv4 > removed [sole] 172.19.13.0/24 unicast
Feb 05 04:35:14 bird: kernel1.ipv4 < removed 172.19.13.0/24 unicast
Feb 05 04:35:14 bird: ospfv2_1: HELLO packet sent via eth2
Feb 05 04:35:14 bird: ospfv2_1: LSACK packet sent via eth2
Feb 05 04:35:14 bird: ospfv2_1:     length   44
Feb 05 04:35:14 bird: ospfv2_1:     router   11.11.11.11
Feb 05 04:35:14 bird: ospfv2_1:     LSA      Type: 0001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c02, Age: 1, Sum: 2a3c
Feb 05 04:35:20 bird: ospfv2_1: HELLO packet received from nbr 1.1.1.1 on eth2
Feb 05 04:35:24 bird: ospfv2_1: HELLO packet sent via eth2


//not working
Feb 05 04:48:34 bird: ospfv2_1: HELLO packet sent via eth2
Feb 05 04:48:40 bird: ospfv2_1: HELLO packet received from nbr 1.1.1.1 on eth2
Feb 05 04:48:41 bird: ospfv2_1: LSUPD packet received from nbr 1.1.1.1 on eth2
Feb 05 04:48:41 bird: ospfv2_1:     length   88
Feb 05 04:48:41 bird: ospfv2_1:     router   1.1.1.1
Feb 05 04:48:41 bird: ospfv2_1:     LSA      Type: 0001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c04, Age: 1, Sum: 532c
Feb 05 04:48:41 bird: ospfv2_1: Installing LSA: Type: 2001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c04, Age: 1
Feb 05 04:48:41 bird: ospfv2_1: Scheduling routing table calculation
Feb 05 04:48:41 bird: ospfv2_1: LSACK packet sent via eth2
Feb 05 04:48:41 bird: ospfv2_1:     length   44
Feb 05 04:48:41 bird: ospfv2_1:     router   11.11.11.11
Feb 05 04:48:41 bird: ospfv2_1:     LSA      Type: 0001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c04, Age: 1, Sum: 532c
Feb 05 04:48:42 bird: ospfv2_1: Starting routing table calculation
Feb 05 04:48:42 bird: ospfv2_1: Starting routing table calculation for area 
0.0.0.0
Feb 05 04:48:42 bird: ospfv2_1: Starting routing table calculation for 
inter-area (area 0.0.0.0)
Feb 05 04:48:42 bird: ospfv2_1: Starting routing table calculation for ext 
routes
Feb 05 04:48:42 bird: ospfv2_1: Starting routing table synchronization
Feb 05 04:48:42 bird: ospfv2_1.ipv4 > added [best] 172.19.13.0/24 unicast
Feb 05 04:48:42 bird: kernel1.ipv4 < added 172.19.13.0/24 unicast
Feb 05 04:48:44 bird: ospfv2_1: HELLO packet sent via eth2





Feb 05 04:48:50 bird: ospfv2_1: HELLO packet received from nbr 1.1.1.1 on eth2
Feb 05 04:48:53 bird: ospfv2_1: LSUPD packet received from nbr 1.1.1.1 on eth2
Feb 05 04:48:53 bird: ospfv2_1:     length   64
Feb 05 04:48:53 bird: ospfv2_1:     router   1.1.1.1
Feb 05 04:48:53 bird: ospfv2_1:     LSA      Type: 0005, Id: 33.0.0.0, Rt: 
1.1.1.1, Seq: 8000009b, Age: 1, Sum: e924
Feb 05 04:48:53 bird: ospfv2_1: Installing LSA: Type: 4005, Id: 33.0.0.0, Rt: 
1.1.1.1, Seq: 8000009b, Age: 1
Feb 05 04:48:53 bird: ospfv2_1: Scheduling routing table calculation
Feb 05 04:48:54 bird: ospfv2_1: Starting routing table calculation
Feb 05 04:48:54 bird: ospfv2_1: Starting routing table calculation for area 
0.0.0.0
Feb 05 04:48:54 bird: ospfv2_1: Starting routing table calculation for 
inter-area (area 0.0.0.0)
Feb 05 04:48:54 bird: ospfv2_1: Starting routing table calculation for ext 
routes
Feb 05 04:48:54 bird: ospfv2_1: Starting routing table synchronization
Feb 05 04:48:54 bird: ospfv2_1: LSUPD packet received from nbr 1.1.1.1 on eth2
Feb 05 04:48:54 bird: ospfv2_1:     length   88
Feb 05 04:48:54 bird: ospfv2_1:     router   1.1.1.1
Feb 05 04:48:54 bird: ospfv2_1:     LSA      Type: 0001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c05, Age: 1, Sum: 5725
Feb 05 04:48:54 bird: ospfv2_1: Installing LSA: Type: 2001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c05, Age: 1
Feb 05 04:48:54 bird: ospfv2_1: Scheduling routing table calculation
Feb 05 04:48:54 bird: ospfv2_1: HELLO packet sent via eth2
Feb 05 04:48:54 bird: ospfv2_1: LSACK packet sent via eth2
Feb 05 04:48:54 bird: ospfv2_1:     length   64
Feb 05 04:48:54 bird: ospfv2_1:     router   11.11.11.11
Feb 05 04:48:54 bird: ospfv2_1:     LSA      Type: 0005, Id: 33.0.0.0, Rt: 
1.1.1.1, Seq: 8000009b, Age: 1, Sum: e924
Feb 05 04:48:54 bird: ospfv2_1:     LSA      Type: 0001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c05, Age: 1, Sum: 5725
Feb 05 04:48:55 bird: ospfv2_1: Starting routing table calculation
Feb 05 04:48:55 bird: ospfv2_1: Starting routing table calculation for area 
0.0.0.0
Feb 05 04:48:55 bird: ospfv2_1: Starting routing table calculation for 
inter-area (area 0.0.0.0)
Feb 05 04:48:55 bird: ospfv2_1: Starting routing table calculation for ext 
routes
Feb 05 04:48:55 bird: ospfv2_1: Starting routing table synchronization
Feb 05 04:48:55 bird: ospfv2_1.ipv4 > added [best] 33.0.0.0/8 unicast
Feb 05 04:48:55 bird: kernel1.ipv4 < added 33.0.0.0/8 unicast



Feb 05 04:49:00 bird: ospfv2_1: HELLO packet received from nbr 1.1.1.1 on eth2
Feb 05 04:49:04 bird: ospfv2_1: HELLO packet sent via eth2
Feb 05 04:49:05 bird: kernel1: 0.0.0.0/0: [alien] ignored
Feb 05 04:49:05 bird: kernel1: 1.1.1.1/32: seen
Feb 05 04:49:05 bird: kernel1: 11.11.11.11/32: seen
Feb 05 04:49:05 bird: kernel1: 33.0.0.0/8: seen
Feb 05 04:49:05 bird: kernel1: 55.0.0.0/8: seen
Feb 05 04:49:05 bird: kernel1: 172.19.13.0/24: seen
Feb 05 04:49:05 bird: kernel2: ::/0: [alien] ignored
Feb 05 04:49:08 bird: ospfv2_1: LSUPD packet received from nbr 1.1.1.1 on eth2
Feb 05 04:49:08 bird: ospfv2_1:     length   76
Feb 05 04:49:08 bird: ospfv2_1:     router   1.1.1.1
Feb 05 04:49:08 bird: ospfv2_1:     LSA      Type: 0001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c06, Age: 1, Sum: 2240
Feb 05 04:49:08 bird: ospfv2_1: Installing LSA: Type: 2001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c06, Age: 1
Feb 05 04:49:08 bird: ospfv2_1: Scheduling routing table calculation
Feb 05 04:49:09 bird: ospfv2_1: Starting routing table calculation
Feb 05 04:49:09 bird: ospfv2_1: Starting routing table calculation for area 
0.0.0.0
Feb 05 04:49:09 bird: ospfv2_1: Starting routing table calculation for 
inter-area (area 0.0.0.0)
Feb 05 04:49:09 bird: ospfv2_1: Starting routing table calculation for ext 
routes
Feb 05 04:49:09 bird: ospfv2_1: Starting routing table synchronization
Feb 05 04:49:09 bird: ospfv2_1.ipv4 > removed [sole] 172.19.13.0/24 unicast
Feb 05 04:49:09 bird: kernel1.ipv4 < removed 172.19.13.0/24 unicast
Feb 05 04:49:09 bird: ospfv2_1.ipv4 > removed [sole] 33.0.0.0/8 unicast
Feb 05 04:49:09 bird: kernel1.ipv4 < removed 33.0.0.0/8 unicast
Feb 05 04:49:09 bird: ospfv2_1: LSACK packet sent via eth2
Feb 05 04:49:09 bird: ospfv2_1:     length   44
Feb 05 04:49:09 bird: ospfv2_1:     router   11.11.11.11
Feb 05 04:49:09 bird: ospfv2_1:     LSA      Type: 0001, Id: 1.1.1.1, Rt: 
1.1.1.1, Seq: 80000c06, Age: 1, Sum: 2240
Feb 05 04:49:10 bird: ospfv2_1: HELLO packet received from nbr 1.1.1.1 on eth2
Feb 05 04:49:14 bird: ospfv2_1: HELLO packet sent via eth2
Feb 05 04:49:20 bird: ospfv2_1: HELLO packet received from nbr 1.1.1.1 on eth2

Reply via email to