CSE 473S:Introduction to Computer Networksjain/cse473-16/ftp/i_0int4.pdf · 1.CSE 473: Introduction...

9
1 ©2016 Raj Jain Washington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/ CSE 473S:Introduction to Computer Networks Raj Jain Washington University in Saint Louis Saint Louis, MO 63130 [email protected] Audio/Video recordings of this lecture are available on-line at: http://www.cse.wustl.edu/~jain/cse473-16/ 2 ©2016 Raj Jain Washington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/ Overview T Why Study Computer Networking? T Goal of This Course T Instructor T Grading T Contents of the course T Tentative Schedule 3 ©2016 Raj Jain Washington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/ Why Study Computer Networking? T Networking is the “plumbing” of computing T Almost all areas of computing are network-based. T Distributed computing T Big Data T Cloud Computing T Internet of Things T Fast growing field T All top companies are networking companies: Apple, Google, Microsoft, Amazon, Facebook, Cisco, HP, Intel, IBM, … 4 ©2016 Raj Jain Washington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/ Current Hot Topics in Networking 1. Internet of Things 2. Security: Cyber Warfare 3. Datacenter Networking and Clouds 4. Mobile/Wireless Networking

Transcript of CSE 473S:Introduction to Computer Networksjain/cse473-16/ftp/i_0int4.pdf · 1.CSE 473: Introduction...

Page 1: CSE 473S:Introduction to Computer Networksjain/cse473-16/ftp/i_0int4.pdf · 1.CSE 473: Introduction To Computer Networks (every fall) –Prerequisite for all other networking classes

1©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

CSE 473S:Introduction to Computer Networks

Raj JainWashington University in Saint Louis

Saint Louis, MO [email protected]

Audio/Video recordings of this lecture are available on-line at:http://www.cse.wustl.edu/~jain/cse473-16/

2©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Overview

Why Study Computer Networking?Goal of This CourseInstructorGradingContents of the courseTentative Schedule

3©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Why Study Computer Networking?

Networking is the “plumbing” of computingAlmost all areas of computing are network-based.

Distributed computingBig DataCloud ComputingInternet of Things

Fast growing fieldAll top companies are networking companies: Apple, Google, Microsoft, Amazon, Facebook, Cisco, HP, Intel, IBM, …

4©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Current Hot Topics in Networking

1. Internet of Things 2. Security: Cyber Warfare3. Datacenter Networking and Clouds4. Mobile/Wireless Networking

Page 2: CSE 473S:Introduction to Computer Networksjain/cse473-16/ftp/i_0int4.pdf · 1.CSE 473: Introduction To Computer Networks (every fall) –Prerequisite for all other networking classes

5©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Gartner Hype Cycle 2016

VC investment AcquisitionsBy large corporations

Mass Production

Ref: Gartner, “Hype Cycle for Emerging Technologies, 2016,” July 2016, [subscribers only], gartner.com/document/3383817

6©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

1. Internet of Things

Smart Health Smart Home

Smart TVSmart Watch

Smart CitiesSmart Industries

Smart Car

Smart Kegs

Smart Space

©2015 Raj Jain

7©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

What’s Smart?Old: Smart = Can think Computation

= Can Recall StorageNow: Smart = Can find quickly, Can Delegate

Communicate = NetworkingSmart Grid, Smart Meters, Smart Cars, Smart homes, Smart Cities, Smart Factories, Smart Smoke Detectors, …

Not-Smart Smart

8©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Cavemen of 2050

http:/h

Page 3: CSE 473S:Introduction to Computer Networksjain/cse473-16/ftp/i_0int4.pdf · 1.CSE 473: Introduction To Computer Networks (every fall) –Prerequisite for all other networking classes

9©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Internet of Harmful Things

Imagine, as researchers did recently at Black Hat, someone hacking your connected toilet, making it flush incessantly and closing the lid repeatedly and unexpectedly.

Ref: http://www.computerworld.com/article/2486502/security0/worm-may-create-an-internet-of-harmful-things--says-symantec--take-note--amazon-.html

10©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

DEFCON 2015

11©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

DEFCON 2015 (Cont)Hacking a Linux rifleHacking smart safes Wirelessly steal carsHack a TeslaHack ZigBeeHacking IoT baby monitorsHacking FitBit AriaCracking crypto currencyHack out of home detentionInsteon’s false securityHacking RFID, NFCDARPA Cyber Grand Challenge $2M

Ref: https://www.ethicalhacker.net/features/opinions/first-timers-experience-black-hat-defcon

