Shared Flashcard Set

Details

Data Communications - IP, ARP, ICMP, DHCP, TCP
This set reviews the following protocols: IP, ARP, DHCP, ICMP, NAT, and TCP.
35
Computer Networking
Undergraduate 3
12/02/2012

Additional Computer Networking Flashcards

 


 

Cards

Term
Is IP connection-oriented or connectionless?
Definition
Connectionless
Term
What is an IP packet called?
Definition
IP Datagram
Term
Why is the IP packet referred to as a virtual packet?
Definition
It isn't associated with a type of network or hardware. It is purely conceptual.
Term
What addresses are found in the IP packet?
Definition
Source and Destination IP addresses.
Term
What is the purpose of the IDENTIFICATION field of the IP packet?
Definition
To identify fragments of an IP datagram for reassembly.
Term
What is the purpose of the TIME TO LIVE field of the IP packet?
Definition
It is the time counter used to kill the packet after a certain number of hops.
Term
Give the computation that is performed within each router to determine the Next Hop for an IP packet with final destination D (p. 368)
Definition
If (D && Mask[i] == D[i])
Use NextHop[i];
Term
Explain the concept of IP encapsulation.
Definition
IP datagram is stored in a hardware frame’s payload.
Term
Do hardware frame headers accumulate as an IP packet traverses the Internet? Explain.
Definition
No. Each router creates a new hardware frame.
Term
Why are IP packets sometimes fragmented as they traverse the Internet?
Definition
Some LANs do not support the standard 1500 byte packet size, so the packet is sometimes fragmented.
Term
Where does re-assembly of IP packet fragments occur?
Definition
The destination host will reassemble the packet fragments.
Term
What fields of the IP packet are used in the re-assembly process?
Definition
Identification, fragment offset, source IP address, and payload.
Term
What is address resolution?
Definition
The act of matching addresses (IP to MAC and vice-versa).
Term
What address resolution does the IP protocol use?
Definition
ARP.
Term
What does ARP stand for?
Definition
Address Resolution Protocol.
Term
Explain what the ARP request and the ARP response are used for.
Definition
The request is broadcasted to the entire LAN asking for a computer’s MAC, and the computer with the match sends back a unicast response to the sender of the request only.
Term
Does ARP resolve the IP address of a remote router? Explain.
Definition
No; only on the local LAN.
Term
What four addresses are found in the ARP message?
Definition
The source and destination addresses (both IP and MAC addresses).
Term
Which one of the four addresses found in an ARP message serves no purpose?
Definition
The destination MAC address is unknown, so it doesn’t matter in an ARP message. In both cases, the destination MAC address is all 0’s.
Term
Are ARP messages encapsulated onto hardware frames or onto IP datagrams? Explain.
Definition
• ARP messages are encapsulated onto hardware frames; the messages do not leave the LAN, so an IP datagram is unnecessary.
Term
Explain the ICMP protocol.
Definition
• Internet Control Message Protocol. This sends control messages during IP datagram transit. This includes error messages and ping/traceroute responses.
Term
Explain the operation of DHCP.
Definition
A DHCP server allocates IP addresses to hosts on a LAN. Encapsulated on a hardware frame.
Term
Explain the purpose of NAT.
Definition
Network Address Translation. Works with IP addresses. NAT translates public IP addresses and private IP addresses. In essence, NAT makes a LAN look like a single host with a single public IP address to the Internet. NAT translates the public IP address to the private IP address of the specific host on the LAN.
Term
What is the term used to refer to a TCP packet?
Definition
TCP packets are called segments.
Term
What is TCP’s overall purpose?
Definition
TCP guarantees reliable transmission of IP datagrams.
Term
Do routers understand TCP?
Definition
No; routers operate with IP. TCP is used on the host machine.
Term
What does TCP do when it determines that a packet is lost or delayed?
Definition
TCP retransmits the packet. This happens when there is a negative or no response from the destination upon transmission.
Term
Explain the concept of a TCP window.
Definition
The number of bytes that can be sent at a time according to the buffer size on the receiving end.

It starts with one and doubles over time up to half the maximum, at which point it increases linearly.
Term
Explain how TCP recognizes that congestion is occurring.
Definition
TCP records the delay in transmission of packets to detect and avoid congestion.
Term
What does TCP do when it recognizes that congestion is occurring?
Definition
• When this is detected, the window size is reduced temporarily until the congestion eases up. If loss of data is detected, the window size is reduced by one-half.
Term
Explain the concept of a TCP slow start.
Definition
• TCP initially begins with one packet, and doubles over time until half the maximum. Then, it is increased linearly.
Term
What addresses are in a TCP packet?
Definition
TCP uses port numbers instead of addresses. These are the source and destination port.
Term
Is a TCP packet encapsulated onto a hardware frame or onto an IP datagram? Explain.
Definition
A TCP packet is encapsulated onto an IP datagram.

It must be ready to transmit across the Internet layer of the TCP/IP stack; therefore, an IP datagram must be used to carry the TCP packet to its destination across the Internet layer.
Term
What are the five layers of the TCP/IP protocol stack? (in ascending order)
Definition
Physical, Network Interface, Internet, Transport, Application.
Term
What is the general purpose of TCP?
Definition
To provide reliable delivery of packets.
Supporting users have an ad free experience!