2 VLANs, 3 Routes, How?

Unanswered Question
Jul 13th, 2008
User Badges:

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?




Attachment: 
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Giuseppe Larosa Sun, 07/13/2008 - 23:07
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

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


rsabapathee Mon, 07/14/2008 - 22:40
User Badges:

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

Actions

This Discussion