routes

The active route table for the host system.

Platform support

Please be aware that some queries can only be run against certain platforms. Below is a list of the supported platforms that this query supports. Zercurity will automatically pause queries from running if errors are detected. Running a query against an unsupported platform will result in the following error: no such table: routes

  • Windows
  • Linux
  • Mac OSX
  • Free BSD

Table schema

Name Type Description
destination TEXT Destination IP address
netmask INTEGER Netmask length
gateway TEXT Route gateway
source TEXT Route source
flags INTEGER Flags to describe route
interface TEXT Route local interface
mtu INTEGER Maximum Transmission Unit for the route
metric INTEGER Cost of route. Lowest is preferred
type TEXT Type of route
hopcount INTEGER Max hops expected

Query examples

Select all the results for the given table.

SELECT * FROM routes;