Network
Articles in the Network category (31).
Articles in the Network category (31).
- Changing network interface priority on Windows (interface metric) — View and change the interface metric with PowerShell to control which network interface Windows prefers.
- Check network status and DNS resolution on Linux and Windows — Layer-by-layer network status commands for Linux and Windows, with DNS tests using dig, nslookup and DNS over HTTPS.
- Email: test SPF, DKIM and deliverability with online tools — Online tools to check SPF, DKIM and the spam score of an email.
- Flush the ARP cache on Linux and Windows — Commands to display and flush the ARP table on Linux and Windows.
- Flush the DNS cache on Linux — Identify the local DNS resolver and flush its cache with systemd-resolved or dnsmasq.
- Gratuitous ARP after a failover: clearing a stale ARP entry — Configure gratuitous ARP on Windows and Cisco IOS and clear a stale ARP entry on a switch after a cluster failover.
- HTTPS: how encryption works between browser and server — Simplified diagram of the asymmetric key exchange followed by symmetric session-key encryption.
- KVM default network and nftables rules for virbr0 — Enable the libvirt default network and allow traffic on the virbr0 bridge in nftables.
- Linux: simulate network latency with tc and netem — Shell script to add or remove a fixed delay on a Linux network interface with tc and netem.
- Locate IP addresses captured with tcpdump (GeoIP) — Extract IP addresses from a tcpdump capture and locate them with the MaxMind GeoIP databases.
- mailbox.org: configuring MX and DKIM for your own domain — MX and DKIM DNS records to create to use your own domain's addresses with mailbox.org.
- MikroTik RouterOS WireGuard client with DHCP-driven route — Configure a MikroTik RouterOS device as a WireGuard client, with a DHCP client script that enables the server route while the lease is bound.
- MikroTik RouterOS: serial console and useful commands — Serial console access to a MikroTik router from Linux, SSH brute-force limiting on a non-standard port, configuration export and a DHCP lease e-mail alert.
- MikroTik: per-device ProtonVPN WireGuard routing with ON/OFF toggle — RouterOS policy routing of one LAN device through ProtonVPN WireGuard, toggle script, troubleshooting and exports.
- Mobile networks: 2G to 4G generations and data rates (GSM, UMTS, HSPA, LTE) — Summary table of mobile standards from CDMA/GSM to LTE with description and data rates.
- MTU and IP fragmentation: check and change on Windows and Linux — Read, test and change the MTU and detect IP fragmentation with netstat, ping and Wireshark.
- Network: detect packet loss with netstat (Linux and Windows) — Read TCP retransmission statistics with netstat -s on Linux and Windows.
- nmap cheat sheet for network diagnostics — nmap commands to check ports, services, versions and SQL Server instances on hosts you administer.
- Ping with timestamps on Windows — PowerShell commands that add a timestamp to each ping reply and log connectivity to a file.
- PowerShell: disable IPv6 on network adapters — PowerShell commands to list the IPv6 bindings of Windows network adapters and disable ms_tcpip6 with the NetAdapter module.
- RJ45 Ethernet cables: types, shielding and Cat6 vs Cat6a — Straight vs crossover cables, U/F/S shielding codes and a Cat6 vs Cat6a comparison.
- SSH: tunnels, port forwarding, ProxyJump and mosh — Cheat sheet for SSH tunnels (VNC, RDP, SQL Server), ProxyJump/ProxyCommand jump hosts, plink and mosh.
- tcpdump cheat sheet: filters and remote capture to Wireshark — tcpdump options, filters and examples, capture to file, and streaming a remote SSH capture into Wireshark.
- Test UPnP port mapping with miniupnpc — Create, list and delete UPnP port mappings from the command line with miniupnpc.
- Testing network performance: iperf3, psping and PowerShell — Commands to measure throughput, latency, MTU and DNS resolution with iperf3, psping, ping and the PowerShell network cmdlets.
- Testing SMTP mail sending: telnet, PowerShell and mailx — Install postfix and mailx on CentOS 8 and test an SMTP server with telnet, nc, PowerShell or mail.
- Testing TCP/UDP port connectivity from Linux — Check a remote port with telnet, nc, nmap or PortQry and list listening ports with lsof and netstat.
- Toggle a WireGuard tunnel on MikroTik RouterOS — Toggle, check and measure a WireGuard tunnel on RouterOS locally, over SSH and from Android.
- Using ncat (netcat): examples — Examples of ncat and nc usage: listening, connecting, chat, relay, file copy, UDP and timeouts.
- Wi-Fi: best channels and the Windows WLAN report — Recommended Wi-Fi channels for 2.4 and 5 GHz and how to generate the netsh WLAN report.
- Windows: remove all routes, including persistent ones — route and reg delete commands to clear the routing table and persistent routes.