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

2 VLANs, 3 Routes, How?

Hi,

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 192.168.10.0 for a common application. (I have tried some access list but no good)

Here is my attempted config:

access-list 1 permit 192.168.1.0 0.0.0.255 any

access-list 2 permit 192.168.2.0 0.0.0.255 any

access-list 100 deny ip any 192.168.10.0 0.0.0.255

route-map ADSL permit 10

match ip address 100

match ip address 1

set ip next-hop 192.168.1.2

route-map ADSL permit 20

match ip address 100

match ip address 2

set ip next-hop 192.168.2.2

int fastethernet 0/0

ip policy route-map ADSL

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

Any suggestions?

2 REPLIES
Hall of Fame Super Silver

Re: 2 VLANs, 3 Routes, How?

Hello,

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 192.168.1.0 0.0.0.255 192.168.10.0 0.0.0.255

access-list 101 permit 192.168.1.0 0.0.0.255 any

access-list 102 deny 192.168.2.0 0.0.0.255 192.168.10.0 0.0.0.255

access-list 102 permit 192.168.2.0 0.0.0.255 any

the route-map becomes

route-map ADSL permit 10

match ip address 101

set ip next-hop 192.168.1.2

route-map ADSL permit 20

match ip address 102

set ip next-hop 192.168.2.2

This should work.

However, the best solution would be to configure a static route for 192.168.10.0/24 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 192.168.10.0/24 and will use the ADSL router for everything else.

Hope to help

Giuseppe

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.

thx

183
Views
0
Helpful
2
Replies
CreatePlease to create content