mentor prep Flashcards
narrow waist of the internet
IP layer connects various networks and applications
IP remains consistent and universal across the entire network
switching <-> routing
switching - forwarding packets at data link layer
routing - directing packets between different networks
non-transparent fragmentation
packets are fragmented without informing the receiver
transparent fragmenting
packets are reassembled at each hop
avoiding fragmentation
notify the sender to send small packets
distance vector routing
Nodes share their distance vector(the distances or cost to all of the nodes in the network) periodically to their neighbours
protocol example: RIP (Routing Information Protocol)
count to infinity
a routing problem in distance-vector routing protocols like RIP (Routing Information Protocol). When a network node fails, nodes that rely on it may continuously increase their distance metric values (hop counts) to other destinations, leading to a situation where the network fails to converge.
link state routing
a type of routing algorithm where routers exchange information about their directly connected links to build a complete network map
OSPF
interior gateway protocol used within a single autonomous system (AS) to exchange routing information and determine the best paths (shortest paths) between routers
BGP
an exterior gateway protocol used to exchange routing and reachability information between different autonomous systems on the internet
IPv4 <-> IPv6
IPv4
- 32 bit
- ~4.3 billion addresses
IPv6
- 128 bit
NAT
used to translate private IP addresses (used within a local network) to public IP addresses (used on the internet)
This allows multiple devices on a local network to share a single public IP address for communication with external networks
transport layer manages:
data segmentation
error correction
and flow control
establishes connections
manages data transfer
provides reliable communication services
three-way handshake
fundamental process used in TCP to establish a connection between two devices over an IP network
It ensures both ends are ready to send and receive data before actual data transmission begins, involving three steps: SYN, SYN-ACK, and ACK.
purpose of using sliding window protocols
to manage transmission of frame and ensure reliable data transfer
They allow multiple frames to be sent before needing an acknowledgment for the first one, improving efficiency and ensuring that data is correctly received
TCP <-> UDP
TCP ensures reliable and ordered data delivery through error checking, retransmission of lost packets, and flow control
UDP is a connectionless protocol that does not offer these features, making it faster but less reliable than TCP
main function of DNS
To translate domain names to IP addresses
HTTP as the narrow waist
HTTP is a foundational protocol that all other web protocols are built over
802.11 protocol is in
the link layer
IP is in
the network layer