FINDGW(8)

NAME
findgw - determine a LAN gateway via passive sniffing

SYNOPSIS
findgw [-i interface] [-t timeout]

DESCRIPTION
findgw determines the local gateway of an unknown network via passive sniffing.

It does this by sampling traffic for a specified timeout (in order to guess the gateway MAC address), and then waiting until it sees an ARP reply containing the corresponding IP address.

OPTIONS

-i interface
    Specify the interface to listen on.

-t timeout
    Specify a timeout for sampling network traffic. Default is 10 seconds.

SEE ALSO
dsniff(8)

AUTHOR
Dug Song <dugsong@monkey.org>