User:Saul/networking

From Organic Design wiki
< User:Saul
Revision as of 21:20, 3 November 2020 by Saul (talk | contribs) (Created networking page with useful networking commands.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Useful Commands

# Ping with a payload of 500 bytes 3 times
ping -s 500 -c 3 <HOSTNAME>

# Traceroute to show a path to HOSTNAME
traceroute <HOSTNAME>

# Resolve hostname to ip address where type = {A, AAAA, MX, NS...}
dig <TYPE> <HOSTNAME>

# Show configured interfaces
ip address show

# Show info for the interface IFACE
ip address show dev <IFACE>

# Show configured routes
ip route show