Network Protocols Flashcards
An academic and military network that later became the Internet’s primary precursor
ARPANET
What do the 1s represent in a Subnet Mask?
Network ID
What do the 0s represent in a Subnet Mask?
Host ID
What is the IP range and subnet for class A networks?
0.-127.255.255.255
Subnet Mask 255.0.0.0 /8
What is the IP range and subnet for class B networks?
- 191.255.255.255
Subnet Mask 255.255.0.0 /16
What is the IP range and subnet for class C networks?
- 223.255.255.255
Subnet Mask 255.255.255.0 /24
What is the IP range for class D networks?
- 239.255.255.255
What is the IP range for class E networks?
- 254.255.255.255
A non-routable address which can either mean the current network, the default route, any address at all, or a specific error condition, depending on context.
0.0.0.0
The broadcast address that addresses the entire subnet at once. Broadcasts aren’t generally routed, so any packet to this address is just sent through the local broadcast domain.
255.255.255.255
Reserved for loopback addresses, which, as the name implies, simply points right back to the local host.
127.0.0.0, Most commonly, you’ll see 127.0.0.1 used to refer to the local system.
These network addresses aren’t routable on the Internet, but are instead commonly used on home or office networks. They were originally assigned as classful addresses, but you can break them into CIDR subnets on your own networks.
Private Networks
- 0.0.0/8, or the single Class A network with addresses 10.0.0.0 – 10.255.255.255.
- 16.0.0/12, or the 16 contiguous Class B networks with addresses 172.16.0.0 – 172.31.255.255.
- 168.0.0/16, or the 256 contiguous Class C networks with addresses 192.168.0.0 – 192.168.255.255.
What network address is reserved for link-local or automatic Private IP addressing (APIPA) addresses
169.254.0.0/16
Used to find the physical address corresponding to an IvP4 local IP address
ARP Address Resolution Protocol
Used to find the physical address corresponding to an IvP6 local IP address
Neighbor Discovery Protocol (NDP)
A hierarchical directory service that stores assigned domain names and their corresponding IP addresses.
Domain Name System (DNS)
The root category of the domain. Originally these were either three-letter functional categories like.comor.edu, or two letter country codes like.ukor.jp.
Top-Level Domain (TLD)
Represents a particular organization
Domain
An optional level used for categories within the organization.
Subdomain
The name of the specific host within the organization, or its alias
Hostname
Usable on the local segment, but not routable and starts with 1111111010 (fe80) followed by 54 zero bits
Link-Local
Routable on public networks and starts with the bits 001, and the first group is in the range 2000-3fff
Global
Routable within an organization, but not on public networks and starts in the range fec0 to fef0 followed by 38 zero bits
Site-Local
TCP negotiates a virtual connection between two hosts, a dedicated channel that carries a defined stream of data to the remote host. This connection always requires two-way communications: even if the ultimate goal is a one-way transfer, the recipient must be able to acknowledge receipt of data.
Connection-oriented
Provides connection-oriented, reliable communications, with error correction, flow control, and sequencing
TCP (Transmission Control Protocol)
TCP guarantees that all data is successfully delivered to the host. If a segment fails to arrive, TCP itself handles discovering the failure and resending the segment
Reliable
A TCP segment itself contains a checksum which is used for error detection. Detected errors are then corrected, since corrupt segments are discovered and resent just like missing ones.
Error Correction
As part of the acknowledgement process, the remote host can regulate the rate of data flow. This keeps a slow recipient from being overwhelmed by high-speed transmissions
Flow Control
When a long transmission must be broken into many segments, for example a large file transfer, TCP can guarantee they will be delivered to the upper layers in the correct sequence, even if the packets on the network arrived out of order. This keeps applications from being burdened with reassembling fragmented transmissions.
Sequencing
Protocol that is unreliable, connectionless, fast, and lightweight.
UDP (User Datagram Protocol)
What network services use UDP?
streaming video or online multiplayer games
Represents a certain place on the Transport layer that represents the end point of the conversation
Port or Socket number
Process in which a single port on a host can only be used by one application at a time.
Port Binding
Client programs connecting to servers which are held in a pool by the operating system and only assigned for the length of a given connection.
ephemeral ports or dynamic ports
Ports 0-1023 are assigned to the most universal and accepted TCP/IP standard applications, or applications the IANA expects to become standards
System Ports (Well Known or Privilege)
Ports 1024-49151 are assigned to applications that benefit from assigned port numbers, but aren’t so widely used that they need to become a worldwide standard
User Ports (registered ports)
Ports 49152-65535 aren’t assigned by the IANA, and can be used for any purpose without registration
Private Ports
Used to retrieve data from web servers. Port 80
HTTP (Hypertext Transfer Protocol)