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

Configuring a Dialer Filter for USB Modem Dial Backup

This dial-on-demand routing backup method allows a USB modem connection to be activated only when network traffic configured as an “interesting packet” arrives on the network. Once the network traffic is sent, an inactivity timer is triggered and the connection is closed.

You define an interesting packet using the dialer filter feature of the device.

To configure dial-on-demand routing backup using a dialer filter, you first configure the dialer filter and then apply the filter to the dialer interface.

To configure the dialer filter and apply it to the dialer interface:

  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 74.
  3. Go on to Table 75.
  4. When you are finished configuring the device, commit the configuration.

Table 74: Configuring a Dialer Filter for USB Modem Dial Backup

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the Firewall level in the configuration hierarchy.

  1. In the J-Web interface, select Configuration>Edit Configuration>View and Edit.
  2. Next to Firewall, click Edit.

From the [edit] hierarchy level, enter

edit firewall

Configure the dialer filter name—for example, interesting-traffic.

  1. Next to Inet, click Configure or Edit.
  2. Next to Dialer filter, click Add new entry.
  3. In the Filter name box, type interesting-traffic.
  1. Enter

    edit family inet

  2. Then enter

    edit dialer-filter interesting-traffic

Configure the dialer filter rule name—for example, term1.

Configure term behavior. For example, you might want to configure the dialer filter to allow only traffic between the branch office router and the head office router over the backup USB modem connection. In this example, the branch office router has the IP address 20.20.90.4/32 and the head office router has the IP address 200.200.201.1/32.

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. Next to Source address, click Add new entry.
  5. In the Address box, type 20.20.90.4/32.
  6. Click OK.
  7. Next to Destination address, click Add new entry.
  8. In the Address box, type 200.200.201.1/32.
  9. Click OK until you return to the Term page.
  1. Enter

    edit term term1

  2. Enter

    set from source-address 20.20.90.4/32

  3. Enter

    set from destination-address 200.200.201.1/32

Configure the then part of the dialer filter to discard Telnet traffic between the branch office router and the head office router.

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

Enter

set then note

Table 75: 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 J-Web interface, select Configuration>Edit Configuration>View and Edit.
  2. Next to Interfaces, click Edit.

From the [edit] hierarchy level, enter

edit interfaces dl0 unit 0

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

  1. In the Interface name column, click dl0.
  2. Under Unit, in the Interface unit number column, click 0.
 

Apply the dialer filter 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 interesting-traffic, the dialer filter configured in Configuring the Dialer Filter.
  4. Click OK.
  1. Enter

    edit family inet filter

  2. Enter

    set dialer interesting-traffic


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