Networking
The Internet is an interconnected collection of separate IPv4 and IPv6 networks, all communicating over a series of standardised protocols conceptualised in the OSI model. Traffic is routable between these separate networks.
Types of network
- A LAN, or Local Area Network, refers to a single site.
- WLAN refers to a Wireless LAN.
- WAN, or Wide Area Network, typically refers to a network of LANs connected across the Internet via a VPN or via a private backbone.
- PAN refers to a Personal Area Network, e.g. a mobile hotspot.
Types of communication
- Unicast: direct node-to-node communication
- BUM:
- Broadcast: communication from one node to all peers within its Broadcast domains.
- Unknown-unicast: communication from one node to another where the switch does not have the destination in its forwarding information base. The switch must mark the frame for flooding and send it to all forwarding ports within the VLAN. Known as unicast flooding.
- Multicast: communication from one node to a subset of grouped nodes.
Transports
There are two commonly used transports on the Internet today:
- TCP/IP provides reliable, ordered transmission of segments over sessions.
- UDP offers lighter weight communication with lesser delivery guarantees.
Ports
Ports are used to expose multiple services from the same host address. They're grouped into defined ranges:
- Source ports assigned to clients for sessions are in the ephemeral range (49,152–65,535)
- Well-known ports between 0–1,023
- Registered port numbers between 1,024–49,151
Children
- 5-tuple
- Broadcast domains
- DNS
- Ethernet
- HTTP
- IPv4
- IPv6
- JSON-RPC
- Language Server Protocol
- OSI model
- Protocol Buffers
- Protocols
- SDN
- Services
- TCP
- Topologies
- UDP
- VLAN
- gRPC
Backlinks