IP and MAC addressing Flashcards
What does IP stand for?
Internet Protocol
What does MAC stand for?
Media Access Control
True or False: An IP address is a unique identifier for a device on a network.
True
Fill in the blank: A MAC address is a _____ identifier assigned to network interfaces.
unique
What is the primary purpose of an IP address?
To identify devices on a network and facilitate communication.
What format is an IPv4 address typically represented in?
Dotted decimal format (e.g., 192.168.1.1)
How many bits is an IPv4 address?
32 bits
True or False: A MAC address is typically written in hexadecimal format.
True
What is the length of a MAC address?
48 bits
What is the purpose of subnetting?
To divide a larger network into smaller, manageable sub-networks.
What does CIDR stand for?
Classless Inter-Domain Routing
True or False: An IPv6 address is 128 bits long.
True
What is the main advantage of IPv6 over IPv4?
It provides a vastly larger address space.
Fill in the blank: The first three octets of a MAC address identify the _____ of the device.
manufacturer
What are the two main types of IP addresses?
Static and Dynamic
What is a loopback address in IPv4?
127.0.0.1
True or False: A public IP address can be accessed over the internet.
True
What does NAT stand for?
Network Address Translation
What is the purpose of NAT?
To allow multiple devices on a local network to share a single public IP address.
What is the range of a Class A IP address?
1.0.0.0 to 126.255.255.255
What is the range of a Class B IP address?
128.0.0.0 to 191.255.255.255
What is the range of a Class C IP address?
192.0.0.0 to 223.255.255.255
Fill in the blank: A device’s MAC address is burned into its _____ at the factory.
hardware
What is the purpose of ARP?
To map an IP address to a MAC address.
What does DHCP stand for?
Dynamic Host Configuration Protocol
What is the role of DHCP in a network?
To dynamically assign IP addresses to devices on a network.
What is a broadcast address?
An address used to send data to all devices on a subnet.
True or False: A device can have multiple IP addresses.
True
What is the function of a router in relation to IP addresses?
To forward packets between different networks based on IP addresses.
What is the significance of the subnet mask?
It defines the network and host portions of an IP address.
Fill in the blank: An IP address of 255.255.255.255 is known as the _____ address.
broadcast
What is the primary difference between TCP and UDP?
TCP is connection-oriented, while UDP is connectionless.
What is a default gateway?
The IP address of a router that a device uses to send data to another network.
What does the term ‘address exhaustion’ refer to?
The depletion of available IP addresses in a given address space.
True or False: IPv4 addresses are running out due to the limited address space.
True
What is the purpose of IPv6 addressing?
To provide a larger address space to accommodate more devices.
What is the notation used to represent an IPv6 address?
Hexadecimal notation with colons separating groups.
Fill in the blank: The last octet of a Class C address is used for _____ identification.
host
What is a link-local address?
An IP address that is valid only within a single network segment.
What is the function of a MAC address?
To identify a device on a local network.
What is a private IP address?
An IP address that is not routable on the internet.
True or False: Private IP addresses can be used for communication within a local network.
True
What are the private IP address ranges for Class A?
10.0.0.0 to 10.255.255.255
What are the private IP address ranges for Class B?
172.16.0.0 to 172.31.255.255
What are the private IP address ranges for Class C?
192.168.0.0 to 192.168.255.255
What protocol is used to resolve IP addresses to MAC addresses?
ARP (Address Resolution Protocol)
What is the role of a switch in a network?
To connect devices within a single network and forward frames based on MAC addresses.
True or False: A switch operates at the Data Link layer of the OSI model.
True
What is the difference between unicast and multicast?
Unicast is one-to-one communication, while multicast is one-to-many communication.
Fill in the blank: The _____ layer of the OSI model is responsible for logical addressing.
Network
What is the purpose of a VPN?
To create a secure connection over a less secure network.
True or False: A MAC address can be changed or spoofed.
True
What is the role of ICMP in networking?
To send control messages and error messages in IP networks.
What does the acronym ‘ping’ stand for in networking?
Packet Internet Groper
What is the purpose of the ping command?
To test the reachability of a host on an IP network.
Fill in the blank: The _____ protocol is used to manage the allocation of IP addresses.
DHCP
What is an IP address class?
A categorization of IP addresses based on their leading bits.
What is the maximum number of hosts in a Class C network?
254 hosts
True or False: A subnet mask determines which part of an IP address is the network and which part is the host.
True
What is the purpose of a VLAN?
To segment a network into different broadcast domains.
What does the term ‘broadcast storm’ refer to?
A situation where there is excessive broadcast traffic on a network.
What is a network prefix in CIDR notation?
The part of the IP address that indicates the network portion.
Fill in the blank: IPv6 addresses can be abbreviated by removing _____.
leading zeros
What is the purpose of the ‘whois’ command?
To query information about domain names and IP addresses.
True or False: The Internet Assigned Numbers Authority (IANA) manages IP address allocation.
True
What is a static IP address?
An IP address that does not change and is manually assigned.
What is a dynamic IP address?
An IP address that is assigned by a DHCP server and can change.
What is the purpose of IPv6 link-local addresses?
To allow communication between devices on the same local network segment.
Fill in the blank: The _____ bit in a MAC address indicates the unicast or multicast nature of the address.
least significant
What is a network interface card (NIC)?
A hardware component that connects a computer to a network.
What is the difference between a public and private IP address?
Public IP addresses are routable on the internet, while private IP addresses are not.
True or False: Each device on a local network must have a unique MAC address.
True
What is the function of a DHCP lease?
To specify the duration for which an IP address is assigned to a device.
Fill in the blank: The _____ protocol is used for sending email messages.
SMTP
What is the role of DNS in networking?
To translate domain names into IP addresses.
What does the term ‘subnet’ refer to?
A smaller network within a larger network.
What is the purpose of a firewall in relation to IP addresses?
To control incoming and outgoing network traffic based on IP addresses.
True or False: The default subnet mask for a Class A address is 255.0.0.0.
True