RUGGEDCOM ROX II
CLI User Guide
Chapter 13
Unicast and Multicast Routing
Adding a Gateway for an IPv4 Static Route 585
Section13.12.6.3
Adding a Gateway for an IPv4 Static Route
To add a gateway address for an IPv4 static route, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the gateway address by typing:
routing ipv4 route subnet via gateway
Where:
• subnet is the subnet (network/prefix) of the static route
• gateway is the gateway address for the static route
3. Configure the following parameter(s) as required:
Parameter Description
distance { distance } Synopsis: A 32-bit unsigned integer between 1 and 255
The distance for the static route.
4. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section13.12.6.4
Deleting a Gateway for an IPv4 Static Route
To delete a gateway for an IPv4 static route, do the following:
1. Make sure the CLI is in Configuration mode.
2. Delete the gateway address by typing:
no routing ipv4 route subnet via gateway
Where:
• subnet is the subnet (network/prefix) of the static route
• gateway is the gateway address for the static route
3. Type commit and press Enter to save the changes, or type revert and press Enter to abort.
Section13.12.7
Managing Interfaces for Static Routes
Static routes can be configured to forward packets to an exit interface. Assuming the device is directly connected
to a neighboring router, the device will send Address Resolution Protocol (ARP) requests to determines the next
hop IP address.
In the case of IPv6 static routes, only one interface can be selected per route.
CONTENTS
• Section13.12.7.1, “Configuring Interfaces for IPv6 Static Routes”
• Section13.12.7.2, “Viewing a List of Interfaces for IPv4 Static Routes”