linux-routes

Retrieves routing information from /proc/net/route.

Syntax

linux-routes

Description

After running the linux-routes command, the output fields are as follows:

Output Fields

FieldTypeDescription
destinationIPv4 addressDestination network address
maskIPv4 addressNetmask
forwardIPv4 addressGateway address
flagsStringFlags (C: Cache entry, D: Dynamically installed by daemon or redirect, G: Use Gateway, H: Target is a host, M: Modified from routing daemon or redirect, U: Route is up)
mssIntegerMaximum segment size
irttIntegerInitial round trip time
ifaceStringNetwork interface name