Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

DPOD can be configured with two network interfaces:

...

Use your system administrator assistance to add a second network interface to your virtual machine or physical server.

In some cases, there will be a need to restart the server before the new network will be available.

...

Create a New Routing Rule

The routing rule instructs the operating system when to use the new routing table.

  1. In order to add a new routing rule entry to the new routing table use the "ip rule" command.
    This command will add a new temporary rule entry.

    Code Block
    ip rule add from <source ip address or subnet> table <routing table name>
    ip rule add to <destination ip address or subnet> table <routing table name>


    For example: The routing rule for monitored device 192.168.1.120 are :areĀ 

    Code Block
    languagebash
    themeRDark
    ip rule add from 192.168.1.120/32 table rt1
    ip rule add to 192.168.1.120/32 table rt1

    The specific IP address can be replaced with subnet if subnet rule is appropriate: 192.168.1.0/24

  2. In order to make these entries permanent edit the file /etc/sysconfig/network-scripts/rule-<interface name> and add the following:

    Code Block
    from <source ip address or subnet> table <routing table name>
    to <destination ip address or subnet> table <routing table name>

    For example: The routing rule for monitored device 192.168.1.120 are :

    Code Block
    from 192.168.1.120/32 table rt1
    to 192.168.1.120/32 table rt1


  3. To confirm that the new routing rules entries added use the following command to display them:

    Code Block
    languagebash
    themeRDark
    ip rule show
    
    The output should include the following lines:
    32764:  from all to 192.168.1.120 lookup rt1
    32765:  from 192.168.1.120 lookup rt1


...