network xxx in BGP configurations not working?
Nigel Kukard
nkukard+frr at lbsd.net
Sun Jul 30 01:54:59 EDT 2017
Hi guys,
I must be doing something wrong here, because switching this
configuration from Quagga to FRR 2.0 results in the network xxx routes
not being sent?
(my config below doesn't show v6 routes, but its not working either,
I've sed'd out the actual AS and IP ranges)
Re-distributed routes do however work.
=== > Router 1 < ===
Current configuration:
!
frr version 2.0
frr defaults datacenter
no ip forwarding
no ipv6 forwarding
username cumulus nopassword
!
service integrated-vtysh-config
!
debug bgp neighbor-events
debug bgp update-groups
debug bgp updates in
debug bgp updates out
debug bgp zebra
!
log file /var/log/frr/frr.log
!
router-id 9.9.9.9
!
router bgp 65001
no bgp default ipv4-unicast
neighbor 10.10.140.48 remote-as 65002
neighbor fec0::48 remote-as 65002
!
address-family ipv4 unicast
network 10.201.142.0/24
network 10.201.146.0/24
network 10.201.185.0/24
network 10.201.189.0/24
network 10.201.229.0/24
network 10.201.244.0/24
network 10.201.254.0/24
redistribute static
neighbor 10.10.140.48 activate
neighbor 10.10.140.48 next-hop-self
exit-address-family
!
address-family ipv6 unicast
neighbor fec0::43 activate
exit-address-family
!
line vty
!
end
---------------------------------
debian# show ip bgp
BGP table version is 0, local router ID is 9.9.9.9
Status codes: s suppressed, d damped, h history, * valid, > best, =
multipath,
i internal, r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
10.201.142.0/24 0.0.0.0 0 32768 i
10.201.146.0/24 0.0.0.0 0 32768 i
10.201.185.0/24 0.0.0.0 0 32768 i
10.201.189.0/24 0.0.0.0 0 32768 i
10.201.229.0/24 0.0.0.0 0 32768 i
10.201.244.0/24 0.0.0.0 0 32768 i
10.201.254.0/24 0.0.0.0 0 32768 i
Displayed 7 routes and 7 total paths
---------------------------------
debian# show ip bgp sum
BGP router identifier 9.9.9.9, local AS number 65001 vrf-id 0
BGP table version 0
RIB entries 13, using 1560 bytes of memory
Peers 2, using 81 KiB of memory
Neighbor V AS MsgRcvd MsgSent
TblVer InQ OutQ Up/Down State/PfxRcd
debian(10.10.140.48) 4 65002 477
476 0 0 0 00:12:01 0
Total number of neighbors 1
=== > Router 2 < ===
Current configuration:
!
frr version 2.0
frr defaults datacenter
username cumulus nopassword
!
service integrated-vtysh-config
!
debug bgp neighbor-events
debug bgp update-groups
debug bgp updates in
debug bgp updates out
debug bgp zebra
!
log file /var/log/frr/frr.log
!
router-id 8.8.8.8
!
router bgp 65002
no bgp default ipv4-unicast
neighbor 10.10.140.47 remote-as 65001
neighbor fec0::47 remote-as 65001
!
address-family ipv4 unicast
network 10.99.142.0/24
network 10.99.146.0/24
network 10.99.185.0/24
network 10.99.189.0/24
network 10.99.229.0/24
network 10.99.244.0/24
network 10.99.254.0/24
neighbor 10.10.140.47 activate
neighbor 10.10.140.47 next-hop-self
exit-address-family
!
address-family ipv6 unicast
neighbor fec0::47 activate
neighbor fec0::47 next-hop-self
exit-address-family
!
line vty
!
end
---------------------------------
debian# show ip bgp
BGP table version is 0, local router ID is 8.8.8.8
Status codes: s suppressed, d damped, h history, * valid, > best, =
multipath,
i internal, r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
10.99.142.0/24 0.0.0.0 0 32768 i
10.99.146.0/24 0.0.0.0 0 32768 i
10.99.185.0/24 0.0.0.0 0 32768 i
10.99.189.0/24 0.0.0.0 0 32768 i
10.99.229.0/24 0.0.0.0 0 32768 i
10.99.244.0/24 0.0.0.0 0 32768 i
10.99.254.0/24 0.0.0.0 0 32768 i
Displayed 7 routes and 7 total paths
---------------------------------
debian# show ip bgp sum
BGP router identifier 8.8.8.8, local AS number 65002 vrf-id 0
BGP table version 0
RIB entries 13, using 1560 bytes of memory
Peers 2, using 41 KiB of memory
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ
Up/Down State/PfxRcd
debian(10.10.140.47) 4 65001 509 527 0 0 0
00:13:36 0
Total number of neighbors 1
-N
More information about the frog
mailing list