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

Create successful ePaper yourself

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

118 Chapter 3 � Internet Protocol<br />

FIGURE 3.6 IP header<br />

contains valuable encoded information greatly simplifying the complex task<br />

of routing. (Please note that IP is discussed in RFC 791.)<br />

IP receives segments from the Host-to-Host layer and fragments them into<br />

datagrams (packets). IP then reassembles datagrams back into segments on<br />

the receiving side. Each datagram is assigned the IP address of the sender and<br />

of the recipient. Each router (layer-3 device) that receives a datagram makes<br />

routing decisions based upon the packet’s destination IP address.<br />

Figure 3.6 shows an IP header. This will give you an idea of what the IP<br />

protocol has to go through every time user data is sent from the upper layers<br />

and wants to be sent to a remote network.<br />

Bit 0 Bit 15<br />

Version<br />

(4)<br />

Header<br />

length (4)<br />

Priority and<br />

Type of Service (8)<br />

Time to Live (8) Protocol (8)<br />

The following fields make up the IP header:<br />

Version IP version number.<br />

HLEN Header length in 32-bit words.<br />

Priority or ToS Type of Service tells how the datagram should be handled.<br />

The first three bits are the priority bits.<br />

Total length Length of the packet including header and data.<br />

Identification Unique IP-packet value.<br />

Total length (16)<br />

Flags<br />

Identification (16) Fragment offset (13)<br />

(3)<br />

Source IP address (32)<br />

Destination IP address (32)<br />

Options (0 or 32 if any)<br />

Data (varies if any)<br />

Bit 16 Bit 31<br />

Header checksum (16)<br />

20 bytes

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

Saved successfully!

Ooh no, something went wrong!