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

Changing the default route for an interface using route-map

All,

I have a vlan over a point to multi point wireless device on a cat 6500

(with router processor) that I need to have default route over one of the

end points on the vlan and not out to the rest of my network. I believe that

I can do this with the a route-map but it does not appear to work. I need

the secondary to make it work with the PMP wireless the two radios can not

see ach other throught the basestation. I need to send all traffic

originating from the 123.123.124.0 network to the 123.123.123.9 address

except for directly connected nets on the 6500.

I have put the following in :

!

interface VlanXXX

description City Fire Department

ip address 123.123.123.10 255.255.255.252

ip address 123.123.124.1 255.255.255.0 secondary

no ip redirects

no ip unreachables

ip policy route-map 130

!

!

route-map 130 permit 10

match ip address 130

set ip default next-hop 123.123.123.9

!

access-list 130 permit ip any any

Any pointers would be appreciated! What am I missing?

James Gorman

1 REPLY
New Member

Re: Changing the default route for an interface using route-map

You are mixing metaphors here.

Policy routing is used to bypass the routing table.

You are using the policy rout to modify the routing table, which it would ignore.

try set ip next-hop 123.123.123.9 in route-map 130

However, this will over-ride everything, including directly connected.

I would do an:

access list 130 deny ip any connected1

access list 130 deny ip any connected2

access list 130 deny ip any connected3

access-list 130 permit ip any any.

This will drop the connected routes into the routing table, where they will be delivered normally. (use the correct networks, rather than connected1)

Policy routes do not affect packets generated by the router without an IP local policy statement, so be sure to test from a separate device.

Good Luck;

Doug

92
Views
0
Helpful
1
Replies
CreatePlease to create content