02-17-2010 03:59 AM - edited 03-06-2019 09:44 AM
Hi,
I'd like to set on our 3750 switch some sort of rule that will say for client 10.50.20.12 set the deafult route 0.0.0.0 to be ip 10.44.81.250, instead of the global default route of 10.45.81.250.
Thanks for any help.
Dan
02-17-2010 04:19 AM
Hi,
I'd like to set on our 3750 switch some sort of rule that will say for client 10.50.20.12 set the deafult route 0.0.0.0 to be ip 10.44.81.250, instead of the global default route of 10.45.81.250.
Thanks for any help.
Dan
Hi Dan,
It can be achievable if 3750 supports poilicy based routing if yes then you can create route-map and set the next hop for those specific ip address,check out the below sample example hope that help !!
access-list 111 remark acl for lan1
access-list 111 permit ip 192.168.3.0 0.0.0.255 any
route-map rock permit 10
match ip address 111
set ip next-hop 1.1.1.2
If helpful do rate the post !!
Ganesh.H
02-17-2010 04:36 AM
Thanks for that. But how do I install the route-map into the routing table. I'm running eigrp.
Thanks
02-17-2010 04:56 AM
dan_track wrote:
Thanks for that. But how do I install the route-map into the routing table. I'm running eigrp.
Thanks
Dan
You apply the route-map in Ganesh's example to the interface on which traffic from 10.50.20.12 will be arriving eg.
int vlan 10
ip policy route-map
Jon
02-17-2010 09:24 AM
on switches, i think you will also need to change the sdm prefer to routing before you can apply PBR.
Nhat
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide