Networking#

Some useful links to explain the concepts of Networking Protocols

Concepts#

OSI Model Mnemonic : Please Do Not Teach Students Pointless Acronyms#

_images/networking-osi-model-table.png

Finding optimum MTU (Maximum Transmission Unit) size#

Category Cables#

MAC Addresses : Explained#

_images/networking-mac-address.png

Private / Public / LocalHost IPs:#

_images/networking-private-ip-ranges.png

TCP#

States of a TCP Connection#

LIST of TCP / UDP Ports#

UDP#

ICMP#

VLAN#

Simple Overview#

Conceptual Overview#

Difference between access & trunk ports#

_images/networking-access-trunk-ports.png

Commands#

PING#

IFCONFIG#

TRACEROUTE#

TCPDUMP#

NETSTAT#

IFTOP#

NMap#

Nmap Command - Free IPs in a particular subnet

1for i in `sudo nmap -sP <subnet/CIDR> | grep -i 'Nmap scan report for' | awk '{print $5}'`;do ping -c 1 $i;done | grep from

ARP#

NETCAT#

LLDP#

Configuration#

Basic NIC configuration & Bonding#

Virtual IPs#

Static Routing#

DHCP#

VPN#

Tuning, Troubleshooting & Log Parsing#

Advanced Configuration#

Digging deeper into the Linux Networking stack#

Disable Network Manager in Linux#

Disable Network Manager from over-writing resolv.conf in Linux#