How to Ping without using Static,Default or Dynamic Routing.
I want to Ping R2 from R1's Loopback.
ex:- ping 10.0.0.2 source 20.0.0.1
But i don't want to use Static Routes,Default Routing & Dynamic Routing.
Is it even Possible?
What i Have tried is this:-
I made an access-list and a route map on R1.In Route-Map i matched my accesss-list and set my traffic to moove via serial 1/0
i Did Same on R2.
But it Didn't work.
I think Route-Map Requires a route to be in a routing table before taking any action otherwise Packet are dropped.(May be in this case).
Ok So can any one suggest some other methods to ping R2 via R1's Loopback?
Comments
-
SteveO86 Member Posts: 1,423I'm order to ping an address you will need a route to it.
you can perform policy routing but remember policy routing is only seen by the source it is configured on the traffic has to have a way of getting back from the destination to the source. Unless you are going policy route on both routers which can get messy really quick.My Networking blog
Latest blog post: Let's review EIGRP Named Mode
Currently Studying: CCNP: Wireless - IUWMS -
atorven Member Posts: 319Wouldn’t applying a policy to the router it’s self which matches all traffic and setting the ip default next-hop to R1 S1/0 interface work? Seeing as the loopback is seen as a connected interface no changes need to be made on it R1?
-
Zartanasaurus Member Posts: 2,008 ■■■■■■■■■□What is PBR on R1 going to do for you? It already has a route to the destination IP. It's R2 that doesn't have a route to R1's loopback. Do a debug ip packet detail on R2 then ping from R1. What's that tell you?
To answer your question though, yes it's possible to do this using the tools you are trying to use right now.Currently reading:
IPSec VPN Design 44%
Mastering VMWare vSphere 5 42.8% -
atorven Member Posts: 319@Zartanasaurus - maybe I wasn't clear in my post but if such a policy was applied to R2 wouldn't it do what the OP wants?
-
Zartanasaurus Member Posts: 2,008 ■■■■■■■■■□@Zartanasaurus - maybe I wasn't clear in my post but if such a policy was applied to R2 wouldn't it do what the OP wants?Currently reading:
IPSec VPN Design 44%
Mastering VMWare vSphere 5 42.8% -
MrXpert Member Posts: 586 ■■■□□□□□□□I'd use ODR:DI'm an Xpert at nothing apart from remembering useless information that nobody else cares about.