Junos OS

last person joined: 19 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  Static route next-hop = receive??

    Posted 01-28-2009 14:10

    Junos documentation states that the next hop options for a static route are reject, discard, RECEIVE, iso-net and next-table.

     

    It describes receive as "install a receive route for this destination into the routing table"

     

    What does this mean?

     

    Thanks!!!!

     

    A.

     

     



  • 2.  RE: Static route next-hop = receive??

    Posted 01-28-2009 16:45
    RECEIVE: A method of receiving a packet to the destination to be received by the local router.


  • 3.  RE: Static route next-hop = receive??

    Posted 01-28-2009 16:52

    What does it mean "to be received by the local router"?

     

    Thanks!!!



  • 4.  RE: Static route next-hop = receive??

    Posted 01-29-2009 02:35

    Hello Ahsoka,

     

    A /32 "receive" next-hop will be installed by the router by default for every IP address configured on its interfaces.

    This includes /32 addresses configured on the loopback interface but also the address configured on other interfaces.

     

    For example, if you configure 1.1.1.1/24 on ge-0/0/0 - the router will install the following entries in the forwarding-table:

     1.1.1.0/24 -> NH = ge-0/0/0

     1.1.1.1/32 -> NH = receive

     

    "Receive" simply means that instead of try to forward a packet destined to 1.1.1.1 out of one of its interfaces, the router knows that this packet is destined to itself and will pass it on to the routing-engine for further processing.

     

    To be honest, I cannot think of an example right now where you would want to configure "next-hop receive" for a static-route.

     

    HTH,

    /david