Network Configurations Flashcards
What is the structure of an IPv4 address?
An IPv4 address is written in dotted-decimal notation, consisting of four octets (e.g., 192.168.1.4). Each octet is 8 bits, making the full address 32 bits.
How is an IPv4 address represented in binary?
Each octet in an IPv4 address is converted to an 8-bit binary number. For example, 255 in decimal equals 11111111 in binary.
What is the role of a subnet mask in IPv4?
A subnet mask divides an IP address into the network and host portions, helping to identify the network and available hosts.
What are the IPv4 address classes and their ranges?
Class A: 1-127 (default mask /8)
Class B: 128-191 (default mask /16)
Class C: 192-223 (default mask /24)
Class D: 224-239 (multicast)
Class E: 240-255 (experimental)
What is CIDR notation, and how does it simplify subnetting?
CIDR (Classless Inter-Domain Routing) uses a slash notation (e.g., 192.168.1.4/24) to define the network portion of an IP address, providing more flexible subnetting.
What are the common private IP address ranges?
Class A: 10.0.0.0 – 10.255.255.255
Class B: 172.16.0.0 – 172.31.255.255
Class C: 192.168.0.0 – 192.168.255.255
What is the difference between public and private IP addresses?
Public IPs are assigned globally and can be accessed over the internet, while private IPs are used within a local network and cannot be routed over the internet.
What is the loopback address in IPv4?
The loopback address is 127.0.0.1, used for testing network protocols on the local machine.
What are the four steps of the DHCP process (DORA)?
- Discover: Client requests an IP.
- Offer: DHCP server offers an IP.
- Request: Client requests the offered IP.
- Acknowledge: Server confirms the assignment.
What is DHCP reservation?
DHCP reservation ensures that a device always receives the same IP address based on its MAC address.
What is APIPA and when is it used?
APIPA (Automatic Private IP Addressing) assigns an IP in the 169.254.x.x range when a DHCP server is unavailable.
What is the purpose of DNS?
DNS translates human-readable domain names (e.g., www.example.com) into numeric IP addresses for easier access to network services.
What is the purpose of the A record in DNS?
The A record maps a domain name to an IPv4 address.
What does TTL mean in DNS?
TTL (Time to Live) specifies how long a DNS record should be cached by DNS resolvers to reduce repeated lookups.
What is a VLAN and why is it used?
A VLAN (Virtual Local Area Network) segments a network into multiple broadcast domains, improving security and efficiency by isolating traffic.
What is VLAN trunking?
VLAN trunking uses 802.1q to allow multiple VLANs to share a single physical link between switches while preserving logical separation.
What is a VPN and why is it used?
A VPN (Virtual Private Network) extends a private network over a public network, allowing secure access to data as if directly connected to the private network.
What is a site-to-site VPN?
A site-to-site VPN connects two separate office networks, allowing encrypted data to travel over the public internet.