cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
359
Views
0
Helpful
5
Replies

route maps

carl_townshend
Spotlight
Spotlight

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 ?

5 Replies 5

Anand Narayana
Level 6
Level 6

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

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, ?

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.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos_c/fqcprt1/qcfpbr.htm#wp1001052

hope it helps ... rate if it does ...

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

http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120limit/120s/120s28/12s_pbr.htm

HTH, rate if it does

Narayan

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 ?

Getting Started

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: