From: Eric Cables (ecables@gmail.com)
Date: Thu Feb 24 2005 - 21:23:50 GMT-3
That would cause a recursive routing lookup. It would work, assuming
you had a route to the next-hop. For example:
Uplink: 1.2.3.0/30 (provider = .1, you = .2)
Loopback on provider's equipment: 192.168.1.1
ip route 192.168.1.1 255.255.255.255 1.2.3.1
ip route 0.0.0.0 0.0.0.0 192.168.1.1
Obviously the IP addresses are fake, but the concept is the same. For
traffic destined to the Internet (quad 0), the router will look in its
routing table for a destination to 192.168.1.1, which will in turn
perform a lookup to 1.2.3.1, which it will see as directly connected
and send out the interface to your provider.
Hope this helps,
On Thu, 24 Feb 2005 16:14:43 -0800, Jonathan ZD <Nuvo25@hotmail.com> wrote:
> When using "ip route" with next-hop address, does it neccessary to be the
> ip add of the interface of connected router? Can I point to, let say, loopback
> of the neighbor? or even address of router reside on a couple hop away? Will
> this work?
>
> Thanks,
>
> Jonathan
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
-- Eric Cables Network Engineer, CCIE #12799
This archive was generated by hypermail 2.1.4 : Thu Mar 03 2005 - 08:51:25 GMT-3