Network Layer Flashcards
What layer of the OSI model does the Network Layer correspond to?
Layer 3.
What are the main responsibilities of the Network Layer?
Providing end-to-end connectivity, routing packets, addressing devices, encapsulation, and packet handling.
What is encapsulation in the context of the Network Layer?
Adding a layer 3 header to data from the transport layer, forming packets.
What is de-encapsulation?
Removing the layer 3 header at the receiving end to deliver transport PDUs to upper layers.
What is the primary role of the Network Layer in communication?
To enable data transfer across different interconnected networks.
What is a routing table?
A table that specifies the exit interface for packets based on their destination address.
What is the term for each layer 3 device a packet passes through on its way from source to destination?
Hop.
What is the difference between packet-based and connection-based layer 3 protocols?
Packet-based protocols make independent routing decisions for each packet, while connection-based protocols establish a fixed path before sending data.
What does ‘best effort delivery’ mean in the context of network protocols?
It means the protocol does not guarantee packet delivery or order and does not provide error recovery.
What is a key characteristic of IPv4 regarding delivery?
Connectionless and best effort delivery.
What does the Time to Live (TTL) field in an IPv4 header indicate?
The maximum number of hops a packet can take before being dropped.
What is the purpose of the IP version field in the IPv4 header?
To identify the version of the IP protocol (e.g., IPv4 or IPv6).
What does the Service Type (Differentiated Services Code Point - DSCP) field in an IPv4 header specify?
It specifies the level of throughput priority a packet should have.
What is the function of the Identification field in the IPv4 header?
To identify fragments of the same packet for reassembly.
What do the Flags in the IPv4 header indicate?
They indicate fragmentation status and control fragmentation.
What is the Fragment Offset field used for in the IPv4 header?
To specify the position of a fragment within the original packet.
What is the purpose of the Header Checksum in an IPv4 packet?
To validate the integrity of the header data.
What is the structure of an IPv4 address?
A 32-bit number divided into four octets, represented in decimal form.
What is the purpose of a subnet mask?
To define the network and host portions of an IPv4 address.
What is the difference between a network address and a broadcast address?
A network address identifies a network, while a broadcast address is used to send packets to all hosts in the network.
What are the three types of communication in an IPv4 network?
Unicast, broadcast, and multicast.
What is unicast transmission?
Sending a packet from one host to a single recipient host.
What is broadcast transmission?
Sending a packet from one host to all hosts in a network.
What is multicast transmission?
Sending a packet from one host to a selected group of hosts.
What are private IPv4 addresses?
Addresses that are not routable on the internet and used within private networks.
List the private IPv4 address ranges as defined by RFC 1918.
10.0.0.0 to 10.255.255.255, 172.16.0.0 to 172.31.255.255, 192.168.0.0 to 192.168.255.255.
What is the loopback address used for?
To send traffic to the same device (127.0.0.1).
What is a hierarchical addressing scheme in IPv4?
A method where the address is divided into network and host portions for easier routing.
What is the purpose of the Domain Name System (DNS)?
To translate domain names to IP addresses.
What is Network Address Translation (NAT)?
A method to map private IP addresses to a single public IP address for internet access.
What are the limitations of IPv4?
Limited address space, lack of end-to-end connectivity, and no built-in security features.
What does the IPv4 header’s Protocol field indicate?
The upper layer protocol encapsulated in the packet (e.g., TCP, UDP).
What are the special use IPv4 addresses?
Network address, broadcast address, loopback address, link-local address, TEST-NET addresses, experimental addresses.
What is the maximum size of an IPv4 packet?
65,535 bytes.
What is the purpose of the Internet Assigned Numbers Authority (IANA)?
To manage global IP address allocation and assignment.
What are the fields in the IPv4 header?
12
Version, IHL, DSCP, Total Length, Identification, Flags, Fragment Offset, TTL, Protocol, Header Checksum, Source IP, Destination IP.
What does the Differentiated Services Code Point (DSCP) in IPv4 do?
Marks the packet with a type of service or priority level.
What is IPv4 fragmentation?
Breaking a packet into smaller fragments to fit the MTU of a link.