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

Configuring Dial-on-Demand Routing (Optional)

Dial-on-demand routing (DDR) provides a way to link two sites over a public network and provide needed bandwidth by setting up an ISDN connection. The ISDN connections can provide secondary links to back up primary communication lines when they become overloaded or fail.

The dialer interface is configured as a passive static route with a lower priority than dynamic routes. When the dynamic route is lost, a packet destined for that IP address is received and the dialer interface initiates an ISDN connection and sends the packets over it. When no new packets are sent to the destination, the dialer interface initiates an inactivity timer and the ISDN connection is terminated when the timer expires.

Configuring the Dial-on-Demand Dialer Filter

To configure dial-on-demand routing on the dialer interface:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 49.
  3. Go on to Applying the Dial-on-Demand Dialer Filter to the Dialer Interface.

Table 49: Configuring a Dialer Filter for Interesting Packets and Dial-on-Demand Routing

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the Firewall level in the configuration hierarchy.

  1. In the configuration editor hierarchy, select Configuration>View and Edit>Edit Configuration.
  2. Next to Firewall, click Edit.

From the top of the configuration editor hierarchy, enter edit firewall

Configure the dialer filter name—for example, ddr-packet.

  1. Next to Inet, click Edit.
  2. Next to Dialer filter, click Add new entry.
  3. In the Filter name box, type ddr-packet.

From the edit firewall hierarchy, enter

edit family inet dialer-filter ddr-packet

Configure the dialer filter—for example, term1.

Configure term behavior. For example, you might want to configure your interesting packet as an EBGP packet.

To configure the term completely, include both from and then statements.

  1. Next to Term, click Add new entry.
  2. In the Rule name box, type term1
  3. Next to From, click Configure.
  4. From the Protocol choice list, select Protocol.
  5. Next to Protocol, click Add new entry.
  6. From the Value keyword list, select ebgp.
  7. Click OK twice to return to the Term page.

Enter

set term term1 from protocol ebgp

Configure the then part of the dialer filter.

  1. Next to Then, click Configure.
  2. From the Designation list, select Note.

Enter

set term1 then note

Applying the Dial-on-Demand Dialer Filter to the Dialer Interface

To complete dial-on-demand connectivity configuration:

  1. Navigate to the top of the interfaces configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 50.
  3. If you are finished configuring the router, commit the configuration.
  4. To verify that the network interface is configured correctly, see Verifying the ISDN Configuration.

Table 50: Applying the Dialer Filter to the Dialer Interface

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the Interfaces level in the configuration hierarchy.

  1. In the configuration editor hierarchy, select Configuration>View and Edit>Edit Configuration.
  2. Next to Interfaces, click Edit.

From the top of the CLI configuration hierarchy, enter

edit interfaces

Select the dialer interface to apply the dialer filter—for example, dl0.

  1. In the Interface name column, click dl0.
  2. Under Unit, in the Nested Configuration column, click Edit.

    Enter

    edit interfaces dl0 unit 0

    Select the dialer filter, ddr-packet, and apply it to the dialer interface.

    1. In the Family section, next to Inet, click Edit.
    2. Next to Filter, click Configure.
    3. In the Dialer box, type ddr-packet.
    4. Click OK.

    Enter

    edit family inet filter dialer ddr-packet


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