ChatGPT Network + Questions Flashcards
What are the 7 layers of the OSI model?
- Application
- Presentation
- Session
- Transport
- Network
- Data Link
- Physical
What layer of the OSI model is responsible for routing?
Layer 3 (Network Layer)
What protocol operates on port 443?
HTTPS (HyperText Transfer Protocol Secure)
What is the primary function of the Transport Layer (Layer 4) in the OSI model?
It handles end-to-end communication, error checking, and flow control. Protocols include TCP (connection-oriented) and UDP (connectionless).
What is the default subnet mask for a Class C IPv4 address?
255.255.255.0
Which protocol is used to translate domain names to IP addresses?
DNS (Domain Name System), operating on port 53.
What is the difference between TCP and UDP?
- TCP: Connection-oriented, reliable, ensures delivery (e.g., HTTP, FTP).
- UDP: Connectionless, faster, but does not ensure delivery (e.g., DNS, streaming media).
What does NAT stand for, and what is its purpose?
NAT (Network Address Translation) allows private IP addresses to be translated to public IP addresses for outbound internet traffic.
What is the primary function of VLANs?
VLANs (Virtual Local Area Networks) segment a network into different broadcast domains, improving performance and security.
What is the main difference between static and dynamic routing?
- Static Routing: Routes are manually configured.
- Dynamic Routing: Routes are automatically learned using protocols like RIP, OSPF, or BGP.
Which TCP/IP model layer is responsible for IP addressing and routing?
The Internet Layer (equivalent to OSI’s Layer 3, Network Layer).
What is subnetting, and why is it used?
Subnetting divides a large network into smaller sub-networks, improving network management and reducing congestion.
What is the function of a firewall?
A firewall filters incoming and outgoing network traffic based on security rules to protect the network from unauthorized access.
What port is used by SSH (Secure Shell)?
Port 22
What is the purpose of ICMP (Internet Control Message Protocol)?
ICMP is used for diagnostic and error-reporting functions in a network, such as the ping and traceroute utilities.