Understanding IP Address Spaces and Common Ports

Understanding IP Address Spaces

Private IPv4 Address Spaces

The following table lists the private IPv4 address spaces:

Address BlockDescription
127.0.0.0/8Loopback
192.168.0.0/16Private Network
10.0.0.0/8Private Network
100.64.0.0/10Shared address space[4] carrier-grade NAT.
172.16.0.0/12Private Network (172.16.0.0–172.31.255.255)

Special Use IPv4 Addresses

These addresses are reserved for specific purposes:

Address BlockDescription
224.0.0.0/4IP multicast.[10] (Former Class D network.)
240.0.0.0/4Reserved for future use.[12] (Former Class E network.)

Special Use IPv6 Addresses

These addresses are designated for specific functions in IPv6:

Address BlockDescription
fc00::/7Unique local address[19]
fe80::/64 from fe80::/10Link-local address
ff00::/8Multicast address
::ffff:0:0/96IPv4-mapped addresses
::ffff:0:0:0/96IPv4 translated addresses

https://www.networkacademy.io/sites/default/files/inline-images/comparing-ipv4-and-ipv6-headers.png

QoS Marking

https://1.bp.blogspot.com/-gSotq0kh8Bc/XpXt_ianjfI/AAAAAAAAAuo/nekwzLYb9woKRgjI3bUMMgsSqgT8ie4lgCK4BGAsYHg/AD.png

IPv4 IP Header ToS/DiffServ Field

z+SxAkXM3V82AAAAABJRU5ErkJggg==

Commonly Used Network Ports

Here is a list of commonly used network ports and their associated protocols:

  • 20: FTP (File Transfer Protocol) Data
  • 21: FTP Control
  • 22: SSH (Secure Shell)
  • 23: Telnet
  • 25: SMTP (Simple Mail Transfer Protocol)
  • 49: TACACS+
  • 53: DNS (Domain Name System)
  • 67, 68: DHCP (Dynamic Host Configuration Protocol), BOOTP (Bootstrap Protocol)
  • 69: TFTP (Trivial File Transfer Protocol)
  • 80: HTTP (Hypertext Transfer Protocol)
  • 110: POP3 (Post Office Protocol version 3)
  • 116: NNTP (Network News Transfer Protocol)
  • 123: NTP (Network Time Protocol)
  • 137: NetBIOS Name Service
  • 153: SGMP (Simple Gateway Monitoring Protocol)
  • 161/162: SNMP (Simple Network Management Protocol) / SNMP Trap
  • 179: BGP (Border Gateway Protocol)
  • 319/320: Precision Time Protocol (PTP)
  • 389: LDAP (Lightweight Directory Access Protocol)
  • 443: HTTPS (Hypertext Transfer Protocol Secure)
  • 546/547: DHCPv6 Client/Server
  • 554: RTSP (Real Time Streaming Protocol)
  • 830: NETCONF (Network Configuration Protocol)
  • 1701/1707: L2F (Layer 2 Forwarding) / L2TP (Layer 2 Tunneling Protocol)
  • 1723: PPTP (Point-to-Point Tunneling Protocol)
  • 1812, 1813: RADIUS Authentication / Accounting
  • 1985: HSRP (Hot Standby Router Protocol)
  • 2083: RadSec (RADIUS over TLS)
  • 2375-2377: Docker Plain/SSL/Swarm

802.11 MAC Frame Types

The following table details 802.11 MAC frame types and subtypes:

B3..B2DescriptionSubtype B7..B4Subtype Description
00Management0000Association Request
00Management0001Association Response
00Management0010Reassociation Request
00Management0011Reassociation Response
00Management0100Probe Request
00Management0101Probe Response
00Management0110Timing Advertisement
00Management0111Reserved
00Management1000Beacon
00Management1001ATIM
00Management1010Disassociation
00Management1011Authentication
00Management1100Deauthentication
00Management1101Action
00Management1110Action No Ack (NACK)
00Management1111Reserved
01Control0000-0001Reserved
01Control0010Trigger[3]
01Control0011TACK
01Control0100Beamforming Report Poll
01Control0101VHT/HE NDP Announcement
01Control0110Control Frame Extension
01Control0111Control Wrapper
01Control1000Block Ack Request (BAR)
01Control1001Block Ack (BA)
01Control1010PS-Poll
01Control1011RTS
01Control1100CTS
01Control1101ACK
01Control1110CF-End
01Control1111CF-End + CF-ACK
10Data0000Data
10Data0001-0011Reserved
10Data0100Null (no data)
10Data0101-0111Reserved
10Data1000QoS Data
10Data1001QoS Data + CF-ACK
10Data1010QoS Data + CF-Poll
10Data1011QoS Data + CF-ACK + CF-Poll
10Data1100QoS Null (no data)
10Data1101Reserved
10Data1110QoS CF-Poll (no data)
10Data1111QoS CF-ACK + CF-Poll (no data)
11Extension0000DMG Beacon
11Extension0001S1G Beacon
11Extension0010-1111Reserved

https://upload.wikimedia.org/wikipedia/commons/7/72/802.11_frame.png