09-04-2008 06:51 AM - edited 03-03-2019 11:24 PM
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
09-04-2008 07:03 AM
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
09-04-2008 07:41 AM
hi HAROLD
this is 5 from :)
09-04-2008 09:25 AM
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. :)
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: