Internet Protocol Stack Flashcards
(58 cards)
What is the internet
A global network connecting millions of computers, allowing them to communicate and share resources
What is the world wide web
A system of interlinked hypertext documents which can be accessed via the internet.
What is Address Resolution Protocol
Operating at the link layer, ARP resolves IP addresses to MAC addresses
What is Transmission Control Protocol
Operating at the transport Layer, TCP provides reliable, ordered, and error free delivery of data between applications running on internet-connected hosts.
What is the purpose of layering in network protocols?
Layering helps in dealing with complex systems by providing an explicit structure that allows for the identification and relationship of various components.
What are the layers in the Internet protocol stack?
Application layer
Transport layer
Network layer
Link layer
Physical layer
What are some examples of protocols at the application layer?
FTP (File Transfer Protocol)
SMTP (Simple Mail Transfer Protocol)
HTTP (Hypertext Transfer Protocol)
What are the two main architectures for network applications?
Client-server architecture
Peer-to-peer (P2P) architecture
Describe the client-server architecture.
In the client-server architecture, there is an always-on server with a permanent IP address, communicating with clients which may be periodically connected. Clients do not communicate directly with each other but interact with the server.
What are the characteristics of the P2P architecture?
In the P2P architecture, there is no always-on server. Instead, arbitrary end systems communicate directly with each other. Peers request services from other peers and provide services in return, leading to self-scalability.
What are some examples of application-layer protocols and their underlying transport protocols?
SMTP (TCP)
Telnet (TCP)
HTTP (TCP)
FTP (TCP)
RTP (TCP or UDP)
SIP, proprietary protocols like Skype (TCP or UDP)
What are the services provided by TCP and UDP?
TCP (Transmission Control Protocol) provides reliable transport, flow control, and congestion control. It’s connection-oriented.
UDP (User Datagram Protocol) provides unreliable data transfer without the mentioned features of TCP. It’s connectionless.
What is DNS and its purpose?
DNS stands for Domain Name System, a distributed database implemented in a hierarchy of name servers. Its purpose is to resolve human-readable domain names to IP addresses and vice versa.
Why is DNS distributed rather than centralized?
Distributing DNS prevents a single point of failure, reduces traffic volume, and eliminates the need for a distant centralized database, making it more scalable and easier to maintain.
What are TLD servers and authoritative DNS servers?
TLD (Top-Level Domain) servers are responsible for managing top-level domains like .com, .org, etc. Authoritative DNS servers are maintained by organizations or service providers and provide authoritative hostname to IP mappings for the organization’s named hosts.
What is the role of a local DNS server?
A local DNS server, also known as a default name server, serves clients within an ISP, company, or university. It maintains a cache of recent name-to-address translation pairs and forwards queries into the DNS hierarchy.
Describe the process of DNS name resolution.
DNS name resolution involves a client querying a series of DNS servers starting from the root server to resolve a domain name to an IP address, typically through iterative or recursive queries.
What are some common HTTP methods used in HTTP request messages?
Common HTTP methods include GET (retrieve a resource), POST (submit data to be processed), and HEAD (retrieve headers only).
What are HTTP response status codes and their significance?
HTTP response status codes indicate the outcome of a request. For example, “200 OK” signifies success, “301 Moved Permanently” indicates a resource has moved, and “404 Not Found” signifies the requested resource was not found.
What is the purpose of cookies in web browsing?
Cookies are used to maintain user-state information, such as session data, preferences, and authentication tokens, across multiple HTTP requests and responses.
How do web caches (proxy servers) work?
eb caches store copies of web content to serve to clients, reducing latency and bandwidth usage by satisfying requests without involving the origin server. If the cache doesn’t have the requested content, it fetches it from the origin server and caches it for future requests.
What are some potential uses of cookies, and what concerns are associated with them?
Cookies can be used for authorization, shopping carts, recommendations, and maintaining user session state. However, they raise privacy concerns as they allow sites to track user behavior and may potentially be misused.
What are the three major components of email systems?
The three major components of email systems are user agents, mail servers, and the Simple Mail Transfer Protocol (SMTP).
What is a User Agent in the context of email?
A User Agent (UA) is also known as a “mail reader” and is responsible for composing, editing, and reading email messages. Examples include Outlook, Thunderbird, and iPhone mail clients.