Junos
Junos

What interface receive traffic

04.20.17   |  
‎04-20-2017 09:21 AM

It has four static routes. How do I know which interface arrives to 99.0.0.1?

 

user@router> show route protocol static
inet.0: 15 destinations, 15 routes (15 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
99.0.0.0/17 *[Static/5] 00:00:11
>to 10.1.1.2 via ge-0/0/1.0
99.0.0.0/19 *[Static/5] 00:00:11
>to 10.1.2.2 via ge-0/0/2.0
99.0.0.0/24 *[Static/5] 00:00:11
>to 10.1.3.2 via ge-0/0/3.0
99.0.0.0/26 *[Static/5] 00:00:11
>to 10.1.4.2 via ge-0/0/4.0
-- Exhibit --

2 REPLIES
Highlighted
Junos
Solution
Accepted by topic author flamengo
‎04-20-2017 10:09 AM

Re: What interface receive traffic

04.20.17   |  
‎04-20-2017 10:04 AM

if you mean which interface will be chosen to send packet sto 99.0.01 ?

 

the most specific one of the matching routes

99.0.0.0/26 *[Static/5] 00:00:11
>to 10.1.4.2 via ge-0/0/4.0

 

regards

 

alexander

Junos

how it will be ge-0/0/4 . Explain in detail

09.07.17   |  
‎09-07-2017 04:38 AM