Versions Compared

Key

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

DPOD can be configure with two network interface :

...

  1. Edit the file /etc/iproute2/rt_tables and add new routing table entry with id "1" named "rt1"



  2. In order to add new routing entry to the new routing table use the "ip route" command.
    This command will add new temporary entry to the routing table.

  3. Add a default gateway entry :

    Code Block
    ip route add default via <interface default gateway> dev <interface name> table <routing table name>


    Example : For adding the default gateway 192.168.1.1 to interface eth1


    Code Block
    languagebash
    themeRDark
    ip route add default via 192.168.1.1 dev eth1 table rt1


  4. Add a routing entry :

    Code Block
    ip route add <destinamtion ip address or subnet> dev <interface name> table <routing table name>


    Example : For adding the route entry to subnet 192.168.1.x to interface eth1

    Code Block
    languagebash
    themeRDark
    ip route add 192.168.1.0/24 dev eth1 table rt1


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

    Code Block
    default via <interface default gateway> dev <interface name> table <routing table name>
    <destinamtion ip address or subnet> dev <interface name> table <routing table name>


    For example : Create new permanent routing file for interface eth1 and add the entries used at previous examples :

    Code Block
    default via 192.168.1.1 dev eth1 table rt1
    ip route add 192.168.1.0/24 dev eth1 table rt1


Create New Routing Rule

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






  1. Confirm the needed network connectivity to the monitored device :
    Open new CLI session via SSH and start capture network traffic passing through eth1 to the wanted monitored device.
    The following command will capture network traffic to 192.168.1.120

    Code Block
    languagebash
    themeRDark
     tcpdump -i eth1 host 192.168.1.120

    On the second SSH session run telnet command to test connectivity to the monitored device using port 5550 (XML Management Interface Port)

    Code Block
    languagebash
    themeRDark
    telnet 192.168.1.120 5550

    The output of the tcpdump command should look similar to the following



  2. After confirming the needed network connectivity to the monitored device.
  3. xfd
  4. sfdg

Add New Routing Rules

The