R1 ---------------------------------- R2 ----------------------------------- R3 ----------------------------------- R4 R1, R2, R4 are using latest FRR R3 is using latest FRR with fix Multipath Configuration ------------------------------- R1 ---- ip route 0.0.0.0/0 enp0s8 ! router bgp 1 neighbor 192.168.0.124 remote-as 3 ! address-family ipv4 unicast redistribute static neighbor 192.168.0.124 addpath-tx-all-paths exit-address-family linux# show version FRRouting 7.4-dev-MyOwnFRRVersion-g8fcb029fb (linux). Copyright 1996-2005 Kunihiro Ishiguro, et al. This is a git build of frr-7.4-dev-292-g8fcb029fb Associated branch(es): local:master github/frrouting/frr.git/master R2 ---- router bgp 2 neighbor 192.168.0.124 remote-as 3 ! address-family ipv4 unicast redistribute static neighbor 192.168.0.124 addpath-tx-all-paths exit-address-family FRRouting 7.4-dev-MyOwnFRRVersion-g8fcb029fb (linux). Copyright 1996-2005 Kunihiro Ishiguro, et al. This is a git build of frr-7.4-dev-292-g8fcb029fb Associated branch(es): local:master github/frrouting/frr.git/master R3 ---- router bgp 3 neighbor 192.168.0.122 remote-as 4 neighbor 192.168.0.125 remote-as 1 neighbor 192.168.0.127 remote-as 2 ! address-family ipv4 unicast neighbor 192.168.0.122 addpath-tx-all-paths neighbor 192.168.0.125 addpath-tx-all-paths neighbor 192.168.0.127 addpath-tx-all-paths exit-address-family FRRouting 7.4-dev-MyOwnFRRVersion-g25f46ae75-dirty (linux). Copyright 1996-2005 Kunihiro Ishiguro, et al. This is a git build of frr-7.4-dev-313-g25f46ae75-dirty Associated branch(es): local:route github/kssoman/frr.git/route R4 ---- router bgp 4 neighbor 192.168.0.124 remote-as 3 ! address-family ipv4 unicast neighbor 192.168.0.124 addpath-tx-all-paths exit-address-family FRRouting 7.4-dev-MyOwnFRRVersion-g8fcb029fb (linux). Copyright 1996-2005 Kunihiro Ishiguro, et al. This is a git build of frr-7.4-dev-292-g8fcb029fb Associated branch(es): local:master github/frrouting/frr.git/master ============================================================================================= LOGS --------- 1) Verify routes received on R3 and R4 R3 --- linux# sh ip bgp BGP table version is 6, local router ID is 192.168.0.124, vrf id 0 Default local pref 100, local AS 3 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 0.0.0.0/0 192.168.0.127 0 0 2 ? *> 192.168.0.125 0 0 1 ? Displayed 1 routes and 2 total paths linux# show ip bgp 0.0.0.0/0 BGP routing table entry for 0.0.0.0/0 Paths: (2 available, best #2, table default) 2 192.168.0.127 from 192.168.0.127 (192.168.0.127) Origin incomplete, metric 0, valid, external <========================== AddPath ID: RX 3, TX-All 3 TX-Best-Per-AS 0 Advertised to: 192.168.0.122 192.168.0.125 192.168.0.127 Last update: Sun Apr 12 13:30:22 2020 1 192.168.0.125 from 192.168.0.125 (192.168.0.125) Origin incomplete, metric 0, valid, external, best (Older Path) <========================== AddPath ID: RX 2, TX-All 2 TX-Best-Per-AS 0 Advertised to: 192.168.0.122 192.168.0.125 192.168.0.127 Last update: Sun Apr 12 13:30:23 2020 R4 --- linux# show ip bgp BGP table version is 6, local router ID is 192.168.0.122, vrf id 0 Default local pref 100, local AS 4 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *= 0.0.0.0/0 192.168.0.127 0 3 2 ? *> 192.168.0.125 0 3 1 ? Displayed 1 routes and 2 total paths linux# show ip bgp 0.0.0.0/0 BGP routing table entry for 0.0.0.0/0 Paths: (2 available, best #2, table default) 3 2 192.168.0.127 from 192.168.0.124 (192.168.0.124) Origin incomplete, valid, external, multipath <========================== AddPath ID: RX 3, TX-All 3 TX-Best-Per-AS 0 Advertised to: 192.168.0.124 Last update: Sun Apr 12 13:30:21 2020 3 1 192.168.0.125 from 192.168.0.124 (192.168.0.124) Origin incomplete, valid, external, multipath, best (Older Path) <========================== AddPath ID: RX 2, TX-All 2 TX-Best-Per-AS 0 Advertised to: 192.168.0.124 Last update: Sun Apr 12 13:30:21 2020 ======================================================================================== 2) Configure default originate on R1 and R2 R1 ---- linux(config-router-af)# neighbor 192.168.0.124 default-originate R2 ---- linux(config-router-af)# neighbor 192.168.0.124 default-originate Verify the routes on R3 and R4 ---------------------------------------- R3 ---- linux# show ip bgp 0.0.0.0/0 BGP routing table entry for 0.0.0.0/0 Paths: (2 available, best #2, table default) 2 192.168.0.127 from 192.168.0.127 (192.168.0.127) Origin IGP, valid, external <========================== AddPath ID: RX 1, TX-All 2 TX-Best-Per-AS 0 Advertised to: 192.168.0.122 192.168.0.125 192.168.0.127 Last update: Sun Apr 12 13:33:25 2020 1 192.168.0.125 from 192.168.0.125 (192.168.0.125) Origin IGP, valid, external, best (Older Path) <========================== AddPath ID: RX 1, TX-All 4 TX-Best-Per-AS 0 Advertised to: 192.168.0.122 192.168.0.125 192.168.0.127 Last update: Sun Apr 12 13:33:18 2020 R4 ----- linux# show ip bgp 0.0.0.0/0 BGP routing table entry for 0.0.0.0/0 Paths: (2 available, best #2, table default) 3 2 192.168.0.127 from 192.168.0.124 (192.168.0.124) Origin IGP, valid, external, multipath <========================== AddPath ID: RX 2, TX-All 2 TX-Best-Per-AS 0 Advertised to: 192.168.0.124 Last update: Sun Apr 12 13:33:25 2020 3 1 192.168.0.125 from 192.168.0.124 (192.168.0.124) Origin IGP, valid, external, multipath, best (Older Path) <========================== AddPath ID: RX 4, TX-All 4 TX-Best-Per-AS 0 Advertised to: 192.168.0.124 Last update: Sun Apr 12 13:33:25 2020 Routes with ORIGIN IGP is received ==================================================================================================== 3) Configure default originate with route map R1 ---- router bgp 1 neighbor 192.168.0.124 remote-as 3 ! address-family ipv4 unicast redistribute static neighbor 192.168.0.124 addpath-tx-all-paths neighbor 192.168.0.124 default-originate route-map rmap access-list ip seq 5 permit 86.1.1.0/24 ! route-map rmap permit 1 match ip address ip R2 ---- router bgp 2 neighbor 192.168.0.124 remote-as 3 ! address-family ipv4 unicast redistribute static neighbor 192.168.0.124 addpath-tx-all-paths neighbor 192.168.0.124 default-originate route-map rmap exit-address-family ! access-list ip seq 5 permit 86.1.1.0/24 ! route-map rmap permit 1 match ip address ip R3 ---- linux# show ip bgp 0.0.0.0/0 % Network not in table R3 ---- linux# show ip bgp 0.0.0.0/0 % Network not in table There is no default route in R3 and R4 since the routemap match result is FALSE ======================================================================================================= 4) Delete the default originate configuration R1 ---- linux(config-router-af)# no neighbor 192.168.0.124 default-originate route-map rmap R2 ---- linux(config-router-af)# no neighbor 192.168.0.124 default-originate route-map rmap Verify default route with origin INCOMPLETE is received on R3 and R4 R3 ---- linux# show ip bgp BGP table version is 14, local router ID is 192.168.0.124, vrf id 0 Default local pref 100, local AS 3 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path * 0.0.0.0/0 192.168.0.127 0 0 2 ? *> 192.168.0.125 0 0 1 ? Displayed 1 routes and 2 total paths linux# show ip bgp 0.0.0.0/0 BGP routing table entry for 0.0.0.0/0 Paths: (2 available, best #2, table default) 2 192.168.0.127 from 192.168.0.127 (192.168.0.127) Origin incomplete, metric 0, valid, external <========================== AddPath ID: RX 3, TX-All 3 TX-Best-Per-AS 0 Advertised to: 192.168.0.122 192.168.0.125 192.168.0.127 Last update: Sun Apr 12 13:36:14 2020 1 192.168.0.125 from 192.168.0.125 (192.168.0.125) Origin incomplete, metric 0, valid, external, best (Older Path) <========================== AddPath ID: RX 2, TX-All 2 TX-Best-Per-AS 0 Advertised to: 192.168.0.122 192.168.0.125 192.168.0.127 Last update: Sun Apr 12 13:36:14 2020 R4 ---- linux# show ip bgp BGP table version is 14, local router ID is 192.168.0.122, vrf id 0 Default local pref 100, local AS 4 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *= 0.0.0.0/0 192.168.0.127 0 3 2 ? *> 192.168.0.125 0 3 1 ? Displayed 1 routes and 2 total paths linux# show ip bgp 0.0.0.0/0 BGP routing table entry for 0.0.0.0/0 Paths: (2 available, best #2, table default) 3 2 192.168.0.127 from 192.168.0.124 (192.168.0.124) Origin incomplete, valid, external, multipath <========================== AddPath ID: RX 3, TX-All 3 TX-Best-Per-AS 0 Advertised to: 192.168.0.124 Last update: Sun Apr 12 13:36:13 2020 3 1 192.168.0.125 from 192.168.0.124 (192.168.0.124) Origin incomplete, valid, external, multipath, best (Older Path) <========================== AddPath ID: RX 2, TX-All 2 TX-Best-Per-AS 0 Advertised to: 192.168.0.124 Last update: Sun Apr 12 13:36:13 2020 The default route with origin INCOMPLETE is received as expected ====================================================================================================