Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

default routes

Hi all

Would it be possible to put a next hop for a default route to somewhere on another network? or am I right in thinking that the device would never get there as the next hop is not directly connected, is this called recursive routing ?

3 REPLIES
Cisco Employee

Re: default routes

Carl,

It is indeed possible to configure any route to a non-directly connected NH. And yes that would be called a recursive route.

Regards

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
New Member

Re: default routes

can you give an example of this to clarify ?

Cisco Employee

Re: default routes

R1 10.1.1.1 - 10.1.1.2 R2 192.168.1.1 - 192.168.1.2 R3

On R1:

ip route 0.0.0.0 0.0.0.0 192.168.1.2

ip route 192.168.1.0 255.255.255.0 10.1.1.2

So, the default route is pointing to 192.168.1.2 on R3. But to reach 192.168.1.0/24, R1 needs to route to R2.

Regards,

Arul

117
Views
0
Helpful
3
Replies