28.06.2014 Views

Learning by Doing: CISCO Certified Network ... - SCN Research

Learning by Doing: CISCO Certified Network ... - SCN Research

Learning by Doing: CISCO Certified Network ... - SCN Research

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The Type-of-Service field is 8 bits long. The first three bits are not used anymore. The<br />

next four are the “type of service” bits and the last bit is always set to zero because it is<br />

not used. Only one of the four “type of service” bits can be set to a one at a time while<br />

all other bits are set to zero. These indicate what type of service will be performed. The<br />

types of service are given <strong>by</strong>:<br />

Type of Service Binary Hexadecimal<br />

Normal service 0000 0x00<br />

NNTP (Usenet news) 0001 0x02<br />

IGP/SNMP 0010 0x04<br />

FTP data//SMTP data/ 0100 0x08<br />

DNS zone xfr/<br />

Telnet/Rlogin/DNS UDP<br />

query/SMTP command<br />

phase/TFTP<br />

1000 0x10<br />

The Length field is the length of the IP datagram portion in <strong>by</strong>tes (maximum size of<br />

65536 <strong>by</strong>tes).<br />

The Identification field contains a unique number for each sent packet. It is 16 bits and<br />

given in hexadecimal.<br />

The Flags field uses one bit of it’s 3 bits to identify that “this packet is part of a larger<br />

packet that has been fragmented.”<br />

The Fragment Offset field contains the extra information required with a fragmented<br />

packet. The last of this 13-bit field is able to tell the sending node to “never fragment the<br />

packet.” If fragmentation is needed and this bit is set it will generate an error message<br />

and the information will not be processed. Ahh…playground of the hackers.<br />

The Time to Live (TTL) field sets the maximum number of hops (or routers) that the<br />

packet can pass through on the way to its destination.<br />

The Protocol (Prot) field shows which protocol was used to encapsulate and create the<br />

data. This field is 8 bits long.<br />

The Header Checksum (HC) is an error control mechanism for this point to the end of<br />

the data field. It is 16 bits long.<br />

The Source Address (SA) is the logical address (IP) of the networking device sending the<br />

information. This is 32 bits in hexadecimal. Notice how in IP the source address comes<br />

before the destination address.<br />

The Destination Address (DA) is the logical address (IP) of the networking device the<br />

information is going to be sent to. This is 32 bits in hexadecimal.<br />

79

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!