[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring Services to Policy-Route Traffic to IDP

The tasks to configure services to policy-route traffic to IDP are:

  1. (Optional) Configuring Scopes When You Use Policy-Based Routing
  2.  Defining Services for Policy-Based Routing on JUNOSe Routers

Configuring Scopes When You Use Policy-Based Routing

You configure scopes to define the services to be activated for a specific SRC-managed network. Which scopes you configure depends on how you direct traffic to an IDP sensor.

In a network that contains only JUNOSe routers, you can assign a single scope to one or more JUNOSe routers. Figure 9 shows the scope and JUNOSe router configured in the sample data. This scope also contains the aggregate and fragment services.

Figure 9: Scopes to Support Policy-Based Routing of Traffic to an IDP Sensor

Image g015765.gif

To policy-route traffic from a JUNOSe router to an IDP sensor:

  1. Create one JUNOSe point of presence (POP) scope.
  2. Assign this scope to all the JUNOSe subscriber access routers that use policy routing. Make sure that these routers appear under o=Networks, o=umc in the directory. You create the aggregate services in this scope.

For a sample JUNOSe POP scope, see l=IDP-JunosePop, o=Scopes, o=umc in the sample data.

Defining Services for Policy-Based Routing on JUNOSe Routers

Figure 10 illustrates the services in the sample data that policy-route incoming and outgoing subscriber traffic to an IDP sensor. In this example this DN for subscriber profiles is routerName=default@JunoseA, <DN of Router Profiles>.

Figure 10: Services to Policy-Route Traffic to an IDP Sensor

Image g015760.gif

The Surveillance Director provides the following information to the services:

The aggregate service passes the value of the subrSubnet parameter to each CoreIntFragment service, and uses the value of the subrIps parameter when the SubrIntFragment services are created. A SubrIntFragment service is created for each IP address (which is specified as the subscriber ID). A CoreIntFragment service is created for the subscriber ID or IDs specified in the configuration for the aggregate service (idp@idp in the sample data).

For example, in Figure 11 the Surveillance Director passes the value 111.2.1.6/31 for the CIDR subnet, and the list of addresses 111.2.1.6 and 111.2.1.7 to the aggregate service. The aggregate service passes the value for the CIDR subnet to the CoreIntFragment service, and activates a SubrIntFragment service for each address in the list—in this case for IP addresses 111.2.1.6 and 111.2.1.7.

Figure 11: Sample Values for SubrSubnet and SubrIps Parameters in Services for Policy-Based Routing of Traffic

Image g015761.gif

To set up policy-based routing to direct subscriber traffic from a JUNOSe router to IDP:

Configuring a Subscriber Interface Service

Before you configure a subscriber interface service, read the overview of services to be used for policy-based routing. See Defining Services for Policy-Based Routing on JUNOSe Routers .

To configure the subscriber interface service:

  1. Configure a policy to direct subscriber traffic entering a subscriber interface to an IDP sensor.

    We recommend that you use a next-hop policy rule to route traffic sent by subscribers to the IP address of the IDP sensor. Depending on your network configuration you can also route traffic to a system interface that then routes traffic to the IDP sensor, or you can specify a substitution to indicate the IP address of the IDP sensor.

    For a sample policy group see policyGroupName=policyRouteSubscriberToIdp, ou=idp, o=Policies, o=umc in the sample data.

  2. In SDX Admin in the JUNOSe scope, create a service, set the type to normal, and specify the policy group configured in Step 1.

    For a sample subscriber interface service, see serviceName=SubrIntfFragment, o=IDP-JunosePop, o=Scopes, o=umc in the sample data.

Configuring a Core Interface Service

Before you configure a core interface service, read the overview of services to be used for policy-based routing. See Defining Services for Policy-Based Routing on JUNOSe Routers .

To configure the core interface service:

  1. Configure policies to direct the traffic destined for subscribers to an IDP sensor.

    We recommend that you use a next-hop policy to route traffic sent to subscribers to the IP address of the IDP sensor. The policy must be applied to each ingress interface that might transmit traffic destined for a subscriber.

    A core interface policy requires that the subscriber CIDR subnet be available from a substitution. You can use the subrSubnet substitution in policies that are applied to all core interfaces.

    For a sample core interface policy, see policyGroupName=policyRouteSubnetToIdp, ou=idp, o=Policies, o=umc in the sample data.

  2. In SDX Admin in the JUNOSe scope, create a service, set the type to normal, and specify the policy group configured in Step 1.

    For a sample core interface service, see serviceName=CoreIntfFragment, o=IDP-JunosePop, o=Scopes, o=umc in the sample data.

Configuring an Aggregate Service

Before you configure an aggregate service, read the overview of services to be used for policy-based routing. See Defining Services for Policy-Based Routing on JUNOSe Routers .

You configure an aggregate service to include the subscriber interface service and the core interface service as fragment services.

To configure an aggregate service:

  1. In SDX Admin in the JUNOSe scope, create an aggregate service.
  2. Add the subscriber interface service as a fragment service, and in the Fragment Service dialog box specify:
  3. Add the core interface service as a fragment service, and in the Fragment Service dialog box specify:

For a sample aggregate service, see serviceName=CheckForAttacks, o=IDP-JunosePop, o=Scopes, o=umc in the sample data.


[Contents] [Prev] [Next] [Index] [Report an Error]