<div dir="ltr">Is peering up?  "show ip bgp summary"<div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 18, 2020 at 7:27 AM Donald Sharp <<a href="mailto:sharpd@cumulusnetworks.com">sharpd@cumulusnetworks.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">please enter `no bgp network import-check`<br>
<br>
donald<br>
<br>
On Fri, Sep 18, 2020 at 7:23 AM Wei-Yu Chen <<a href="mailto:aweimeow.tw@gmail.com" target="_blank">aweimeow.tw@gmail.com</a>> wrote:<br>
><br>
> 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: <a href="http://192.168.10.1/24" rel="noreferrer" target="_blank">192.168.10.1/24</a><br>
> H2: <a href="http://192.168.20.1/24" rel="noreferrer" target="_blank">192.168.20.1/24</a><br>
> R1: <a href="http://192.168.10.254/24" rel="noreferrer" target="_blank">192.168.10.254/24</a> & <a href="http://192.168.30.1/24" rel="noreferrer" target="_blank">192.168.30.1/24</a><br>
> R2: <a href="http://192.168.20.254/24" rel="noreferrer" target="_blank">192.168.20.254/24</a> & <a href="http://192.168.30.2/24" rel="noreferrer" target="_blank">192.168.30.2/24</a><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 <a href="http://192.168.10.0/24" rel="noreferrer" target="_blank">192.168.10.0/24</a><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 <a href="http://192.168.20.0/24" rel="noreferrer" target="_blank">192.168.20.0/24</a><br>
>  exit-address-family<br>
><br>
> ---<br>
><br>
> However, R1 didn’t get the “<a href="http://192.168.20.0/24" rel="noreferrer" target="_blank">192.168.20.0/24</a>” route, and R2 didn’t get the “<a href="http://192.168.10.0/24" rel="noreferrer" target="_blank">192.168.10.0/24</a>” 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>* <a href="http://0.0.0.0/0" rel="noreferrer" target="_blank">0.0.0.0/0</a> [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>* <a href="http://192.168.10.0/24" rel="noreferrer" target="_blank">192.168.10.0/24</a> [0/0] is directly connected, veth2, 00:23:10<br>
> C>* <a href="http://192.168.30.0/24" rel="noreferrer" target="_blank">192.168.30.0/24</a> is directly connected, veth0, 00:40:32<br>
><br>
> R1 # show ip bgp 192.168.10.0<br>
> BGP routing table entry for <a href="http://192.168.10.0/24" rel="noreferrer" target="_blank">192.168.10.0/24</a><br>
> Paths: (1 available, best #1, table default)<br>
>  Not advertised to any peer<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>* <a href="http://192.168.20.0/24" rel="noreferrer" target="_blank">192.168.20.0/24</a> is directly connected, veth1000, 00:41:39<br>
> C>* <a href="http://192.168.30.0/24" rel="noreferrer" target="_blank">192.168.30.0/24</a> is directly connected, veth1, 00:41:41<br>
><br>
> R2 # show ip bgp <a href="http://192.168.20.0/24" rel="noreferrer" target="_blank">192.168.20.0/24</a><br>
> BGP routing table entry for <a href="http://192.168.20.0/24" rel="noreferrer" target="_blank">192.168.20.0/24</a><br>
> Paths: (1 available, best #1, table default)<br>
>  Not advertised to any peer<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.<br>
><br>
> ---<br>
><br>
> Best regards,<br>
> Wei-Yu Chen<br>
><br>
> _______________________________________________<br>
> frog mailing list<br>
> <a href="mailto:frog@lists.frrouting.org" target="_blank">frog@lists.frrouting.org</a><br>
> <a href="https://lists.frrouting.org/listinfo/frog" rel="noreferrer" target="_blank">https://lists.frrouting.org/listinfo/frog</a><br>
<br>
_______________________________________________<br>
frog mailing list<br>
<a href="mailto:frog@lists.frrouting.org" target="_blank">frog@lists.frrouting.org</a><br>
<a href="https://lists.frrouting.org/listinfo/frog" rel="noreferrer" target="_blank">https://lists.frrouting.org/listinfo/frog</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Don Slice<div>Cumulus Networks</div></div></div>