05.01.2013 Views

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

TCP/IP and the DoD Model 109<br />

The TCP header is 20 bits long. You need to understand what each field<br />

in the TCP segment is. The TCP segment contains the following fields:<br />

Source port Is the port number of the host sending the data. (Port numbers<br />

will be explained a little later in this section.)<br />

Destination port Is the port number of the application requested on the<br />

destination host.<br />

Sequence number Puts the data back in the correct order or retransmits<br />

missing or damaged data, a process called sequencing.<br />

Acknowledgment number Defines which TCP octet is expected next.<br />

HLEN Stands for header length, which defines the number of 32-bit<br />

words in the header.<br />

Reserved Is always set to zero.<br />

Code bits Are control functions used to set up and terminate a session.<br />

Window Is the window size the sender is willing to accept, in octets.<br />

Checksum Is the CRC, because TCP doesn’t trust the lower layers and<br />

checks everything. The Cyclic Redundancy Check (CRC) checks the<br />

header and data fields.<br />

Urgent pointer Indicates the end of urgent data.<br />

Option Sets the maximum TCP segment size to either 0 or 32 bits, if any.<br />

Data Is handed down to the TCP protocol at the Transport layer, which<br />

includes the upper-layer headers.<br />

Let’s take a look at a TCP segment copied from a network analyzer:<br />

TCP - Transport Control Protocol<br />

Source Port: 5973<br />

Destination Port: 23<br />

Sequence Number: 1456389907<br />

Ack Number: 1242056456<br />

Offset: 5<br />

Reserved: %000000<br />

Code: %011000<br />

Ack is valid<br />

Push Request

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

Saved successfully!

Ooh no, something went wrong!