<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">Hello FRR communities, <br />
<br />
I’m working on the following topology, it’s a simple experimental environment to learn how to configure route service with FRR.<br />
<br />
H1 - R1 - R2 - H2<br />
<br />
Here is the IP information:<br />
H1: 192.168.10.1/24<br />
H2: 192.168.20.1/24<br />
R1: 192.168.10.254/24 & 192.168.30.1/24<br />
R2: 192.168.20.254/24 & 192.168.30.2/24<br />
<br />
<br />
And for the R1 and R2 was in separate AS, configuration as below:<br />
<br />
R1:<br />
router bgp 7675<br />
bgp router-id 192.168.30.1<br />
neighbor 192.168.30.2 remote-as 7676<br />
!<br />
address-family ipv4 unicast<br />
network 192.168.10.0/24<br />
exit-address-family<br />
<br />
R2:<br />
router bgp 7676<br />
bgp router-id 192.168.30.2<br />
neighbor 192.168.30.1 remote-as 7675<br />
!<br />
address-family ipv4 unicast<br />
network 192.168.20.0/24<br />
exit-address-family<br />
<br />
---<br />
<br />
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:<br />
<br />
R1 # show ip route<br />
<br />
K>* 0.0.0.0/0 [0/0] via <my_public_gw>, enp8s0, 01:07:41<br />
C>* <my_public_ip>/26 is directly connected, enp8s0, 01:07:41<br />
K>* 192.168.10.0/24 [0/0] is directly connected, veth2, 00:23:10<br />
C>* 192.168.30.0/24 is directly connected, veth0, 00:40:32<br />
<br />
R1 # show ip bgp 192.168.10.0<br />
BGP routing table entry for 192.168.10.0/24<br />
Paths: (1 available, best #1, table default)<br />
<span style="color:#ff0000">Not advertised to any peer</span><br />
Local<br />
0.0.0.0 from 0.0.0.0 (192.168.30.1)<br />
Origin IGP, metric 0, weight 32768, valid, sourced, local, best (First path received)<br />
Last update: Thu Sep 17 06:30:46 2020<br />
<br />
>>><br />
<br />
R2 # show ip route<br />
<br />
C>* 192.168.20.0/24 is directly connected, veth1000, 00:41:39<br />
C>* 192.168.30.0/24 is directly connected, veth1, 00:41:41<br />
<br />
R2 # show ip bgp 192.168.20.0/24<br />
BGP routing table entry for 192.168.20.0/24<br />
Paths: (1 available, best #1, table default)<br />
<span style="color:#ff0000">Not advertised to any peer</span><br />
Local<br />
0.0.0.0 from 0.0.0.0 (192.168.30.2)<br />
Origin IGP, metric 0, weight 32768, valid, sourced, local, best (First path received)<br />
Last update: Thu Sep 17 06:57:55 2020<br />
<br />
/////<br />
<br />
What I noticed is the “Not advertised to any peer”, and I can’t figure out why.<br />
Appreciated to any help and advise, please let me know if you need further information.<br />
<br />
Thank you guys.</div>
</div>
<div name="messageSignatureSection"><br />
<div class="matchFont">
<div dir="auto">---
<div dir="auto">
<div class="bloop_markdown">
<p style="margin: 15px 0px; margin-block-start: 0px;">Best regards,<br style="margin-block-start: 0px;" />
Wei-Yu Chen</p>
<p style="margin: 15px 0px;"></p>
</div>
<div class="bloop_original_html">
<div class="bloop_markdown" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">
<p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>