route maps

Unanswered Question
Jan 2nd, 2007
User Badges:

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 ?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Anand Narayana Tue, 01/02/2007 - 04:29
User Badges:
  • Silver, 250 points or more

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


carl_townshend Tue, 01/02/2007 - 04:47
User Badges:

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

sourabhagarwal Tue, 01/02/2007 - 07:14
User Badges:
  • Gold, 750 points or more

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 ...

royalblues Tue, 01/02/2007 - 10:47
User Badges:
  • Green, 3000 points or more

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





carl_townshend Thu, 01/04/2007 - 03:37
User Badges:

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 ?

Actions

This Discussion