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 Control (con) is 1 <strong>by</strong>te long and is usually set to a hexadecimal 03 for<br />

Ethernet.<br />

The 802.2 SNAP packet is composed of two fields:<br />

The Organization Code (Org) is 3 <strong>by</strong>tes that are all usually set to zeros. In<br />

hexadecimal that would be 000000.<br />

The Type indicates what types of request will follow. This will be given in<br />

hexadecimal. This field is usually 2 <strong>by</strong>tes. A 0800 in the type field indicates an<br />

IP datagram will follow. A 0806 in the type field indicates an ARP request will<br />

follow. A 0835 in the type field indicates a RARP request will follow. Current<br />

type codes can be found at http://www.iana.org/numbers.html#<br />

The Data is what it sounds like…it’s the “meat” of the information transmitted. For<br />

“generic” Ethernet this can be as small as 46 <strong>by</strong>tes and up to 1500 <strong>by</strong>tes. The first part of<br />

the data field contains the LLC information, then the SNAP information and finally the<br />

IP header information. See the discussion below on the composition of the data field for<br />

both types of Ethernet packets.<br />

The Frame Check Sequence (FCS) is the CRC information for error control. This is 4<br />

<strong>by</strong>tes in hexadecimal. There are many different error control calculations. (Is it a<br />

coincidence there are many flavors of jello too?) I described one in an earlier lab using<br />

unique prime numbers.<br />

IP Data Field Composition<br />

The “Internet Protocol” Standard was written <strong>by</strong> Postel in 1981 (ftp://ftp.isi.edu/innotes/rfc791.txt<br />

). Geeze…it almost sounds like the egg came before the chicken? Well<br />

anyway, the IP data field is begun with a header portion of 20 <strong>by</strong>tes unless options are<br />

used.<br />

Ver Hlen TOS Length<br />

ID Flags FO TTL Prot HC SA DA Opt Data<br />

Figure 3—IP Data Field Composition<br />

The Version field is 4 bits. This is usually set for IP version 4 (IPv4) although IPv6 is<br />

emerging quickly. IPv4 uses 4 <strong>by</strong>tes and IPv6 uses 6 <strong>by</strong>tes. In hexadecimal IPv4 is<br />

denoted with a 45. IPv6 is denoted with 0x86dd.<br />

The Header Length field is also 4 bits. It indicates how many 32-bit portions are in the<br />

IP header (including options). The maximum is 60 <strong>by</strong>tes.<br />

78

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

Saved successfully!

Ooh no, something went wrong!