Get network routes to destinations
Determine which route, gateway, and interface the Delphix Engine uses to reach a given destination IP address using the CLI. This operation is read‑only and does not change routing configuration.
Procedure
-
Log in to the Delphix Engine CLI as a user with
sysadminprivileges. -
Switch to the
network routecontext and run thelookupoperation. -
Set the destination IP address and commit to view the selected route.
Copysysadmin@engine> network route
sysadmin@engine network route> lookup
sysadmin@engine network route lookup *> set destination=<IPv4 address>
sysadmin@engine network route lookup *> commit
On commit, the CLI returns a NetworkRoute object showing:
-
destination: the matched route (e.g., default or a specific CIDR such as 10.43.0.0/16) -
gateway: the next hop (or - if directly connected) -
outInterface: the interface used (e.g., ens192) -
protocol: the route source (e.g., DHCP, KERNEL, STATIC)
Example: default route match
Copy
sysadmin@engine> network route
sysadmin@engine network route> lookup
sysadmin@engine network route lookup *> set destination=198.51.100.45
syssysadmin@engine network route lookup *> commit
type: NetworkRoute
destination: default
gateway: 10.10.0.1
outInterface: ens192
Example: specific subnet (directly connected)
Copy
sysadmin@engine> network route
sysadmin@engine network route> lookup
sysadmin@engine network route lookup *> set destination=10.43.12.34
syssysadmin@engine network route lookup *> commit
type: NetworkRoute
destination: 10.43.0.0/16
gateway: -
outInterface: ens224