Way too many routes imported in OSPF

Alarig Le Lay alarig at swordarmor.fr
Thu Jan 24 10:23:07 CET 2019


Hi,

I’ve set up an OSPF as an IGP to resolve the BGP next-hops on the routes
learned from eBGP sessions.

On one of my border routers (running FreeBSD), the counters are correct:
root at nominoe:~ # birdc 'show protocols all "ospf_*"'
BIRD 2.0.2 ready.
Name       Proto      Table      State  Since         Info
ospf_ipv4  OSPF       master4    up     16:29:14.755  Running
  Channel ipv4
    State:          UP
    Table:          master4
    Preference:     150
    Input filter:   (unnamed)
    Output filter:  (unnamed)
    Import limit:   200
      Action:       block
    Routes:         59 imported, 0 filtered, 26 exported
    Route change stats:     received   rejected   filtered    ignored   accepted
      Import updates:            114          0          0          0        114
      Import withdraws:           43          0        ---          0         43
      Export updates:        4343089         79    4342789        ---        221
      Export withdraws:        25677        ---        ---        ---        195

ospf_ipv6  OSPF       master6    up     16:29:14.755  Running
  Channel ipv6
    State:          UP
    Table:          master6
    Preference:     150
    Input filter:   (unnamed)
    Output filter:  (unnamed)
    Import limit:   200
      Action:       block
    Routes:         16 imported, 0 filtered, 13 exported
    Route change stats:     received   rejected   filtered    ignored   accepted
      Import updates:            178          0          0          0        178
      Import withdraws:          161          0        ---          0        161
      Export updates:         210288        168     210107        ---         13
      Export withdraws:         4415        ---        ---        ---          0


On the other (running Gentoo), I can’t have so much:
asbr02 ~ # birdc 'show protocols all "ospf_*"'
BIRD 2.0.3 ready.
Name       Proto      Table      State  Since         Info
ospf_ipv4  OSPF       master4    up     17:07:45.751  Running
  Channel ipv4
    State:          UP
    Table:          master4
    Preference:     150
    Input filter:   (unnamed)
    Output filter:  (unnamed)
    Import limit:   200
      Action:       block
    Routes:         64 imported, 0 filtered, 4294120544 exported
    Route change stats:     received   rejected   filtered    ignored   accepted
      Import updates:            258          0          0          0        258
      Import withdraws:          181          0        ---          0        181
      Export updates:        2107116        242    2106865        ---          9
      Export withdraws:        21844        ---        ---        ---     846761

ospf_ipv6  OSPF       master6    up     17:02:14.667  Running
  Channel ipv6
    State:          UP
    Table:          master6
    Preference:     150
    Input filter:   (unnamed)
    Output filter:  (unnamed)
    Import limit:   200
      Action:       block
    Routes:         19 imported, 0 filtered, 4294870086 exported
    Route change stats:     received   rejected   filtered    ignored   accepted
      Import updates:            204          0          0          0        204
      Import withdraws:          185          0        ---          0        185
      Export updates:         325977        194     325773        ---         10
      Export withdraws:        10926        ---        ---        ---      97220

asbr02 ~ # birdc 'show route count table master4'
BIRD 2.0.3 ready.
2461149 of 2461149 routes for 737465 networks in table master4
asbr02 ~ # birdc 'show route count table master6'
BIRD 2.0.3 ready.
239266 of 239266 routes for 63527 networks in table master6


I already tried to restart the protocols, but it doesn’t change
anything.
Any idea?

Thanks,
-- 
Alarig


More information about the Bird-users mailing list