Junos OS

 View Only
last person joined: 22 hours ago 

Ask questions and share experiences about Junos OS.

Forwarding type Routing instance does not forward traffic

  • 1.  Forwarding type Routing instance does not forward traffic

    Posted 09-25-2023 10:07

    Hello everyone,

    I have a forwarding type routing instance which i leak all routes from a BGP group and even though the routes are in the table when i ping using the instance i get the error: "ping: sendto: Can't assign requested address"

    Here is the issue with more details :

    > ping 80.249.209.0
    PING 80.249.209.0 (80.249.209.0): 56 data bytes
    64 bytes from 80.249.209.0: icmp_seq=0 ttl=64 time=1.415 ms
    --- 80.249.209.0 ping statistics ---
    1 packets transmitted, 1 packets received, 0% packet loss
    round-trip min/avg/max/stddev = 1.415/1.415/1.415/0.000 ms

    > ping 80.249.209.0 routing-instance r2
    PING 80.249.209.0 (80.249.209.0): 56 data bytes
    ping: sendto: Can't assign requested address
    ping: sendto: Can't assign requested address

    >show route table r2.inet.0 80.249.209.0
    r2.inet.0: 31455 destinations, 62823 routes (31455 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both

    80.249.208.0/21    *[Direct/0] 1w2d 14:46:40
                        >  via xe-0/2/0.0

    I am running Junos 22.2R3.15 and the exact same configuration used to work fine with Junos 15.1R6.7

    Is this a bug?

    Here is my config for this:

    routing-options {
        interface-routes {
            rib-group inet direct;
        }
        rib-groups {
            direct {
                import-rib [ inet.0 r2.inet.0 ];
            }
            bgp-r2 {
                export-rib inet.0;
                import-rib [ inet.0 r2.inet.0 ];
            }
        }
    }
    protocols {
        bgp {
             group R2 {
                type external;
                family inet {
                    unicast {
                        rib-group bgp-r2;
                    }
                }
         }
    }
    routing-instances {
        r2  {
            instance-type forwarding;
        }
    }

    Thanks in advance



    ------------------------------
    KOSTAS MATSOUKAS
    ------------------------------