Computer Networking Week 2 Quiz
24 Questions
100 Views

Computer Networking Week 2 Quiz

Created by
@RevolutionaryDulcimer

Questions and Answers

What does the IP (IPv4) packet header consist of?

The IPv4 packet header consists of 14 fields, of which 13 are required. The 14th field is optional and aptly named: options.

What can represent all decimal numbers from 0 to 255?

8 bits of data or a single octet.

Which company owns every single IP that has the number 9 as the first octet?

IBM.

What do IP addresses belong to?

<p>IP addresses belong to the networks, not the devices attached to those networks.</p> Signup and view all the answers

Many modern networks allow a new device to connect and an IP address will be assigned to it automatically through a technology known as ________________________.

<p>dynamic host configuration protocol.</p> Signup and view all the answers

An IP address assigned via dynamic host configuration protocol is known as what?

<p>A dynamic IP address.</p> Signup and view all the answers

The exact opposite of a dynamic IP address is known as?

<p>A static IP address.</p> Signup and view all the answers

Who are static IP addresses reserved for?

<p>In most cases, static IP addresses are reserved for servers and network devices.</p> Signup and view all the answers

Who are dynamic IP addresses reserved for?

<p>In most cases, dynamic IP addresses are reserved for clients.</p> Signup and view all the answers

What is the specific name of the data packets at the Ethernet layer?

<p>Ethernet frames.</p> Signup and view all the answers

What is a Flag Field used for?

<p>The flag field is used to indicate if a datagram is allowed to be fragmented, or to indicate that the datagram has already been fragmented.</p> Signup and view all the answers

What is the Total Length Field used for?

<p>It's used to indicate the total length of the IP datagram it's attached to.</p> Signup and view all the answers

What is the Service Type Field?

<p>These eight bits can be used to specify details about quality of service or QoS technologies.</p> Signup and view all the answers

What is Header Length Field?

<p>This is almost always 20 bytes in length when dealing with IPv4.</p> Signup and view all the answers

What is an IP datagram?

<p>An IP datagram is a highly structured series of fields that are strictly defined.</p> Signup and view all the answers

What is the difference between an IP datagram and an Ethernet frame header?

<p>An IP datagram header contains a lot more data than an Ethernet frame header.</p> Signup and view all the answers

What is similar between an IP datagram and an Ethernet frame header?

<p>Just like any Ethernet frame, an IP datagram is a highly structured series of fields that are strictly defined.</p> Signup and view all the answers

What is the most common version of IP?

<p>The most common version of IP is version four or IPv4.</p> Signup and view all the answers

What is an Identification Field?

<p>An identification field is a 16-bit number that's used to group messages together.</p> Signup and view all the answers

What is the maximum size of a single datagram and the largest number you can represent with 16 bits?

<p>The maximum size of a single datagram is 65,535.</p> Signup and view all the answers

If the total amount of data that needs to be sent is larger than what can fit in a single datagram, what does the IP layer need to do?

<p>The IP layer needs to split this data up into many individual packets.</p> Signup and view all the answers

What is the Time to Live (TTL) Field?

<p>This field is an 8-bit field that indicates how many router hops a datagram can traverse before it's thrown away.</p> Signup and view all the answers

What is the Protocol Field?

<p>This is an 8-bit field that contains data about what transport layer protocol is being used.</p> Signup and view all the answers

What is the Header Checksum Field?

<p>This field is a checksum of the contents of the entire IP datagram header.</p> Signup and view all the answers

Study Notes

IPv4 Packet Header

  • Consists of 14 fields, with 13 required and one optional (options).
  • The Header Length Field is generally 20 bytes in IPv4.

IP Address Representation

  • Decimal numbers from 0 to 255 can be represented by 8 bits of data, also known as a single octet.

Ownership of IP Addresses

  • All IP addresses starting with the octet '9' are owned by IBM.

IP Addresses and Networks

  • IP addresses are associated with networks rather than individual devices.

Automatic IP Address Assignment

  • Modern networks often utilize Dynamic Host Configuration Protocol (DHCP) for automatic IP address assignment.

Types of IP Addresses

  • Dynamic IP addresses are allocated automatically through DHCP, usually for clients.
  • Static IP addresses are manually configured, typically reserved for servers and network devices.

Ethernet Layer Packets

  • Data packets at the Ethernet layer are referred to as Ethernet frames.

Datagram Fragmentation

  • The Flag Field indicates whether a datagram is allowed to be fragmented or if it has already been fragmented.
  • An IP datagram is a structured series of fields defined by strict specifications.

Datagram Size and Limits

  • The Total Length Field indicates the size of the IP datagram, with a maximum size of 65,535 bytes due to the 16-bit representation.
  • If data exceeds the size limit of a single datagram, the IP layer must fragment it into smaller packets.

Time to Live (TTL) Field

  • An 8-bit field that defines the maximum number of hops a datagram can make through routers before being discarded.

Protocol Information

  • The Protocol Field indicates the transport layer protocol in use (e.g., TCP and UDP) and is an 8-bit number.

Checksum Verification

  • The Header Checksum Field contains a checksum for the entire IP datagram header to verify integrity.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Description

Test your knowledge on the basics of computer networking with this Week 2 quiz. The flashcards cover essential concepts such as the IPv4 packet header and data representation in binary. Perfect for students looking to solidify their understanding of networking fundamentals.

More Quizzes Like This

IPv4 Packet Header Quiz
5 questions

IPv4 Packet Header Quiz

MatchlessWaterfall avatar
MatchlessWaterfall
IPv4 vs. IPv6 IP Packet Quiz
5 questions
IPv4 Packet Header Fields
40 questions

IPv4 Packet Header Fields

IntelligentJasper852 avatar
IntelligentJasper852
Use Quizgecko on...
Browser
Browser