Networking Flashcards
What is the OSI model, and why is it important in networking?
The OSI (Open Systems Interconnection) model is a conceptual framework that standardizes the functions of a telecommunication or computing system into seven abstraction layers. It is important because it helps in understanding and troubleshooting network communication.
Explain the layers of the OSI model.
Application, presentation, session, transport, network, data link, physical
What is TCP/IP, and how does it relate to the OSI model?
TCP/IP (Transmission Control Protocol/Internet Protocol) is a set of protocols that allows devices to communicate over the internet. It is a conceptual model that corresponds to the top four layers of the OSI model.
What is the difference between TCP and UDP?
TCP (Transmission Control Protocol) is connection-oriented and provides reliable, ordered delivery of data packets. UDP (User Datagram Protocol) is connectionless and does not guarantee delivery or order of packets.
What is an IP address, and what are the different types?
An IP address is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. There are two types: IPv4 (32-bit) and IPv6 (128-bit).
What is a subnet mask, and how is it used in networking?
A subnet mask is used in conjunction with an IP address to define which part of the address represents the network and which part represents the host. It is used to determine the network portion of an IP address.
What is a router, and what is its function in a network?
A router is a networking device that forwards data packets between computer networks. It operates at the network layer (Layer 3) of the OSI model.
What is a switch, and how does it differ from a router?
A switch is a networking device that connects devices within a single local area network (LAN) and forwards data based on MAC addresses. It operates at the data link layer (Layer 2) of the OSI model.
What is a gateway in networking?
A gateway is a device or software that connects two disparate networks, such as a local network to the internet. It acts as an entry and exit point for data traffic.
Explain the difference between IPv4 and IPv6.
IPv4 uses 32-bit addresses and is the most widely used version of the Internet Protocol. IPv6 uses 128-bit addresses and was developed to address the depletion of IPv4 addresses and provide additional features.
What is DNS, and what is its role in networking?
DNS (Domain Name System) translates domain names (e.g., www.example.com) into IP addresses, allowing users to access websites by name rather than by numeric IP address.
What is DHCP, and how does it work?
DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses and other network configuration information to devices on a network, eliminating the need for manual configuration.
What is NAT, and why is it used in networking?
NAT (Network Address Translation) translates private IP addresses used within a local area network into public IP addresses used on the internet, allowing multiple devices to share a single public IP address.
What is a firewall, and how does it protect a network?
A firewall is a network security device that monitors and controls incoming and outgoing network traffic based on predetermined security rules. It acts as a barrier between a trusted internal network and untrusted external networks.
What is VLAN, and why is it used?
VLAN (Virtual Local Area Network) is a logical grouping of devices within the same broadcast domain, even if they are not physically connected to the same network switch. It improves network security and efficiency.