Router A ---------- ip route 0.0.0.0/0 enp0s8 ! router bgp 1 neighbor 192.168.0.107 remote-as 2 neighbor 192.168.0.121 remote-as 3 ! address-family ipv4 unicast redistribute static Router B ---------- router bgp 2 neighbor 192.168.0.108 remote-as 1 Router C ---------- router bgp 3 neighbor 192.168.0.108 remote-as 1 ========================================================================= Router A ---------- show ip route Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP, F - PBR, f - OpenFabric, > - selected route, * - FIB route, q - queued route, r - rejected route S>* 0.0.0.0/0 [1/0] is directly connected, enp0s8, weight 1, 00:04:12 <===================== Router B ---------- linux# show ip bgp BGP table version is 1, local router ID is 192.168.0.107, vrf id 0 Default local pref 100, local AS 2 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.108 0 0 1 ? Router C ---------- linux# show ip bgp 0.0.0.0/0 BGP routing table entry for 0.0.0.0/0 Paths: (1 available, best #1, table default) Advertised to non peer-group peers: 192.168.0.108 1 192.168.0.108 from 192.168.0.108 (192.168.0.108) Origin incomplete, metric 0, valid, external, best (First path received) Last update: Wed Apr 8 13:17:33 2020 =============================================================================================================== Router A ---------- Configure default originate for the peers on router A --------------------------------------------------------- linux(config-router-af)# neighbor 192.168.0.107 default-originate linux(config-router-af)# neighbor 192.168.0.121 default-originate Router B ---------- linux# show ip bgp 0.0.0.0/0 % Network not in table Router C ---------- linux# show ip bgp 0.0.0.0/0 % Network not in table ISSUE : The default route is removed on router B and C Delete the default originate for the peers on router A ------------------------------------------------------------------ Router A ---------- linux(config-router-af)# no neighbor 192.168.0.107 default-originate linux(config-router-af)# no neighbor 192.168.0.121 default-originate Router B ------------ linux# show ip bgp 0.0.0.0/0 BGP routing table entry for 0.0.0.0/0 Paths: (1 available, best #1, table default) Advertised to non peer-group peers: 192.168.0.108 1 192.168.0.108 from 192.168.0.108 (192.168.0.108) Origin incomplete, metric 0, valid, external, best (First path received) Last update: Wed Apr 8 13:25:39 2020 Router C ------------ linux# show ip bgp 0.0.0.0/0 BGP routing table entry for 0.0.0.0/0 Paths: (1 available, best #1, table default) Advertised to non peer-group peers: 192.168.0.108 1 192.168.0.108 from 192.168.0.108 (192.168.0.108) Origin incomplete, metric 0, valid, external, best (First path received) Last update: Wed Apr 8 13:25:49 2020 When default-originate is removed the default static route is advertised =============================================================================================================== Router A ------=---- Delete redistribute static when default originate is configured router bgp 1 neighbor 192.168.0.107 remote-as 2 neighbor 192.168.0.121 remote-as 3 ! address-family ipv4 unicast redistribute static neighbor 192.168.0.107 default-originate neighbor 192.168.0.121 default-originate linux(config-router-af)# no redistribute static Router B ---------- linux# show ip bgp 0.0.0.0/0 % Network not in table Router C ------------ linux# show ip bgp 0.0.0.0/0 % Network not in table ISSUE : The default route is not advertised to peers using default-originate command =============================================================================================================== LOGS with fix ------------------ Router A ------------ ip route 0.0.0.0/0 enp0s8 ip route 85.1.1.0/24 enp0s8 ! router bgp 1 neighbor 192.168.0.107 remote-as 2 neighbor 192.168.0.121 remote-as 3 ! address-family ipv4 unicast redistribute static Router B ---------- linux# show ip bgp BGP table version is 24, local router ID is 192.168.0.121, 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.108 0 0 1 ? *> 85.1.1.0/24 192.168.0.108 0 0 1 ? Displayed 2 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: (1 available, best #1, table default) Advertised to non peer-group peers: 192.168.0.108 1 192.168.0.108 from 192.168.0.108 (192.168.0.108) Origin incomplete, metric 0, valid, external, best (First path received) Last update: Wed Apr 8 13:50:31 2020 Router C ---------- linux# show ip bgp BGP table version is 24, local router ID is 192.168.0.121, 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.108 0 0 1 ? *> 85.1.1.0/24 192.168.0.108 0 0 1 ? Displayed 2 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: (1 available, best #1, table default) Advertised to non peer-group peers: 192.168.0.108 1 192.168.0.108 from 192.168.0.108 (192.168.0.108) Origin incomplete, metric 0, valid, external, best (First path received) Last update: Wed Apr 8 13:50:30 2020 Configure default originate for the peers on router A -------------------------------------------------------------- Router A ------------ linux(config-router-af)# neighbor 192.168.0.107 default-originate linux(config-router-af)# neighbor 192.168.0.121 default-originate router bgp 1 neighbor 192.168.0.107 remote-as 2 neighbor 192.168.0.121 remote-as 3 ! address-family ipv4 unicast redistribute static neighbor 192.168.0.107 default-originate neighbor 192.168.0.121 default-originate show ip route Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP, F - PBR, f - OpenFabric, > - selected route, * - FIB route, q - queued route, r - rejected route S>* 0.0.0.0/0 [1/0] is directly connected, enp0s8, weight 1, 00:08:29 C>* 10.0.2.0/24 is directly connected, enp0s3, 00:08:50 K>* 169.254.0.0/16 [0/1000] is directly connected, enp0s3, 00:08:50 C>* 192.168.0.0/24 is directly connected, enp0s8, 00:08:50 Router B ------------ linux# show ip bgp BGP table version is 25, local router ID is 192.168.0.107, vrf id 0 Default local pref 100, local AS 2 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.108 0 1 i *> 85.1.1.0/24 192.168.0.108 0 0 1 ? Router C ------------ linux# show ip bgp 0.0.0.0/0 BGP routing table entry for 0.0.0.0/0 Paths: (1 available, best #1, table default) Advertised to non peer-group peers: 192.168.0.108 1 192.168.0.108 from 192.168.0.108 (192.168.0.108) Origin IGP, valid, external, best (First path received) Last update: Wed Apr 8 13:52:12 2020 linux# show ip bgp BGP table version is 25, local router ID is 192.168.0.107, vrf id 0 Default local pref 100, local AS 2 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.108 0 1 i *> 85.1.1.0/24 192.168.0.108 0 0 1 ? linux# show ip bgp 0.0.0.0/0 BGP routing table entry for 0.0.0.0/0 Paths: (1 available, best #1, table default) Advertised to non peer-group peers: 192.168.0.108 1 192.168.0.108 from 192.168.0.108 (192.168.0.108) Origin IGP, valid, external, best (First path received) Last update: Wed Apr 8 13:52:11 2020 The default route is present in routers B and C Delete the default originate for the peers on router A ---------------------------------------------------------------- Router A ------------ linux(config-router-af)# no neighbor 192.168.0.121 default-originate linux(config-router-af)# no neighbor 192.168.0.107 default-originate Router B ------------ linux# show ip bgp 0.0.0.0/0 BGP routing table entry for 0.0.0.0/0 Paths: (1 available, best #1, table default) Advertised to non peer-group peers: 192.168.0.108 1 192.168.0.108 from 192.168.0.108 (192.168.0.108) Origin incomplete, metric 0, valid, external, best (First path received) Last update: Wed Apr 8 14:02:19 2020 Router C ------------ linux# show ip bgp 0.0.0.0/0 BGP routing table entry for 0.0.0.0/0 Paths: (1 available, best #1, table default) Advertised to non peer-group peers: 192.168.0.108 1 192.168.0.108 from 192.168.0.108 (192.168.0.108) Origin incomplete, metric 0, valid, external, best (First path received) Last update: Wed Apr 8 14:02:10 2020 Delete redistribute static on router A --------------------------------------------- linux(config-router-af)# no redistribute static router bgp 1 neighbor 192.168.0.107 remote-as 2 neighbor 192.168.0.121 remote-as 3 ! address-family ipv4 unicast neighbor 192.168.0.107 default-originate neighbor 192.168.0.121 default-originate Router B ------------ linux# show ip bgp BGP table version is 26, local router ID is 192.168.0.107, vrf id 0 Default local pref 100, local AS 2 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.108 0 1 i Displayed 1 routes and 1 total paths linux# show ip bgp 0.0.0.0/0 BGP routing table entry for 0.0.0.0/0 Paths: (1 available, best #1, table default) Advertised to non peer-group peers: 192.168.0.108 1 192.168.0.108 from 192.168.0.108 (192.168.0.108) Origin IGP, valid, external, best (First path received) Last update: Wed Apr 8 14:05:15 2020 Router C ------------ linux# show ip bgp BGP table version is 26, local router ID is 192.168.0.121, 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.108 0 1 i Displayed 1 routes and 1 total paths linux# show ip bgp 0.0.0.0/0 BGP routing table entry for 0.0.0.0/0 Paths: (1 available, best #1, table default) Advertised to non peer-group peers: 192.168.0.108 1 192.168.0.108 from 192.168.0.108 (192.168.0.108) Origin IGP, valid, external, best (First path received) Last update: Wed Apr 8 14:05:11 2020 Delete the default originate on router A ------------------------------------------------- linux(config-router-af)# no neighbor 192.168.0.107 default-originate linux(config-router-af)# no neighbor 192.168.0.121 default-originate router bgp 1 neighbor 192.168.0.107 remote-as 2 neighbor 192.168.0.121 remote-as 3 ! address-family ipv4 unicast redistribute static linux# show ip bgp BGP table version is 29, local router ID is 192.168.0.107, vrf id 0 Default local pref 100, local AS 2 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.108 0 0 1 ? *> 85.1.1.0/24 192.168.0.108 0 0 1 ? Displayed 2 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: (1 available, best #1, table default) Advertised to non peer-group peers: 192.168.0.108 1 192.168.0.108 from 192.168.0.108 (192.168.0.108) Origin incomplete, metric 0, valid, external, best (First path received) Last update: Wed Apr 8 14:12:52 2020 linux# show ip bgp BGP table version is 29, local router ID is 192.168.0.121, 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.108 0 0 1 ? *> 85.1.1.0/24 192.168.0.108 0 0 1 ? Displayed 2 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: (1 available, best #1, table default) Advertised to non peer-group peers: 192.168.0.108 1 192.168.0.108 from 192.168.0.108 (192.168.0.108) Origin incomplete, metric 0, valid, external, best (First path received) Last update: Wed Apr 8 14:12:55 2020 The default static route advertised from router A is present in routers B and C