Chapter 6: TCP/IP Basics Flashcards
Internet Protocol (IP)
Layer 3 protocol responsible for logical addressing and routing packets across networks
Internet protocol version 4 (IPv4)
32 bit value written as four sets of numbers between 0 and 255 separated by a period
What is the first version of internet protocol (IP)
IPv4
Can an IP address be all 0’s and 255’s ?
No
Internet control message protocol (ICMP)
Protocol is used to handle many low-level functions such as error or informational reporting
Does ICMP need direct user action ?
No automated by software
Which utility directly uses ICMP ?
Ping
How many different fields does the IPv4 packet have ?
14
Version field (IP)
Defines the IP address type
Total length
Total size of IP packet in octets
Time to live (TTL)
Prevents an IP packet from indefinitely spinning through the Internet
What is the protocol field for IP usually ?
TCP or UDP
Who decides which protocol to use ?
The people who develop the application
TCP three-way handshake
Requires both the sending and receiving machines to ACK the other’s presence and readiness to send and receive data.
What happens if a segment goes missing ?
The receiving system initiates a request for the missing segments
What is the port number range
1 to 65,535
How are port numbers used by systems ?
Determine what application needs the received data
Which ports do web servers use ?
80(HTTP) or 443(HTTPS)
Sequence number and acknowledgment number
Keep track of various pieces of data
Flags
Give detailed information about the state of the connection
Checksum
Check the TCP header for errors
When does UDP work best ?
When you have a lot of data that doesn’t need to be perfect or when systems are close to each other
Which protocol is faster ? TCP or UDP ?
UDP
Which important networking protocols use UDP ?
Domain name system (DNS)
Dynamic host configuration protocol (DHCP)