[FROG] [Help Wanted] The route was not advertised to any peer
Wei-Yu Chen
aweimeow.tw at gmail.com
Thu Sep 17 07:42:28 UTC 2020
Hello FRR communities,
I’m working on the following topology, it’s a simple experimental environment to learn how to configure route service with FRR.
H1 - R1 - R2 - H2
Here is the IP information:
H1: 192.168.10.1/24
H2: 192.168.20.1/24
R1: 192.168.10.254/24 & 192.168.30.1/24
R2: 192.168.20.254/24 & 192.168.30.2/24
And for the R1 and R2 was in separate AS, configuration as below:
R1:
router bgp 7675
bgp router-id 192.168.30.1
neighbor 192.168.30.2 remote-as 7676
!
address-family ipv4 unicast
network 192.168.10.0/24
exit-address-family
R2:
router bgp 7676
bgp router-id 192.168.30.2
neighbor 192.168.30.1 remote-as 7675
!
address-family ipv4 unicast
network 192.168.20.0/24
exit-address-family
---
However, R1 didn’t get the “192.168.20.0/24” route, and R2 didn’t get the “192.168.10.0/24” route. So I decided to dig the debug info deeper. Here is some information I got:
R1 # show ip route
K>* 0.0.0.0/0 [0/0] via <my_public_gw>, enp8s0, 01:07:41
C>* <my_public_ip>/26 is directly connected, enp8s0, 01:07:41
K>* 192.168.10.0/24 [0/0] is directly connected, veth2, 00:23:10
C>* 192.168.30.0/24 is directly connected, veth0, 00:40:32
R1 # show ip bgp 192.168.10.0
BGP routing table entry for 192.168.10.0/24
Paths: (1 available, best #1, table default)
Not advertised to any peer
Local
0.0.0.0 from 0.0.0.0 (192.168.30.1)
Origin IGP, metric 0, weight 32768, valid, sourced, local, best (First path received)
Last update: Thu Sep 17 06:30:46 2020
>>>
R2 # show ip route
C>* 192.168.20.0/24 is directly connected, veth1000, 00:41:39
C>* 192.168.30.0/24 is directly connected, veth1, 00:41:41
R2 # show ip bgp 192.168.20.0/24
BGP routing table entry for 192.168.20.0/24
Paths: (1 available, best #1, table default)
Not advertised to any peer
Local
0.0.0.0 from 0.0.0.0 (192.168.30.2)
Origin IGP, metric 0, weight 32768, valid, sourced, local, best (First path received)
Last update: Thu Sep 17 06:57:55 2020
/////
What I noticed is the “Not advertised to any peer”, and I can’t figure out why.
Appreciated to any help and advise, please let me know if you need further information.
Thank you guys.
---
Best regards,
Wei-Yu Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20200917/e6d72c29/attachment.htm>
More information about the frog
mailing list