Directing Traffic from WAN Interface to VLAN

Unanswered Question
Jon Marshall Thu, 08/05/2010 - 09:11

[email protected]

I have a router with two T1 connections going to different customers.  I need to direct all the traffic from one T1 to VALN 100 and from other to VLAN 200.  How would I accomplish that?

Thanks

Chris

You could either use vrfs where you have the first T1 and vlan 100 in one vrf and the second T1 and vlan 200 in the other vrf although not sure of vrf support on your router.

Or you could use PBR which will be supported ie.

vlan 100 = 192.168.5.0/24

vlan 200 = 192.168.6.0/24

access-list 101 permit ip any 192.168.5.0 0.0.0.255

access-list 102 permit ip any 192.168.6.0 0.0.0.255

route-map PBR permit 10

match ip address 101

set interface vlan100

route-map PBR permit 20

match ip address 102

set interface vlan 200

note if vlan 100 and 200 are not interfaces on router then you can use "set ip next-hop " and "set ip next-hop " instead of "set interface commands.

You will also need to apply the route-map to the T1 interfaces eg.

int s0/0

ip policy route-map PBR

Jon

Actions

This Discussion