MTU and Datagram Fragmentation If Datagram Size > MTU, Perform Fragmentation
Total Page:16
File Type:pdf, Size:1020Kb
2G1305 Internetworking/Internetteknik Spring 2006, Period 4 Lecture notes of G. Q. Maguire Jr. For use in conjunction with TCP/IP Protocol Suite, by Behrouz A. Forouzan, 3rd Edition, McGraw-Hill, 2006 KTH Information and Communication Technology © 1998, 1999, 2000,2002, 2003, 2005, 2006 G.Q.Maguire Jr. All rights reserved. No part of this course may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission of the author. Last modified: 2006.03.13:09:07 Maguire Cover.fm5 Total pages: 1 [email protected] 2006.03.13 2G1305 Internetworking/Internetteknik Spring 2006, Period 4 Module 1: Introduction Lecture notes of G. Q. Maguire Jr. For use in conjunction with TCP/IP Protocol Suite, by Behrouz A. Forouzan, 3rd Edition, McGraw-Hill, 2006. KTH Information and Communication Technology For this lecture: Chapters 1-5 © 1998, 1999, 2000,2002, 2003, 2005, 2006 G.Q.Maguire Jr. All rights reserved. No part of this course may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission of the author. Last modified: 2006.03.13:10:46 Maguire Introduction.fm5 Total pages: 74 [email protected] 2006.03.13 Welcome to the Internetworking course! The course should be fun. We will dig deeper into the TCP/IP protocols and protocols built upon them. Information about the course is available from the course web page: http://www.it.kth.se/courses/2G1305/ Note that the above URL will change - due to the reoganization of KTH to: http://www.cos.ict.kth.se/education/msc/ccs/courses/2G1305/ Maguire Welcome to the Internetworking course! Introduction 3 of 74 [email protected] 2006.03.13 Internetworking/Internetteknik Staff Associated with the Course Instructor (Kursansvarig) prof. Gerald Q. Maguire Jr. <[email protected]> Assistants for Recitation Sessions (Övningar) To be annouced Administrative Assistant: recording of grades, registration, etc. Irina Radulescu <irina.radulescu at wireless.kth.se> Maguire Staff Associated with the Course Introduction 4 of 74 [email protected] 2006.03.13 Internetworking/Internetteknik Goals, Scope and Method Goals of the Course • To give deep knowledge and competence (designing, analyzing, and developing) of Internet protocols and architecture, both practical and analytical. • To be able to read and understand the Internet standardization documents (IETF RFCs and Internet Drafts) and current Internet literature. • You should have the knowledge and competence to do exciting Internet related research and development. Scope and Method • Dig deeper into the TCP/IP protocol suite by using diagnostic tools to examine, observe, and analyze these protocols in action. Understanding the details! • Demonstrate this by writing a written report. Maguire Goals, Scope and Method Introduction 5 of 74 [email protected] 2006.03.13 Internetworking/Internetteknik Aim After this course you should be able to read the current internet literature at the level of IEEE Communications Magazine, IEEE Network, IEEE Transactions on Communications, IEEE Transactions on Communications, IEEE Journal on Selected Areas in Communications, IEEE/ACM Transactions on Networking, IEEE Communications Surveys (On-line Journal), … . See the IEEE Communication Society’s list of publications. While you may not be able to understand all of the articles in the above journals and magazines, you should be able to read 90% or more of the articles and have good comprehension. You should develop a habit of reading the journals, trade papers, etc. You should be able to write internetworking articles at the level of Miller Freeman’s Network Magazine or IEEE Internet Computing. In subsequent courses you will also develop you ability to orally present your ideas. Maguire Aim Introduction 6 of 74 [email protected] 2006.03.13 Internetworking/Internetteknik Prerequisites • Datorkommunikation och datornät/Data and computer communication or • Equivalent knowledge in Computer Communications (this requires permission of the instructor) Maguire Prerequisites Introduction 7 of 74 [email protected] 2006.03.13 Internetworking/Internetteknik Contents This course will focus on the protocols that are the fundaments of the Internet. We will explore what internetworking means and what it requires. We will give both practical and more general knowledge concerning the Internet network architecture. The course consists of 14 hours of lectures and 10 hours of recitations (övningar) [possible some laboratory exercises]. Maguire Contents Introduction 8 of 74 [email protected] 2006.03.13 Internetworking/Internetteknik Topics • What an internet is and what is required of protocols to allow internetworking • details of routing and routing protocols (RIP, BGP, OSPF, …) • multicasting • Domain Name System (DNS, Dynamic DNS) • what happens from the time a machine boots until the applications are running (RARP, BOOTP, DHCP, TFTP) • details of the TCP protocols and some performance issues • details of a number of application protocols (especially with respect to distributed file systems) • network security (including firewalls, AAA, IPSec, SOCKs, … ) • differences between IPv6 and IPv4 • network management (SNMP) and • We will also examine some emerging topics: • cut-through routing, tag switching, flow switching, QoS, Mobile IP, Voice over IP, SIP, NAT, VPN, Diffserv, … . Maguire Topics Introduction 9 of 74 [email protected] 2006.03.13 Internetworking/Internetteknik Examination requirements • Written assignment (4 p) • based on lectures, recitations, and your references Grades: U, 3, 4, 5 Maguire Examination requirements Introduction 10 of 74 [email protected] 2006.03.13 Internetworking/Internetteknik Written Assignment Goal: to gain analytical or practical experience and to show that you have mastered some Internetworking knowledge (in addition to what you show on the written examination). • Can be done in a group of 1 to 3 students (formed by yourself). Each student must contribute to the final report. • There will be one or more suggested topics, additional topics are possible (discuss this with one of the teachers before starting). Maguire Written Assignment Introduction 11 of 74 [email protected] 2006.03.13 Internetworking/Internetteknik Assignment Registration and Report • Registration: March 31, 2006, to <[email protected]> • Group members, leader. • Topic selected. • For Analytical Assignments • The length of the final report should be 7-8 pages (roughly 3,000 words) for each student. • Contribution by each member of the group - must be clear • For Practical Assignments • A short technical document describing: 1) what you have done; 2) who did what; 3) methods and tools used; 3) the test or implementation results. Final Report: May 12, 2006 • Send email with URL link to a PDF file to <[email protected]> • Late assignments will not be accepted (i.e., there is no guarantee that they will graded in time for the end of the term) Note that it is pemissible to start working well in advance of the deadlines! Maguire Assignment Registration and Report Introduction 12 of 74 [email protected] 2006.03.13 Internetworking/Internetteknik Literature The course will mainly be based on the book: Behrouz A. Forouzan, TCP/IP Protocol Suite, 3rd edition, McGraw-Hill, publication date January 2005, (Copyright 2006) 896 pages, ISBN 0072967722 (hardbound) or 0071115838 (softbound) Other additional references include: • TCP/IP Illustrated, Volume 1: The Protocols by W. Richard Stevens, Addison-Wesley, 1994, ISBN 0-201-63346-9 and Internetworking with TCP/IP: Principles, Protocols, and Architectures, Vol. 1, by Douglas E. Comer, Prentice Hall, 4th edt. 2000, ISBN 0-13-018380-6. • the commented source code in TCP/IP Illustrated, Volume 2: The Implementation by Gary R. Wright and W. Richard Stevens, Addison-Wesley, 1995, ISBN 0-201-63354-X • IPv6: The New Internet Protocol, by Christian Huitema, Prentice-Hall, 1996, ISBN 0-13-241936-X. Maguire Literature Introduction 13 of 74 [email protected] 2006.03.13 Internetworking/Internetteknik • concerning HTTP we will refer to TCP/IP Illustrated, Volume 3: TCP for Transactions, HTTP, NNTP, and the UNIX Domain Protocols, Addison-Wesley, 1996, ISBN 0-201-63495-3. With regard to Mobile IP the following two books are useful as additional sources: • Mobile IP: Design Principles and Practices by Charles E. Perkins, Addison-Wesley, 1998, ISDN 0-201-63469-4. • Mobile IP: the Internet Unplugged by James D. Solomon, Prentice Hall, 1998, ISBN 0-13-856246-6. Internetworking Technologies Handbook by Kevin Downes (Editor), H. Kim Lew, Steve Spanier, Tim Stevenson (Online: http://www-fr.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/index.htm) We will refer to other books, articles, and RFCs as necessary. In addition, there will be compulsory written exercises. Maguire Literature Introduction 14 of 74 [email protected] 2006.03.13 Internetworking/Internetteknik Lecture Plan Subject to revision! • Lecture 1: Introduction and IP basics • Lecture 2: IP and ICMP • Lecture 3: User Datagram Protocol (UDP) & TCP • Lecture 4: TCP and SCTP • Lecture 5: Dynamic Routing • Lecture 6: IP Multicast and Mobile IP • Lecture 7: Internet Security, VPNs, Firewalls, and NAT Future Issues and Summary Maguire Lecture Plan Introduction 15 of 74 [email protected] 2006.03.13 Internetworking/Internetteknik Context of the course “The network called the Internet is the single most important development in the communications industry since the public switched voice network was constructed…” -- John Sidgmore CEO, UUNET Technologies and COO, WorldCom1 1. http://www.lucent.com/enterprise/sig/exchange/present/slide2.html {this URL no longer functions} Maguire Context of the course Introduction 16 of 74 [email protected] 2006.03.13 Internetworking/Internetteknik Network Architecture WLAN MH FDDI AP R H … Token Ring R switch switch R H R … WAN Ethernet LANs switch switch R R IWU MH Ad hoc BTS BSC MSC MH HLR/VLR … … PAN Cellular networks MH MH Figure 1: Multiple network technologies - internetworked together Note that some of the routers act as gateways between different types of networks.