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

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

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

The Start of Frame Delimiter (SOF) further helps to set up the transmission and<br />

reception of the information and synchronization. This is only a 2-bit portion with just<br />

two one’s. No matter how many zeros and one’s come before the SOF the NIC does<br />

nothing until it gets to the one-one (SOF). This information is stripped <strong>by</strong> the NIC and<br />

the NIC can “do its work” on the rest of the packet. (In hex: 3 In binary: 11) You will<br />

not see this with a protocol sniffer because it is stripped and dumped.<br />

Used in de-encapsulation:<br />

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

the information is going to be sent to. This is 48 bits in hexadecimal. This will be the<br />

first “bits” of information you will see with a protocol inspector.<br />

The Source Address (SA) is the physical address (MAC) of the networking device<br />

sending the information. This is 48 bits in hexadecimal.<br />

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

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

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

type field indicates a RARP request will follow. Current type codes can be found at<br />

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 IP header information. See the discussion below on the<br />

composition of the data field for 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 Jell-O too?) I described one in an earlier lab using<br />

unique prime numbers. Another FCS calculation is called “AUTODIN II.” It is<br />

calculated using this formula:<br />

(X 32 + X 26 + X 23 + X 22 + X 16 + X 12 + X 11 + X 10 + X 8 + X 7 + X 5 + X 4 + X 2 + X 1 +1)<br />

802.2/802.3 Ethernet (RFC 1042)<br />

802.3 MAC Information 802.2 Info<br />

Preamble SOF DA SA Length LLC SNAP Data FCS<br />

Figure 2—Ethernet SNAP packet structure.<br />

The “Standard for the Transmission of IP Datagrams Over IEEE 802 <strong>Network</strong>s” was<br />

written <strong>by</strong> Postel and Reynolds in 1988 (ftp://ftp.isi.edu/in-notes/rfc1042.txt ). This is<br />

more commonly used today.<br />

76

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

Saved successfully!

Ooh no, something went wrong!