background image
Route Maps
387
route-map routevlan permit 20
match ip address 2
set interface serial1
The Accounting users will now have their Internet traffic directed to ISP B,
while the Engineering users will have their Internet traffic directed to ISP A, as
shown in Figure 10.15.
F I G U R E 1 0 . 1 5
Policy routing configuration for example 2
Internet
access-list 1 permit 172.16.3.0 0.0.0.255
access-list 2 permit 172.16.4.0 0.0.0.255
!
route-map routevlan permit 10
match ip address 1
set interface serial0
!
route-map routevlan permit 20
match ip address 2
set interface serial1
172.16.2.2/24
172.16.1.2/24
56Kbps link
1.544Mbps link
172.16.1.1/24
172.16.2.1/24
172.16.3.1/24
172.16.4.1/24
s1
s0
e1
e0
ISP A
RouterB
ISP B
RouterC
RouterA
Company A
Engineering VLAN
Accounting VLAN
Copyright ©2001 SYBEX , Inc., Alameda, CA
www.sybex.com