12©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

2. Security: Cyber WarfareSecurity of computers, companies, smart grid, and nationsNation States are penetrating other nations computers5th domain of warfare (after land, sea, air, space)In 2010, US set up US Cyber CommandUK, China, Russia, Israel, North Korea have similar centersMany cyber wars: North Korea vs. USA, Israel vs. Syria, South Korea vs. North Korea, India vs. Pakistan, …

Ref: http://en.wikipedia.org/wiki/Cyber_war

Old New

Page 4: CSE 473S:Introduction to Computer Networksjain/cse473-16/ftp/i_0int4.pdf · 1.CSE 473: Introduction To Computer Networks (every fall) –Prerequisite for all other networking classes

13©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

3. Cloud Computing

Cloud Computing: Applications through Internet (Google Docs)Computing through Internet (Amazon EC3)Storage and backup through Internet (iCloud, Google Drive)

August 25, 2006: Amazon announced EC2 Birth of Cloud Computing in reality

(Prior theoretical concepts of computing as a utility)$10 B in 2016, a growth rate of 49% with 17% margins, much higher than the overall Amazon business

14©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

4. Mobile/Wireless

June 29, 2007: Apple announced iPhoneBirth of Mobile Internet, Mobile AppsAlmost all services are now mobile apps:Google, Facebook, Bank of America, …

Wireless (WiFi) is ubiquitous (Intel Centrino)New Developments:

5G: 1GbpsVehicular Networking

15©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Goal of This CourseFirst course in networkingFundamentalsBroad coverage of key areas of networking Networking background for networking applications in other areas of computingThis is a course on Networking ArchitectureThis is not a course on network building or usageYou will be able to understand protocolsAn example of the difference between architecture and implementation is the computer architecture course and a course on Intel Pentium Chip.This is the first course on networking.Basis for more advanced networking courses

16©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

What Will You Learn?1. What messages and messages are exchanged when you fetch a

web page?2. What messages are used to send/receive emails?3. How the names such as www.google.com gets translated to IP

addresses such as 74.125.73.104?4. What is done to avoid congestion under overload?5. How is the path in the Internet determined?6. What happens if bits in a packet get corrupted?7. How WiFi or Ethernet works?8. What is the difference between WiFi, Ethernet, IP, and TCP?9. What is done to handle audio/video on the Internet?10. How can you guarantee security on the Internet?

Page 5: CSE 473S:Introduction to Computer Networksjain/cse473-16/ftp/i_0int4.pdf · 1.CSE 473: Introduction To Computer Networks (every fall) –Prerequisite for all other networking classes

17©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Networking Courses at WUSTL1. CSE 473: Introduction To Computer Networks

(every fall) – Prerequisite for all other networking classes

2. CSE 521S: Wireless Sensor Networks 3. CSE 537S: Mobile Computing4. CSE 570S: Virtualization, Clouds,

Big Data, SDN, IoT (Fall 2017)5. CSE 571S: Network Security (Spring 2017)6. ESE 572S: Signaling and Control in Communications

Networks7. CSE 574S: Wireless and Mobile Networking (Spring 2018)8. CSE 577M: Design And Analysis of Switching Systems9. CSE 7700: Research Seminar On Networking and

Communications

18©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

TextbookJ.F. Kurose and K.W. Ross, “Computer Networking” 7th

Edition, Addison-Wesley, 2017, ISBN: 9780133594140 or 9780134296135, 864 pp. Required.

Get the latest edition. Do not use older editions. If you use international edition, it should be dated later than 2016, should have 864 pages.

19©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Textbook (Cont)It is recommended that you read the relevant chapter of the book chapter before coming to the class

Class time will be used for discussing and clarifying key conceptsOnly key concepts will be covered in the class.You are expected to read the rest from the book.Please ask questions in the next class about any concepts that are not clear to youMaterial covered in the class will include some concepts from other textbooks. Please pay attention to the class lecture.

20©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

PrerequisiteGeneral knowledge of computer systems organization

MemorySystem busInterruptCPUBinary, decimal, hexadecimal representationsBits, bytesStorage: Memory and disk

CSE 131: Computer Science I or equivalent

Page 6: CSE 473S:Introduction to Computer Networksjain/cse473-16/ftp/i_0int4.pdf · 1.CSE 473: Introduction To Computer Networks (every fall) –Prerequisite for all other networking classes

21©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Tentative Schedule

22©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Tentative Schedule (Cont)

23©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Tentative Schedule (Cont)

• Note that the final exam is on December 7, 2016.The dates for all exams are fixed. No substitute exams.

