PBR on VLAN 100 interface

From: Radioactive Frog (pbhatkoti@gmail.com)
Date: Tue Mar 20 2007 - 00:09:45 ART


Hi Group,
I have a scenario like:

Router1 \
            |----Switch------eth2/1----|
6506-SPimage|-----Ethernet1/1----Vlan10--------Customer2
Router2/
|---------------------Ethernet1/2-----Vlan20-------Customer2

Goal: I want to send vlan traffic through router 1 and VLan 2's traffic
through router 2.
The 6506 router is on the same VLAN as router1/2.

Customer1 IP : 192.168.1.0/24 ---< SVI-10
Customer2 IP : 192.168.2.0/24 ----<SVI-20
ethernet 1/1 is in access mode and member of vlan 10
ethernet 1/2 is also in access mode and member of vlan 20
ethernet2/1 is in vlan 222 and is in access mode (SVI 222).

I need your comment if the following configuration will work.

access-list 10 permit 192.168.1.0
access-list 20 permit 192.168.2.0

interface vlan 10

  ip policy route-map for_vlan1

 !

 route-map for_vlan1 permit 10

  match ip address 10

   set ip next-hop <Router1's ip address>

 !

interface vlan 20

   ip policy route-map for_vlan1

  !

  route-map for_vlan2 permit 20

   match ip address 20

    set ip next-hop <Router2's ip address>

   !

I don't want to put the service policy on uplink interface (eth2/1). I want
to put it on the VLAN interface.

Frog



This archive was generated by hypermail 2.1.4 : Sun Apr 01 2007 - 06:35:51 ART