07-31-2012 03:13 AM - edited 03-04-2019 05:07 PM
hi all
jsut a quick question, my be a little basic.
Is it possible to route to a device thats not directly connected, ie over an MPLS cloud. I have a route to say 1.1.1.1 in my network that I can reach.
Is it ok if I put a route on my router directing traffic to the 1.1.1.1 address a few hops away ?
Solved! Go to Solution.
07-31-2012 07:10 AM
Hi,
so you have a route to 1.1.1.1 and you want to give the static route for x.x.x.x to point to 1.1.1.1 ?
If so yes it is doable as the router will do a recursive lookup.
Regards.
Alain
Don't forget to rate helpful posts.
07-31-2012 03:50 AM
Hi Carl,
i am not 100% sure what you are asking for but let's say you have a router R1 with a subnet 1.1.1.0/24 and you need to reach the router R6 on your infrastructure with a network of 6.6.6.0/24 then, you can write on R1
ip route 0.0.0.0 0.0.0.0 6.6.6.1 ! assuming 6.6.6.6 is a valid ip
and on R6
ip route 0.0.0.0 0.0.0.0 1.1.1.1 ! assuming 1.1.1.1 is a valid ip
Of course you need at least one of these two conditions to be true:
a) a only-layer 2 technology is connecting the two routers
b) each router knows how to reach the next hop in your infrastructure
with a dynamic routing protocol you fix this issue because you share the same routing table (or routing instance) where you can find information about the network to reach.
For MPLS it gets a little bit more complicated. I would divide your question in the analysis of:
1) CE to PE routing
2) PE to PE routing type
3) PE to CE routing
Let's say anywa that your provider is running AToM over its network, that you could communicate with a static route in quite a number of cases. Of course AToM wouldn't be the only way.
Hope this helps
Alessio
07-31-2012 06:51 AM
hi
what I mean is, can I push a route to an address that is not directly connected, so If I have a router 3 hops away say with address 1.1.1.1 , 1.1.1.1 is reachable on my routing table, could I say push 192.168.1.0/24 to 1.1.1.1 3 hops away, would this work ?
cheers
Carl
07-31-2012 07:10 AM
Hi,
so you have a route to 1.1.1.1 and you want to give the static route for x.x.x.x to point to 1.1.1.1 ?
If so yes it is doable as the router will do a recursive lookup.
Regards.
Alain
Don't forget to rate helpful posts.
07-31-2012 03:58 AM
Hi Karl!
You can write a static or dynamic routing on your router.
The main thing that all routers in your net know about your source and dest network.
Hope I help you.
07-31-2012 04:47 PM
And why you would need to do that ? Just use next hop as normally done.
Recursive routing is never needed!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide