Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Routing different source IP packets to different exit interfaces

I have a 2621 router which links our internal network to two separate ISPs. I have two different internal networks, each needing to exit the router through separate interfaces to the different isps, I want to create a route map which will let me do this. This is what I am trying

interface FastEthernet0/0 (LAN interface that both networks share)

ip add x.x.x.x y.y.y.y

ip policy route-map Tenants

route-map Tenants permit 10

match ip address 20

set inteface FastEthernet0/1 (the interface I want this traffice to exit)

access-list 20 permit x.x.x.z z.z.z.z

This doesn't seem to be working.

Suggestions?

Gerard Forster

2 REPLIES
Silver

Re: Routing different source IP packets to different exit interf

Gerard,

If your client sources are x.x.x.x y.y.y.y and your acl in your route-map is permitting x.x.x.z z.z.z.z then you might not be satisfying your match condition. I would guess, without seeing your IP addresses that you might have an ACL issue where nothing is matching. "show route-map" should show you your tenants route-map and matches incurred by each permit statement.

Once you get this working you can also use a "set ip next-hop x.x.x.x" where x.x.x.x is the next hop of your ISP. On non point to point type links (Ethernet) this is a better practice then just setting and out bound interface.

Hope this helps,

Don

cwy
New Member

Re: Routing different source IP packets to different exit interf

try to use IP extended access list.

158
Views
5
Helpful
2
Replies
CreatePlease login to create content