Riverstone Networks WICT1-12 Network Router User Manual


 
20-6 Riverstone Networks RS Switch Router User Guide Release 8.0
IP Policy Configuration Examples IP Policy-Based Forwarding Configuration
20.2.1 Routing Traffic to Different ISPs
Sites that have multiple Internet service providers can create IP policies that cause different user groups to use different
ISPs. You can also create IP policies to select service providers based on various traffic types.
In the sample configuration in Figure 20-1, the policy router is configured to divide traffic originating within the
corporate network between different ISPs (100.1.1.1 and 200.1.1.1).
Figure 20-1 Using an IP policy to route traffic to two different ISPs
HTTP traffic originating from network 10.50.0.0 for destination 207.31.0.0/16 is forwarded to 100.1.1.1. Non-HTTP
traffic originating from network 10.50.0.0 for destination 207.31.0.0/16 is forwarded to 200.1.1.1. All other traffic is
forwarded to 100.1.1.1.
The following is the IP policy configuration for the Policy Router in Figure 20-1:
interface create ip user-a address-netmask 10.50.1.1/16 port et.1.1
interface create ip user-b address-netmask 11.50.1.1/16 port et.1.2
acl user-a-http permit ip 10.50.0.0/16 207.31.0.0/16 any http 0
acl user-a permit ip 10.50.0.0/16 207.31.0.0/16 any any 0
acl user-b permit ip 11.50.0.0/16 any any any 0
ip-policy net-a permit acl user-a-http next-hop-list 100.1.1.1 action policy-first
sequence 20
ip-policy net-a permit acl user-a next-hop-list 200.1.1.1 action policy-only
sequence 25
ip-policy net-a apply interface user-a
ip-policy net-b permit acl user-b next-hop-list 200.1.1.1 action policy-first
ip-policy net-b apply interface user-b
Group user-a
10.50.*.*
Group user-b
11.50.*.*
ISP1
100.1.1.1
ISP2
200.1.1.1
et.1.1
et.1.2
Policy
Router