Go to main content

Oracle® Rack Universal Power Distribution Unit User's Guide

Exit Print View

Updated: May 2019
 
 

Set the IPv4 and IPv6 Static Routes

If the IPv4 or IPv6 network mode is set to static IP and your local network contains two subnets, you can configure static routes to enable or disable communications between the HPDU and devices in the other subnet.

Depending on whether the other network is directly reachable or not, there are two methods for adding a static route. For further information, see Static Route Examples.

  1. Use of the one following methods to set the IPv4 and IPv6 static routes.
    • After selecting the static IP configuration mode, to add a static route when the other network is NOT directly reachable, at the config:# prompt, type network ipv4 staticRoutes add <dest-1> <hop> or network ipv6 staticRoutes add <dest-1> <hop>, and press Enter.
    • After selecting the static IP configuration mode, to add a static route when the other network is directly reachable, at the config:# prompt, type network ipv4 staticRoutes add <dest-1> interface <ETH> or network ipv6 staticRoutes add <dest-1> interface <ETH>, and press Enter.

      <dest-1> for IPv4 is a combination of the IP address and subnet mask of the other subnet. The format is IP address/subnet mask.

      <dest-1> for IPv6 is the IP address and prefix length of the subnet where the HPDU belongs. The format is IP address/prefix length.

      <hop> is the IP address of the next hop router.

    <ip address> is the IP address of the gateway. The value ranges from 0.0.0.0 to 255.255.255.255.

    <ETH> is one of the interfaces: ethernet (or ETH1/ETH2), wireless, and bridge. Type "bridge" only when your HPDU is in the bridging mode.

  2. To delete an existing static route, at the config:# prompt, type network ipv4 staticRoutes delete <route_ID> or network ipv6 staticRoutes delete <route_ID>, and press Enter.
  3. To modify an existing static route, at the config:# prompt, enter one of the following commands:
    • At the config:# prompt, type network ipv4 staticRoutes modify <route_ID> <dest-2> <hop> or network ipv6 staticRoutes modify <route_ID> <dest-2> <hop>, and press Enter.
    • At the config:# prompt, type network ipv4 staticRoutes modify <route_ID> <dest-2> interface <ETH> or network ipv6 staticRoutes modify <route_ID> <dest-2> interface <ETH>, and press Enter.

      <route_ID> is the ID number of the route setting which you want to delete or modify.

      <dest-2> for IPv4 is a modified route setting that will replace the original route setting. Its format is IP address/subnet mask. You can modify either the IP address or the subnet mask or both.

      <dest-2> for IPv6 is a modified route setting that will replace the original route setting. Its format is IP address/prefix length. You can modify either the IP address or the prefix length or both.