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.
What is the difference between IPv4 and IPv6?
- IPv4: 32-bit addressing, supports about 4.3 billion addresses (e.g., 192.168.1.1).
- IPv6: 128-bit addressing, supports a much larger number of addresses (e.g., 2001:0db8:85a3::7334).
What is the purpose of ARP (Address Resolution Protocol)?
ARP resolves an IP address to a MAC address for communication within a local network.
What is PAT (Port Address Translation)?
PAT allows multiple devices on a local network to share a single public IP address by using different port numbers for each session.
What is the primary function of the Data Link Layer (Layer 2)?
It handles physical addressing (MAC addresses), error detection, and delivery of frames between devices on the same network.
What is BGP (Border Gateway Protocol) used for?
BGP is a dynamic routing protocol used to exchange routing information between different autonomous systems (AS), typically on the internet.