cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
546
Views
5
Helpful
2
Replies

Routing different source IP packets to different exit interfaces

gerard.forster
Level 1
Level 1

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 2

donewald
Level 6
Level 6

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

try to use IP extended access list.