Lectures notes for 2010 - KTH
Lectures notes for 2010 - KTH Lectures notes for 2010 - KTH
Internet Protocol version 4 (IPv4) (RFC 791) 0 7 8 15 16 23 24 31 4 bit version 4-bit header length 8-bit Type of Service (TOS) 16 bit total length 16 bit identification 3-bit flags 13 bit Fragment Offset 8-bit Time to Live (TTL) 8-bit Protocol 16 bit header checksum 32 bit Source IP address 20 bytes 32 bit Destination IP address options (padded to 32 bit length) data Figure 6: IP header (see Stevens, Vol. 1, figure 3.1, pg. 34) The fields: Version, Protocol, and Source & Destination IP addresses are all used for demultiplexing the incoming IP packet. We will first examine version 4, then later in the course version 6. Maguire Internet Protocol version 4 (IPv4) (RFC 791) 1: 43 of 104 maguire@kth.se 2010.03.21 Internetworking/Internetteknik
IP “Protocol” field (RFC 1700) In the Internet Protocol (IP), RFC 791 [22], there is a field, called Protocol, to identify the next level protocol. This is an 8 bit field. Assigned Internet Protocol Numbers (assigned by Internet Assigned Numbers Authority (IANA) http://www.iana.org/assignments/protocol-numbers (last updated 2010-02-17) Decimal Keyword Protocol References 0 HOPOPT IPv6 Hop-by-Hop Option [RFC1883] 1 ICMP Internet Control Message [RFC792] 2 IGMP Internet Group Management [RFC1112] 3 GGP Gateway-to-Gateway [RFC823] 4 IP IP in IP (encapsulation) [RFC2003] 5 ST Stream [RFC1190,RFC1819] 6 TCP Transmission Control [RFC793] 7 CBT CBT [Ballardie] 8 EGP Exterior Gateway Protocol [RFC888,DLM1] 9 IGP any private interior [IANA] (e.g., used by Cisco for their IGRP) 10 BBN-RCC-MON BBN RCC Monitoring [SGC] 11 NVP-II Network Voice Protocol [RFC741,SC3] 12 PUP PUP [PUP,XEROX] Maguire IP “Protocol” field (RFC 1700) 1: 44 of 104 maguire@kth.se 2010.03.21 Internetworking/Internetteknik
- Page 35 and 36: Wireless WANs . . . . . . . . . . .
- Page 37 and 38: Module 12: IPSec, VPNs, Firewalls,
- Page 39 and 40: Module 13: Future and Summary......
- Page 41 and 42: Peer to peer networking ...........
- Page 43 and 44: Module 14: Some exercises..........
- Page 45 and 46: Welcome to the Internetworking cour
- Page 47 and 48: Goals, Scope and Method Goals of th
- Page 49 and 50: Learning Outcomes Following this co
- Page 51 and 52: Prerequisites • Datorkommunikatio
- Page 53 and 54: Topics • What an internet is and
- Page 55 and 56: Grades: A..F (ECTS grades) • To g
- Page 57 and 58: Written Assignment Goal: to gain an
- Page 59 and 60: Literature The course will mainly b
- Page 61 and 62: Lecture Plan Subject to revision!
- Page 63 and 64: Context of the module Communication
- Page 65 and 66: How can we deal with all of these d
- Page 67 and 68: Basic concepts open-architecture ne
- Page 69 and 70: Internetworked Architecture H … M
- Page 71 and 72: Trends: Shifting from traditional t
- Page 73 and 74: IP traffic growing exponentially! T
- Page 75 and 76: Growth rates Some people think the
- Page 77 and 78: Increasing Data Rates “Ethernet
- Page 79 and 80: The Internet Today Local … Local
- Page 81 and 82: Implicit vs. Explicit Information V
- Page 83 and 84: Encapsulation Appl header user data
- Page 85: • Transport layer • Port number
- Page 89 and 90: Decimal Keyword Protocol References
- Page 91 and 92: Decimal Keyword Protocol References
- Page 93 and 94: Decimal Keyword Protocol References
- Page 95 and 96: Basic communication mechanism: data
- Page 97 and 98: Common Used Simple Services Name TC
- Page 99 and 100: Simple Campus Network WAN ISP’s r
- Page 101 and 102: How important are switches vs. rout
- Page 103 and 104: Ethernet Encapsulation (RFC 894) DS
- Page 105 and 106: IEEE 802 Numbers of Interest “…
- Page 107 and 108: SLIP Problems ⇒CSLIP ≡ Compress
- Page 109 and 110: PPP: Point to Point Protocol PPP (R
- Page 111 and 112: PPP summary • support for multipl
- Page 113 and 114: Loopback interface summary • loop
- Page 115 and 116: Using VIF for tunneling TCP UDP ...
- Page 117 and 118: Figure 16: Start the program, then
- Page 119 and 120: Figure 18: After capturing some pac
- Page 121 and 122: Figure 19: Export the captured traf
- Page 123 and 124: Importing in to a Microsoft Excel 1
- Page 125 and 126: Figure 22: Final step -- Note that
- Page 127 and 128: Using a Perl script #!/usr/bin/perl
- Page 129 and 130: Choosing which columns to display F
- Page 131 and 132: Figure 26: Save your parameters and
- Page 133 and 134: Classful addressing Classically the
- Page 135 and 136: Special Case IP Addresses IP Addres
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 Type of Service<br />
(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 6: IP header (see Stevens, Vol. 1, figure 3.1, pg. 34)<br />
The fields: Version, Protocol, and Source & Destination IP addresses are all used<br />
<strong>for</strong> demultiplexing the incoming IP packet.<br />
We will first examine version 4, then later in the course version 6.<br />
Maguire Internet Protocol version 4 (IPv4) (RFC 791) 1: 43 of 104<br />
maguire@kth.se <strong>2010</strong>.03.21 Internetworking/Internetteknik