Route-map "next hop" questions

Unanswered Question
Sep 4th, 2008
User Badges:

Needing to set some "next-hop" statements with a route map. These will be applied to Vlan24 interface (10.122.24.1/23).


I want to split outbound (0.0.0.0) Internet access for Vlan24 across two endpoints based on the workstaton subnet. No issues doing that.


But my question is do I have to specify a "next-hop" if I want the traffic specifed in "route-map internet permit 11" to use Vlan24 for its "next hop"?


Will not having any statement allow match traffic to continue to use Vlan24 interface as before? Or must I have a "set ip next-hop 10.122.24.1" so traffic will continue to use 24.1 for "next hop".


interface Vlan24

ip address 10.122.24.1 255.255.254.0

ip policy route-map internet


route-map internet permit 11

match ip address 11

!

route-map internet permit 12

match ip address 12

set ip next-hop 10.122.100.20

!


What I would really like to do is just direct all unknown traffic to 10.122.100.20 and to allow specified hosts to continue to use 10.122.24.1 as their default gateway and let the swtich route them as normal. But I don't think this is possible.


Switch is 6513 hybrid-mode running 12.2(17d)SXB11 on the Sup32.


Thanks


thanks



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Harold Ritter Thu, 09/04/2008 - 07:03
User Badges:
  • Cisco Employee,

Doug,


You could simply remove instance number 11 and traffic not matching instance 12 would be routed according to the default gateway installed in the RIB.


Regards

Marwan ALshawi Thu, 09/04/2008 - 07:41
User Badges:
  • Purple, 4500 points or more
  • Community Spotlight Award,

    Best Publication, December 2015

hi HAROLD


this is 5 from :)

dmooreami Thu, 09/04/2008 - 09:25
User Badges:

To do what I want should have "set default ip next-hop, not "set ip next-hop".


This will only send unknown traffic to the "next-hop" if there are not explicit routes for it in the router.


The "set ip next-hop" will send all traffic to the next hop, not unknow traffic. A great way to overload a router with unnecessary traffic. :)

Actions

This Discussion