[j-nsp] traceroute via given gateway

Cougar cougar at random.ee
Thu Oct 21 17:29:04 EDT 2004


Hi,

I have more than one uplinks connected to thye router (Juniper of course) 
and I'd like to test some hosts' connectivity using all these links one by 
one. With point-to-point links like POS and ATM I can use command like 
this

traceroute bypass-routing source ${IFIP} interface ${IF} gateway ${GWIP} ${TARGET}

But when routers are connected with ethernet, it is not possible any more. 
Juniper sends out loose-route packets and of course every gateway in the 
network drops them. I din't find any way to diable this behavior and let 
Juniper send out normal packets but just to the right gateway using normal 
ARP table.

Then I created special routing instances with one static 0.0.0.0/0 route 
to the each gateway I'm connected with. I imported all of them to 
interface-routes rib goup. They are now in routing table but I can't use 
them. Using routing-instance parameter in traceroute I get error message 
"traceroute: sendmsg: No route to host".

Any ideas how to solve this problem?
 
---
Cougar


More information about the juniper-nsp mailing list