Week 2 Flashcards
Dynamic host configuration protocol
The protocol involved with handing out dynamic IP addresses to devices within a network
When are static IP addresses usually given?
To servers and network devices
IP datagram
A highly structured series of fields that are strictly defined
The two primary sections of an IP datagram are the header and the payload
Version field
First field of the IP datagram that is 4 bytes long and it states what version IP address the datagram uses (IPv4 or IPv6)
Header Length field
Almost always 20 bytes in length when dealing with IPv4
Service type field
8 bits long and can be used to specify details about quality of service (QoS) technologies
Total length field
A 16 bit field used to declare how long the attached IP datagram is
Identification field
A 16 bit number used to group messages together : if a very large datagram needs to be sent then it will be split into multiple datagrams and the identification field will be the same for each of those datagrams so the recipient router knows the segments are connected
How large can a single datagram be?
The largest number that can be represented with 16 bits: 65,535
Flag field
Used to indicate if a datagram is allowed to be fragmented, or to indicate that the datagram has already been fragmented
Fragmentation
The process of taking a single IP datagram and splitting it up into several smaller datagrams
Time to live (TTL) field
An 8 bit field that indicates how many router hops a datagram can traverse before it’s thrown away
Protocol field
Another 8 bit field that contains data about what transport layer protocol is being used
Header checksum field
A checksum of the contents of the entire IP datagram header: changes at every router it goes through along with the TTL field
IP options field
An optional field and is used to set special characteristics for datagrams primarily used for testing purposes : usually followed by a padding field