24©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

ExamsThere are two mid-terms and one final exam.All exams are 1 hour long. One note sheet of 8.5”x11” (both sides) is allowed along with a simple calculator (TI-30).Exams consist of numerical as well as multiple-choice (true-false) questions.There is a negative grading on incorrect multiple-choice questions. Grade: +1 for correct. -1/(n-1) for incorrect.Everyone including the graduating seniors are graded the same way.Your grade depends upon the performance of the rest of the class.

Page 7: CSE 473S:Introduction to Computer Networksjain/cse473-16/ftp/i_0int4.pdf · 1.CSE 473: Introduction To Computer Networks (every fall) –Prerequisite for all other networking classes

25©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Grading

Mid-Term Exams (Best of 2) 30%Final Exam 30%Class participation 5%Homeworks 20%Labs 15%Academic integrity is expected in homeworks

26©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Homework SubmissionAll homeworks are due on the following Monday at the beginning of the class unless specified otherwise.Any late submissions, if allowed, will *always* have a penalty.All homeworks should be submitted in hardcopy unless specified otherwiseAll homeworks are identified by the class handout number.All homeworks should be on a separate sheet. Your name should be on every page.Please write CSE473 in the subject field of all emails related to this course. Use word “Homework” in the subject field on emails related homework. Also indicate the homework number.

27©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Homework GradingGrading basis: Method + Correct answerShow how you got your answer

Show intermediate calculations.Show equations or formulas used.If you use a spreadsheet, a statistical package, or write a program, print it out and turn it in with the homework.For Excel, set the print area and scale the page accordingly to fit to a page. (See Page Setup)

28©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

QuizzesThere may be a short 5-minute quiz at the beginning of each class to check if you have read the topics covered in the last class.

Page 8: CSE 473S:Introduction to Computer Networksjain/cse473-16/ftp/i_0int4.pdf · 1.CSE 473: Introduction To Computer Networks (every fall) –Prerequisite for all other networking classes

29©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Office HoursMonday: 11:00AM to 12:00 noonWednesday: 11:00AM to 12:00noonOffice: Jolly 208Teaching Assistants:

Han Wang, [email protected] Nicholson, [email protected] Sirohi, [email protected] Bosch, [email protected]

30©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Class DiscussionsWe will use Piazza for class discussion. Find our class page at: https://piazza.com/wustl/fall2016/cse473/homeYou can sign up at:https://piazza.com/wustl/fall2016/cse473

31©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Summary

Computer networking is important for all areas of computingFirst course in computer networkingGoal: To prepare you for a career in networkingGet ready to work hard

32©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Quiz 0: PrerequisitesTrue or False?T F

1. Transmitting 100 bytes @ 800 bit/sec will take 1 sec.2. A system with 32kB memory can hold only 16000 ASCII characters3. A system with 2GB memory is same as that with 2GB disk.4. Interrupts are used by CPU to stop an ongoing I/O.5. Binary representation of 9 is 10016. 0A in Hexadecimal is 11 in decimal system.7. For I = A Sin (2 ft+ ), the frequency is f.8. 5 modulo 2 is 19. Two entries “P” and “Q” are pushed sequentially on a stack.

A “pop” operation on the stack will produce P.10. If x is 0, then after x++, x will be 1.Marks = Correct Answers _____ - Incorrect Answers _____ = ______

Page 9: CSE 473S:Introduction to Computer Networksjain/cse473-16/ftp/i_0int4.pdf · 1.CSE 473: Introduction To Computer Networks (every fall) –Prerequisite for all other networking classes

33©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

ReadingRead Chapter 1 of Kurose and Ross

34©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Scan This to Download These Slides

Raj Jainhttp://rajjain.com

35©2016 Raj JainWashington University in St. Louis http://www.cse.wustl.edu/~jain/cse473-16/

Related Modules

Audio/Video Recordings and Podcasts of Professor Raj Jain's Lectures, https://www.youtube.com/channel/UCN4-5wzNP9-ruOzQMs-8NUw

CSE473S: Introduction to Computer Networks (Fall 2016), http://www.cse.wustl.edu/~jain/cse473-16/index.html

Wireless and Mobile Networking (Spring 2016), http://www.cse.wustl.edu/~jain/cse574-16/index.html

CSE571S: Network Security (Fall 2014), http://www.cse.wustl.edu/~jain/cse571-14/index.html

Computer Networks and Internet, http://www.cse.wustl.edu/~jain/cse473-16/ftp/i_1cni.pdf