Hi,
I've been trying to fix this problem for the past week with no luck so here
I am.
My setup is simple, 3 BGP routers and one core switch.
The switch is a cisco and BGP routers are using quagga 1.2.0.
On all 3 routers I have: default-information originate metric 1
This advertises the default route if received via BGP with the same metric,
doing load balancing for outgoing traffic.
Now the problem is that after a while, 2 of the default routes disappear
and only one remains.
This is how "sh ip ospf ro" looks on cisco when all 3 default routes are
present. No other routes are announced from BGP routers:
External Route List
*> 0.0.0.0/0, Ext2, cost 1, tag 0
via *IP3*, Vlan10
via *IP2*, Vlan10
via *IP1*, Vlan10
And this are the logs when one of the routes disappear, posting only for
one since it is quite long (but 2 routes disappear at the same time):
OSPF-1 SPF : Detect change in LSA type 5, LSID 0.0.0.0 from *IP1* area
0.0.0.0
OSPF-1 SPF : Schedule partial SPF type 5, LSID 0.0.0.0, adv_rtr *IP1* area
dummy area
OSPF-1 SPF : Service partial SPF, spf instance 352, 0/1/0
OSPF-1 INTER: Process partial summary spf queue
OSPF-1 EXTER: Process partial external spf queue
OSPF-1 EXTER: Process partial spfQ: type 5, LSID 0.0.0.0, mask 0.0.0.0,
adv_rtr *IP1*, age 1, seq 0x80000004, area dummy area
OSPF-1 EXTER: Start partial processing Type 5 External LSA 0.0.0.0, mask
0.0.0.0
OSPF-1 EXTER: adv_rtr *IP1*, age 1, seq 0x80000004, metric 1, metric-type
2, fw-addr *IP2*
OSPF-1 EXTER: Add forward address reachable *IP2*, allowed types Intra and
Inter, to watched queue
OSPF-1 SPF : Add path: next-hop *IP2*, interface Vlan10
OSPF-1 LRIB : Add 0.0.0.0/0, area dummy area, type Ext2, dist 1, forward
1, tag 0x0, via *IP2* Vlan10, route flags (PartialSPF), path flags (none),
source *IP1*, spf 352, list-type route_type_list
OSPF-1 EXTER: Route update succeeded for 0.0.0.0/0.0.0.0, next-hop
Vlan10/*IP2*
OSPF-1 EXTER: Start partial processing Type 5 External LSA 0.0.0.0, mask
0.0.0.0
OSPF-1 EXTER: adv_rtr *IP2*, age 1764, seq 0x800000DB, metric 1,
metric-type 2, fw-addr 0.0.0.0
OSPF-1 SPF : Add better path to LSA ID 0.0.0.0, gateway *IP2*, dist 1
OSPF-1 SPF : Add path: next-hop *IP2*, interface Vlan10
OSPF-1 LRIB : Add 0.0.0.0/0, area dummy area, type Ext2, dist 1, forward
1, tag 0x0, via *IP2* Vlan10, route flags (PartialSPF), path flags (none),
source *IP2*, spf 352, list-type route_type_list
OSPF-1 EXTER: Route update succeeded for 0.0.0.0/0.0.0.0, next-hop
Vlan10/*IP2*
OSPF-1 EXTER: Start partial processing Type 5 External LSA 0.0.0.0, mask
0.0.0.0
OSPF-1 EXTER: adv_rtr *IP3*, age 1750, seq 0x800000AC, metric 1,
metric-type 2, fw-addr 0.0.0.0
OSPF-1 SPF : Add better path to LSA ID 0.0.0.0, gateway *IP3*, dist 1
OSPF-1 SPF : Add path: next-hop *IP3*, interface Vlan10
OSPF-1 LRIB : Add 0.0.0.0/0, area dummy area, type Ext2, dist 1, forward
1, tag 0x0, via *IP3* Vlan10, route flags (PartialSPF), path flags (none),
source *IP3*, spf 352, list-type route_type_list
OSPF-1 EXTER: Route update succeeded for 0.0.0.0/0.0.0.0, next-hop
Vlan10/*IP3*
OSPF-1 GRIB : Route delete succeeded 0.0.0.0/0 via *IP1* on Vlan10, source
*IP1*
OSPF-1 LRIB : Sync'ed 0.0.0.0/0 type Ext2 - change (PathChange): added 0
paths, deleted 1 paths, spf 352, route instance 352
OSPF-1 EXTER: Process partial nssa spf queue
I replaced router IPs with *IP1*, 2, 3.
I had almost the same setup with 2 BGP routers instead of 3 but with quagga
0.99.24.1 and I never faced this problem.
Not sure what is escaping me this time. Does any one have an idea why this
is happening?
Thank you.
I've been trying to fix this problem for the past week with no luck so here
I am.
My setup is simple, 3 BGP routers and one core switch.
The switch is a cisco and BGP routers are using quagga 1.2.0.
On all 3 routers I have: default-information originate metric 1
This advertises the default route if received via BGP with the same metric,
doing load balancing for outgoing traffic.
Now the problem is that after a while, 2 of the default routes disappear
and only one remains.
This is how "sh ip ospf ro" looks on cisco when all 3 default routes are
present. No other routes are announced from BGP routers:
External Route List
*> 0.0.0.0/0, Ext2, cost 1, tag 0
via *IP3*, Vlan10
via *IP2*, Vlan10
via *IP1*, Vlan10
And this are the logs when one of the routes disappear, posting only for
one since it is quite long (but 2 routes disappear at the same time):
OSPF-1 SPF : Detect change in LSA type 5, LSID 0.0.0.0 from *IP1* area
0.0.0.0
OSPF-1 SPF : Schedule partial SPF type 5, LSID 0.0.0.0, adv_rtr *IP1* area
dummy area
OSPF-1 SPF : Service partial SPF, spf instance 352, 0/1/0
OSPF-1 INTER: Process partial summary spf queue
OSPF-1 EXTER: Process partial external spf queue
OSPF-1 EXTER: Process partial spfQ: type 5, LSID 0.0.0.0, mask 0.0.0.0,
adv_rtr *IP1*, age 1, seq 0x80000004, area dummy area
OSPF-1 EXTER: Start partial processing Type 5 External LSA 0.0.0.0, mask
0.0.0.0
OSPF-1 EXTER: adv_rtr *IP1*, age 1, seq 0x80000004, metric 1, metric-type
2, fw-addr *IP2*
OSPF-1 EXTER: Add forward address reachable *IP2*, allowed types Intra and
Inter, to watched queue
OSPF-1 SPF : Add path: next-hop *IP2*, interface Vlan10
OSPF-1 LRIB : Add 0.0.0.0/0, area dummy area, type Ext2, dist 1, forward
1, tag 0x0, via *IP2* Vlan10, route flags (PartialSPF), path flags (none),
source *IP1*, spf 352, list-type route_type_list
OSPF-1 EXTER: Route update succeeded for 0.0.0.0/0.0.0.0, next-hop
Vlan10/*IP2*
OSPF-1 EXTER: Start partial processing Type 5 External LSA 0.0.0.0, mask
0.0.0.0
OSPF-1 EXTER: adv_rtr *IP2*, age 1764, seq 0x800000DB, metric 1,
metric-type 2, fw-addr 0.0.0.0
OSPF-1 SPF : Add better path to LSA ID 0.0.0.0, gateway *IP2*, dist 1
OSPF-1 SPF : Add path: next-hop *IP2*, interface Vlan10
OSPF-1 LRIB : Add 0.0.0.0/0, area dummy area, type Ext2, dist 1, forward
1, tag 0x0, via *IP2* Vlan10, route flags (PartialSPF), path flags (none),
source *IP2*, spf 352, list-type route_type_list
OSPF-1 EXTER: Route update succeeded for 0.0.0.0/0.0.0.0, next-hop
Vlan10/*IP2*
OSPF-1 EXTER: Start partial processing Type 5 External LSA 0.0.0.0, mask
0.0.0.0
OSPF-1 EXTER: adv_rtr *IP3*, age 1750, seq 0x800000AC, metric 1,
metric-type 2, fw-addr 0.0.0.0
OSPF-1 SPF : Add better path to LSA ID 0.0.0.0, gateway *IP3*, dist 1
OSPF-1 SPF : Add path: next-hop *IP3*, interface Vlan10
OSPF-1 LRIB : Add 0.0.0.0/0, area dummy area, type Ext2, dist 1, forward
1, tag 0x0, via *IP3* Vlan10, route flags (PartialSPF), path flags (none),
source *IP3*, spf 352, list-type route_type_list
OSPF-1 EXTER: Route update succeeded for 0.0.0.0/0.0.0.0, next-hop
Vlan10/*IP3*
OSPF-1 GRIB : Route delete succeeded 0.0.0.0/0 via *IP1* on Vlan10, source
*IP1*
OSPF-1 LRIB : Sync'ed 0.0.0.0/0 type Ext2 - change (PathChange): added 0
paths, deleted 1 paths, spf 352, route instance 352
OSPF-1 EXTER: Process partial nssa spf queue
I replaced router IPs with *IP1*, 2, 3.
I had almost the same setup with 2 BGP routers instead of 3 but with quagga
0.99.24.1 and I never faced this problem.
Not sure what is escaping me this time. Does any one have an idea why this
is happening?
Thank you.