bypass routing table for testing purposes

m4rtinm4rtin Member Posts: 170
I receive prefix from via BGP:
[email protected]> show route protocol bgp next-hop table inet.0

inet.0: 437590 destinations, 1439597 routes (430210 active, 14 holddown, 20622 hidden)
+ = Active Route, - = Last Active, * = Both       [BGP/170] 04:12:00, MED 0, localpref 120
                      AS path: 65401 65402 65403 65404 I
                    > to via ge-0/1/0.0

[email protected]> traceroute gateway no-resolve    
traceroute to (, 30 hops max, 48 byte packets
 1  0.360 ms !S  0.316 ms !S  0.336 ms !S

[email protected]> traceroute gateway no-resolve bypass-routing 
traceroute to (, 30 hops max, 48 byte packets
 1  0.336 ms !S  0.338 ms !S  0.365 ms !S

[email protected]>

As you can see, it's not active route(no + or * in front of it). However, I would like to route packets over this next-hop address for testing purposes without changing the configuration(for example increasing the local preference). For some reason I receive " 0.360 ms !S 0.316 ms !S 0.336 ms !S" from next-hop router. Any ideas why? Or is such testing possible on JUNOS?


  • zoidbergzoidberg Member Posts: 365 ■■■■□□□□□□
    It looks like you are bypassing the routing table just fine. The packets reach the next-hop as you intended. However, is telling you that it doesn't like the source-route option being used by your traceroute. Those options are often blocked on networks.

    Instead of specifying the gateway, can you try doing traceroute bypass-routing interface ge-0/1/0.0 and see if that works for you? If you drop the gateway out of the traceroute, I don't think it will use the source-route option in the packet.
Sign In or Register to comment.