A quick note of linux networking commands.
View IP Address and Hardware / MAC address assign to interface and also MTU size.
Set MTU size. The maximum transmission unit (MTU) of a communications protocol of a layer is the size (in bytes) of the largest protocol data unit that the layer can pass onwards.
Set promiscuous mode. Promiscuous mode causes the controller to pass all traffic it receives to the central processing unit (CPU) rather than passing only the frames that the controller is intended to receivem Normally used for packet sniffing.
Show all NICs including disabled ones.
Enable a specific interface.
Disable a specific interface.
View, set speed and duplex for NIC.
ifconfig for wireless.
View ARP(Address Resolution Protocol) table.
Send ICMP ECHO_REQUEST packet to network hosts.
ping in parallel. Unlike ping, fping is meant to be used in scripts and its output is easy to parse.
Shows number of hops taken to reach destination as well as determine packets traveling path.
traceroute using TCP packets rather than ICMP Echo Requests and Replies.
mtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool.
Shows and manipulate ip routing table.
Status / Monitoring / Packet
Display connection info.
Display routing table.
Displaying service name with PID.
Display promiscuous mode and refresh every 5 seconds.
iptraf / iptraf-ng
TCP and UDP traffic statistics.
Query DNS related information like A Record, CNAME, and MX Record. In
dnsutils debian package.
DNS reverse lookup.
Query DNS related information.
Query all available DNS records.
Find name to IP or IP to name in IPv4 or IPv6 and also query DNS records. Use -t option to find out DNS Resource Records like CNAME, NS, MX, and SOA.
Get hostname of the machine.
Check the internic database for proper hostnames.
Server / Client.
Text web browser.
Text web browser.
Broadcast message to all logged in users.
Send message to a specific user in the specified tty.
Network configuration file.
File descriptors and other limits.