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

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

2 VLANs, 3 Routes, How?


I have a setup as attached. I have asked the question before but my config (described below)has not worked.

1. The 1841 Router has all the intelligence (ie routing info)

2. The 2 VLANs must use its own ADSL Router. (I understand this ought to be configured as PBR)

3. Both VLANs must connect to network for a common application. (I have tried some access list but no good)

Here is my attempted config:

access-list 1 permit any

access-list 2 permit any

access-list 100 deny ip any

route-map ADSL permit 10

match ip address 100

match ip address 1

set ip next-hop

route-map ADSL permit 20

match ip address 100

match ip address 2

set ip next-hop

int fastethernet 0/0

ip policy route-map ADSL

ip route (note the ip is the wireless interface between the 2 1841)

Any suggestions?

Hall of Fame Super Silver

Re: 2 VLANs, 3 Routes, How?


your configuration of PBR has to be changed.

As far as I know, the problem are the ACLs.

First skip ACL 100.

use the following ACLs:

access-list 101 deny

access-list 101 permit any

access-list 102 deny

access-list 102 permit any

the route-map becomes

route-map ADSL permit 10

match ip address 101

set ip next-hop

route-map ADSL permit 20

match ip address 102

set ip next-hop

This should work.

However, the best solution would be to configure a static route for on the two ADSL routers and make them the default gateways for VLAN1 and VLan2. So PCs will be redirected via icmp redirect to the 1841 when accessing net and will use the ADSL router for everything else.

Hope to help


New Member

Re: 2 VLANs, 3 Routes, How?

I understand your point. However the application is actually VoIP and its best to limit the number of routers dealing with this class traffic.

I have all the QoS configured on the 1841 and the ADSL routers are non-QoS enabled devices.


CreatePlease to create content