How to Ping without using Static,Default or Dynamic Routing.

llllvllllllllvllll Member Posts: 58 ■■□□□□□□□□


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

  • SteveO86SteveO86 Member Posts: 1,423
    I'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
  • atorvenatorven Member Posts: 319
    Wouldn’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?
  • ZartanasaurusZartanasaurus 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%
  • atorvenatorven 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?
  • ZartanasaurusZartanasaurus Member Posts: 2,008 ■■■■■■■■■□
    atorven wrote: »
    @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?
    My post was in response to OP, not you.
    Currently reading:
    IPSec VPN Design 44%
    Mastering VMWare vSphere 5​ 42.8%
  • MrXpertMrXpert Member Posts: 586 ■■■□□□□□□□
    I'd use ODR:D
    I'm an Xpert at nothing apart from remembering useless information that nobody else cares about.
  • SettSett Member Posts: 187
    NAT it.
    Non-native English speaker
  • llllvllllllllvllll Member Posts: 58 ■■□□□□□□□□
    MrXpert :- it is a type of routing, so u can't use it :P hehe
    Sett :- yes Nat can be used. ty for reminding me of Nat :D
    ty everyone for your replies. :)
Sign In or Register to comment.