01-02-2007 03:41 AM - edited 03-05-2019 01:33 PM
Hi all, If I set an ip next hop for a network, does that router have to be local to the one where the route maos on, or can it go via a number of routers until it reaches the one stated in your route map ?
01-02-2007 04:29 AM
Hi Carl,
assume that you wanted to reach "Network D" from ur "Network A", which is connected like A-->B-->C-->D. since your "Network A" router is not directly connected to "Network D" you can put a Network route like to reach "Network D" go via "Network A's" serial port or juz specify "Network B's" serial port IP.
Network A
Ethernet 10.1.1.0/24
Serial 0 192.168.1.1/30
Network B
Ethernet 10.2.1.0/24
Serial 0 192.168.1.2/30
Serial 1 192.168.2.1/30
Network C
Ethernet 10.3.1.0/24
Serial 0 192.168.2.2/30
Serial 1 192.168.3.1/30
Network D
Ethernet 10.4.1.0/24
Serial 0 192.168.3.2/30
in this scenario u can route map like as follows on Network A router.
ip route 10.4.1.0 255.255.255.0 192.168.1.2
or else you put "router eigrp"
router eigrp 1
network 192.168.4.0
network 10.4.1.0
01-02-2007 04:47 AM
thanks for that, but thats not my question here, I want to know if a route map statement with a next hop on say router D will go through router B and C no problem, ?
01-02-2007 07:14 AM
say Router A is connected to Router B and Router C.
now if you want to route a specific source network from Router A to router B only, you will apply route map on Router A and set next hop IP with the IP of Router B interface which is connecting to Router A.
check this URL to get more information.
hope it helps ... rate if it does ...
01-02-2007 10:47 AM
Hi Carl,
You can certainly do what you want. For this you need to use PBR recursive routing feature
in which it is not necessary to have the next hop as a directly connected interface
But this feature was introduced only in 12.3(14)T.
check this link for details
http://www.cisco.com/en/US/products/sw/iosswrel/ps1829/products_feature_guide09186a008021de72.html
HTH, rate if it does
Narayan
01-04-2007 03:37 AM
thanks for that, how come we still have to put a next hop ip address in too ?, wouldnt you just put the recursive route in ?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: