20.01.2014 Views

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Internet Protocol version 4 (IPv4) (RFC 791)<br />

0 7 8 15 16 23 24 31<br />

4 bit<br />

version<br />

4-bit header<br />

length<br />

8-bit DS or<br />

Type of Service (TOS)<br />

16 bit total length<br />

16 bit identification 3-bit<br />

flags<br />

13 bit Fragment Offset<br />

8-bit Time to Live (TTL) 8-bit Protocol 16 bit header checksum<br />

32 bit Source IP address<br />

20 bytes<br />

32 bit Destination IP address<br />

options (padded to 32 bit length)<br />

data<br />

Figure 1: IP header (see Stevens, Vol. 1, figure 3.1, pg. 34)<br />

Note: We examined the Version, Protocol, and IP address fields in the previous<br />

lecture. Today we will examine the length fields, TOS, identification, flags, offset,<br />

Maguire Internet Protocol version 4 (IPv4) (RFC 791) 3: 3 of 33<br />

maguire@kth.se <strong>2010</strong>.03.21 Internetworking/Internetteknik

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

Saved successfully!

Ooh no, something went wrong!