<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font size="2" face="Verdana">I guess you need this:</font></p>
    <p><font size="2" face="Verdana">ip route 172.10.20.0/30 Null0<br>
        ip route 192.168.100.0/24 </font><font size="2" face="Verdana">Null0</font></p>
    <p><font size="2" face="Verdana"><br>
      </font></p>
    <div class="moz-cite-prefix">Em 27/11/2023 13:51, Jorge Visentini
      escreveu:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAG=j6fqrqrEN9_pCQAepQAhTR2cLgJ8Zxrfd=Gex=Hkz3RD-Wg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi all!<br>
        <br>
        I configured the BGP peer to test and the sessions are UP but it
        does not propagate the networks. I tried all the options that I
        know, but it does not work yet.<br>
        <br>
        I don't know if the error is my installation on Rocky Linux or
        just my BGP syntax.<br>
        <br>
        <b>FRRouting 9.0.1<br>
          Kernel 5.14.0-362.8.1.el9_3.x86_64<br>
          Rocky Linux 9.3</b><br>
        <br>
        <b>/etc/sysctl.conf:<br>
          net.ipv4.ip_forward = 1<br>
          net.ipv6.conf.all.forwarding = 1</b><br clear="all">
        <div><br>
        </div>
        <div><font face="monospace">R01# show run<br>
            Building configuration...<br>
            <br>
            Current configuration:<br>
            !<br>
            frr version 9.0.1<br>
            frr defaults traditional<br>
            hostname R01<br>
            log syslog informational<br>
            service integrated-vtysh-config<br>
            !<br>
            interface eth2<br>
             ip address <a href="http://10.10.20.1/30"
              moz-do-not-send="true">10.10.20.1/30</a><br>
            exit<br>
            !<br>
            interface eth3<br>
             ip address <a href="http://10.10.30.1/30"
              moz-do-not-send="true">10.10.30.1/30</a><br>
            exit<br>
            !<br>
            router bgp 65100<br>
             bgp router-id 172.10.20.1<br>
             bgp log-neighbor-changes<br>
             no bgp network import-check<br>
             neighbor 10.10.20.2 remote-as 65200<br>
             neighbor 10.10.20.2 description ASN65200<br>
             neighbor 10.10.30.2 remote-as 65300<br>
             neighbor 10.10.30.2 description ASN65300<br>
             !<br>
             address-family ipv4 unicast<br>
              network <a href="http://172.10.20.0/30"
              moz-do-not-send="true">172.10.20.0/30</a><br>
              network <a href="http://192.168.100.0/24"
              moz-do-not-send="true">192.168.100.0/24</a><br>
              redistribute connected<br>
              neighbor 10.10.20.2 soft-reconfiguration inbound<br>
              neighbor 10.10.20.2 prefix-list ASN65200-IN in<br>
              neighbor 10.10.20.2 prefix-list ASN65200-OUT out<br>
             exit-address-family<br>
            exit<br>
            !<br>
            access-list ANS65200-IN seq 5 permit <a
              href="http://0.0.0.0/0" moz-do-not-send="true">0.0.0.0/0</a><br>
            access-list ANS65200-OUT seq 5 permit <a
              href="http://192.168.100.0/24" moz-do-not-send="true">192.168.100.0/24</a><br>
            !<br>
            end<br>
            R01#<br>
            <br>
            <br>
            [root@ASN65200 ~]# cat /etc/frr/frr.conf<br>
            frr version 9.0.1<br>
            frr defaults traditional<br>
            hostname ASN65200<br>
            log syslog informational<br>
            service integrated-vtysh-config<br>
            !<br>
            interface eth2<br>
             ip address <a href="http://10.10.20.2/30"
              moz-do-not-send="true">10.10.20.2/30</a><br>
            exit<br>
            !<br>
            interface eth3<br>
             ip address <a href="http://10.20.40.2/30"
              moz-do-not-send="true">10.20.40.2/30</a><br>
            exit<br>
            !<br>
            interface lo<br>
            exit<br>
            !<br>
            interface eth0<br>
            exit<br>
            !<br>
            router bgp 65200<br>
             bgp router-id 2.2.2.2<br>
             bgp log-neighbor-changes<br>
             no bgp network import-check<br>
             neighbor 10.10.20.1 remote-as 65100<br>
             neighbor 10.20.40.1 remote-as 65400<br>
             !<br>
             address-family ipv4 unicast<br>
              network <a href="http://2.2.2.2/32"
              moz-do-not-send="true">2.2.2.2/32</a><br>
              redistribute connected<br>
              neighbor 10.10.20.1 default-originate<br>
              neighbor 10.10.20.1 soft-reconfiguration inbound<br>
              neighbor 10.10.20.1 prefix-list ANS65100-IN in<br>
              neighbor 10.10.20.1 prefix-list ANS65100-OUT out<br>
             exit-address-family<br>
            exit<br>
            !<br>
            access-list ASN65100-IN seq 5 permit <a
              href="http://0.0.0.0/0" moz-do-not-send="true">0.0.0.0/0</a><br>
            access-list ASN65100-OUT seq 5 permit <a
              href="http://2.2.2.2/32" moz-do-not-send="true">2.2.2.2/32</a><br>
            !<br>
            [root@ASN65200 ~]#<br>
          </font></div>
        <div><font face="monospace"><br>
          </font></div>
        <div><font face="monospace"><br>
          </font></div>
        <div><font face="monospace">R01# show ip bgp summary<br>
            <br>
            IPv4 Unicast Summary (VRF default):<br>
            BGP router identifier 172.10.20.1, local AS number 65100
            vrf-id 0<br>
            BGP table version 4<br>
            RIB entries 7, using 1344 bytes of memory<br>
            Peers 2, using 41 KiB of memory<br>
            <br>
            Neighbor        V         AS   MsgRcvd   MsgSent   TblVer
             InQ OutQ  Up/Down State/PfxRcd   PfxSnt Desc<br>
            10.10.20.2      4      65200        28        25        4  
             0    0 00:19:25     (Policy) (Policy) ASN65200<br>
            10.10.30.2      4      65300         0         0        0  
             0    0    never       Active        0 ASN65300<br>
            <br>
            Total number of neighbors 2</font></div>
        <div><font face="monospace"><br>
          </font></div>
        <div><font face="monospace"><br>
            R01# do show ip bgp neighbors 10.10.20.2 received<br>
            BGP table version is 4, local router ID is 172.10.20.1, vrf
            id 0<br>
            Default local pref 100, local AS 65100<br>
            Status codes:  s suppressed, d damped, h history, * valid,
            > best, = multipath,<br>
                           i internal, r RIB-failure, S Stale, R Removed<br>
            Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self<br>
            Origin codes:  i - IGP, e - EGP, ? - incomplete<br>
            RPKI validation codes: V valid, I invalid, N Not found<br>
            <br>
                Network          Next Hop            Metric LocPrf
            Weight Path<br>
             *> <a href="http://0.0.0.0/0" moz-do-not-send="true">0.0.0.0/0</a>
                   10.10.20.2               0             0 65200 i<br>
            <br>
            Total number of prefixes 1 (1 filtered)<br>
            R01#</font><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Any tips?</div>
        <span class="gmail_signature_prefix">-- </span><br>
        <div dir="ltr" class="gmail_signature"
          data-smartmail="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">
                <div><span style="color:rgb(153,153,153)"><span
                      style="font-family:arial,helvetica,sans-serif">Att,<br>
                    </span></span></div>
                <span style="color:rgb(153,153,153)"><span
                    style="font-family:arial,helvetica,sans-serif">Jorge
                    Visentini<br>
                    +55 55 98432-9868</span></span><br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
frog mailing list
<a class="moz-txt-link-abbreviated" href="mailto:frog@lists.frrouting.org">frog@lists.frrouting.org</a>
<a class="moz-txt-link-freetext" href="https://lists.frrouting.org/listinfo/frog">https://lists.frrouting.org/listinfo/frog</a>
</pre>
    </blockquote>
  </body>
</html>