Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Selective default route Question

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

4 REPLIES

Re: Selective default route Question

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

New Member

Re: Selective default route Question

Thanks for that. But how do I install the route-map into the routing table. I'm running eigrp.

Thanks

Hall of Fame Super Blue

Re: Selective default route Question

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

New Member

Re: Selective default route Question

on switches, i think you will also need to change the sdm prefer to routing before you can apply PBR.

Nhat

424
Views
0
Helpful
4
Replies
CreatePlease to create content