cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
363
Views
0
Helpful
1
Replies

Directing Traffic from WAN Interface to VLAN

chris_stewart
Level 1
Level 1

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

1 Reply 1

Jon Marshall
Hall of Fame
Hall of Fame

chris_stewart@nc.rr.com

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: