cs cs 322 222 322 222 network i · cs cs 322 222 322 222 network i 1-1 khon kaen university cs 322...

25
CS CS 322 222 322 222 Network I Network I 1-1 ©2012 Chakchai So-In CS 322 766 Khon Kaen University Chakchai So-In, Ph.D. Department of Computer Science Faculty of Science, Khon Kaen University 123 Mitaparb Rd., Naimaung, Maung, Khon Kaen, 40002 Thailand [email protected] http://web.kku.ac.th/chakso/322222_Fall12/

Upload: others

Post on 01-Feb-2020

28 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

CS CS 322 222322 222

Network INetwork I

1-1

©2012 Chakchai So-InCS 322 766Khon Kaen University

Chakchai So-In, Ph.D.

Department of Computer ScienceFaculty of Science, Khon Kaen University

123 Mitaparb Rd., Naimaung, Maung, Khon Kaen, 40002 Thailand

[email protected]

http://web.kku.ac.th/chakso/322222_Fall12/

Page 2: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

AgendaAgenda

� Goal of this Course

� Contact/Office Hour

� Textbook and supplementary

� Grading

� Academic Integrity

� Tentative Schedule

1-2

©2012 Chakchai So-InCS 322 766Khon Kaen University

� Tentative Schedule

� Term Project and Project Guideline

Page 3: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Goal of This CourseGoal of This Course

� Comprehensive course on computer networking technology

� Broad coverage of key areas of networking

� Emphasize on Application, Transport, Network, and Link layers; only a few basic knowledge on physical layer

� First course in networking for UNDER-GRADUATE study

� Networking background for networking applications in other

1-3

©2012 Chakchai So-InCS 322 766Khon Kaen University

� Networking background for networking applications in other areas of computing

� You will be able to understand protocols.

� Lots of independent reading

� Independent Study on Term Project (4-6 pp./group)

� Networking App (similar to senior project); Simulator; testbed

� Small Project (Paper Translation)

Page 4: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

PrerequisitePrerequisite

� Basic Data Communication/ Computer Networks OR any Computer Networking/Inter-Networking

� Computer Networks by Chakchai So-In, 2012

� Basic Operating System

� OPERATING SYSTEMS by Paisarn Moliskul, 2002

� Basic Computer Architecture

1-4

©2012 Chakchai So-InCS 322 766Khon Kaen University

� Basic Computer Architecture

� COMPUTER ORGANIZATION AND ARCHITECTURE by Sanlayut Sawangwan, 2003

� Basic Programming Language, e.g., C/C++/C#/Java/Python

Page 5: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Contact and Office HourContact and Office Hour

� Instructor: Chakchai So-In, Ph.D. chakso AT kku.ac.th

� Office: SC 6706

� Office Hours: Monday from Monday 02.30pm to 04.30pm

� Location (@6204C): Lect + Lab

� SecI: 01.00pm to 03.00pm; 03.00pm to 05.00pm (Tuesday)

� SecII: 12.30pm to 02.30pm; 08.00am to 10.00am (Monday)

1-5

©2012 Chakchai So-InCS 322 766Khon Kaen University

� SecII: 12.30pm to 02.30pm; 08.00am to 10.00am (Monday)

� SecIII: 12.30pm to 02.30pm; 10.00am to 12.00pm (Monday)

� Class Homepage: http://web.kku.ac.th/chakso/322222_Fall12/

� CNAP Material Webpage: http://202.28.94.51/web/chakchai/322766/ccna-322766.html

� Teaching Assistance:

� Phet Imtongkhum. [email protected]

� Comdet Phaudphut listzone AT hotmail.com

Page 6: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Textbooks and SupplementaryTextbooks and Supplementary

� Facebook Group: https://www.facebook.com/groups/419272691450654/

� Textbooks: please also READ all Wiki related topics.

� CCNA I: Network Fundamentals, CCNA Exploration Companion Guide, by M. Dye, R. McDonald, and A. Rufi, 2007

Supplementary

1-6

©2012 Chakchai So-InCS 322 766Khon Kaen University

� Supplementary

� W. Stallings, “Data and Computer Communications,” 9th

Edition, Pearson, 2010.

� J.F. Kurose and K.W. Ross, “Computer Networking” 5th

Edition, Addison-Wesley, 2009.

� Chakchai So-In, “Computer Networks” 2012

� Mastering Networks: TCP/IP Lab

Page 7: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Supplementary (cont.)Supplementary (cont.)

� M. Dye, R. McDonald, and A. Rufi, Network Fundamentals, CCNA Exploration Companion Guide

� ����� ��������� � ��� � �� ������ ���� (2554) ������������������ (Computer Networks)�!�������� ��"�

� #������ �$%��� (&'(�)�) (2549) �����*�����(��'���������������������� (Data Communication Networking), �!�������� "+�)

���� "� ������, (&'(�)�) (2545) Computer Networks : ���������

1-7

©2012 Chakchai So-InCS 322 766Khon Kaen University

� ���� "� ������, (&'(�)�) (2545) Computer Networks : ������������������ �!�������� ����� ��� ��+��'����*� ���-�.����

� ���� "� ������, (&'(�)�) /����'�� CCNA1/Cisco Networking Academy Program CCNA1 �!�������� ����� ��� ��+��'����*� ���-�.����

� ���� "� ������, (&'(�)�) /����'�� CCNA2/Cisco Networking Academy Program CCNA1 �!�������� ����� ��� ��+��'����*� ���-�.����

Page 8: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

GradingGrading� Mid-Term Exam (Lecture+Lab) 22.5%+2.5%

� Final Exam (Lecture+Lab) + CCNA Module I exam 27.5%+2.5%

� Homework + Lab + Quiz + Class participation 25%+2.5%

� Small Project 2.5%+2.5% (grading individually)

� Term Project 20%+5% (grading individually)Extra Credits

� Students who pass CCNA exam (with CCNA certification) will be granted 10% additional of total grade. (Students can request 50% discount voucher after completing all exams)

� Extra Credits +2.5% to 5% 1st round competition; +5% to 10% Final round competition; Published Paper/NSC/Cisco Netrider/CCNA or CCNP or CCIE Certification/Imagine Cup/Samart etc. **>1% for taking a Cisco Netrider

� Time Management

� ~ 12 Hrs/week/person on projects + 9 Hrs/week/person on class

Page 9: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Homework and LabHomework and Lab

� #Homework: 6 to 7 throughout the semester (Chapter Exam)

� =30 to 45 mins before lab class (only cisco.netacad web)

� Only allow 1 A4-page (hand-written)

� #Lab 8 to 11 throughout the semester (Packet Tracer or Real)

� In-Class Lab (due in class)

� SOFTCOPY (.doc+packet tracer) (during class)

1-9

©2012 Chakchai So-InCS 322 766Khon Kaen University

� SOFTCOPY (.doc+packet tracer) (during class)

� Email to [email protected] including title prefix = "322222_Fall2012_XX:LabY" such that XX is your section number and Y is your lab number.

Page 10: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Homework/Lab SubmissionHomework/Lab Submission

� Each homework/lab submission

/******************322 222: Network I

Name/Last Name: ………………………………

Student ID: ……………………………………….

Section No: ……………………………………….

Date: ……………………………………………….

1-10

©2012 Chakchai So-InCS 322 766Khon Kaen University

Date: ……………………………………………….

I have worked with other students listed below WITHOUT copying word by word! all penalties will be concurred otherwise

……………………………………………..…………………

*******************/→http://web.kku.ac.th/chakso/cover.pdf

� Homework/Lab WILL NOT be credits without this part!

Page 11: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

ExamsExams

� 2 exams (Midterm and Final) Lecture

� 2 exams (Midterm and Final) Lab

� 1 exams (Cisco Module Final Exam)

� Allow: calculator (talks to the department for specific models)

� The final exam material will be after the mid-term; however, all related contents will be also covered.

1-11

©2012 Chakchai So-InCS 322 766Khon Kaen University

related contents will be also covered.

� Each exam includes

� True/False (+1, -1, and 0)

� Numerical and Analysis

� Fill in the blank

� The final grade will be curved based on the overall performance of the whole class (also scale based on the standard, say, A ≥ 80)

Page 12: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Academic IntegrityAcademic Integrity

� Cheating: (not limited to)

� Submission of work that is not the student's own for papers, assignments or exams.

� Submission or use of falsified data.

� Theft of or unauthorized access to an exam.

� Use of unauthorized material including textbooks, notes or

1-12

©2012 Chakchai So-InCS 322 766Khon Kaen University

Use of unauthorized material including textbooks, notes or computer programs in the preparation of an assignment or during an examination.

� Supplying or communicating in any way unauthorized information to another student for the preparation of an assignment or during an examination.

Ref: [http://www.cmu.edu/policies/documents/Cheating.html]

Page 13: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Academic Integrity (cont.)Academic Integrity (cont.)

� Collaboration in the preparation of an assignment. Unless specifically permitted or required by the instructor, collaboration will usually be viewed by the university as cheating.

� Submission of the same work for credit in two courses without obtaining the permission of the instructors beforehand.

1-13

©2012 Chakchai So-InCS 322 766Khon Kaen University

beforehand.

� Plagiarism includes, but is not limited to, failure to INDICATE the source with quotation marks or footnotes where appropriate if any of the following are reproduced in the work submitted by a student:

� A phrase, written or musical; A graphic element; A proof; Specific language; An idea derived of another person.

Page 14: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Tentative Schedule (Subject to Change)Tentative Schedule (Subject to Change)Class Day Date Topic

1 Monday 10/22/2012 Course Overview

2 Monday 10/29/2012 Living in a Network Centric World

3 Monday 11/05/2012 (Cont.)

4 Monday 11/12/2012 Communicating over the Network

5 Monday 11/19/2012 Application Layer Functionality and

Protocols + Encouragement + ProjectProtocols + Encouragement + Project

Topic Selection

6 Monday 11/26/2012 OSI Transport Layer

7 Monday 12/03/2012 Proposal Project Presentation + Paper

Selection + Dhamma #1 + Dhamma #2 + Dhamma #3

8 Monday 12/10/2012 OSI Network Layer

9 Monday 12/17/2012 Review for Midterm

10 Monday 12/24/2012 Mid-Term Exam (week 12/24-12/28)

For Section I; date+2 say Monday 10/22 = Wednesday 10/24

Page 15: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Tentative Schedule (Cont.)Tentative Schedule (Cont.)Class Day Date Topic

11 Monday 12/31/2012 2012 New Year (no class)

12 Monday 01/07/2013 Addressing the Network - IPv4

13 Monday 01/14/2013 OSI Data Link Layer

14 Monday 01/21/2013 OSI Physical Layer + Small Project

Submission

15 Monday 01/28/2013 Ethernet

1-15

©2012 Chakchai So-InCS 322 766Khon Kaen University

15 Monday 01/28/2013 Ethernet

16 Monday 02/04/2013 Planning and Cabling Networks +

Configuring and Testing Your Network +

Review for Midterm + Final Project

Presentation/Demo

17 Monday 02/11/2013 Final Exam (week 02/11-02/16) +

Final Module Exam

Page 16: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

ProjectProject

� ONLY hands-on projects on topic of your choice (8-10 students)

� The final outcome MUST be something VISUAL –working and running –.

� Worth for National Software Contest, Microsoft Imagine Cup, Samart Innovation submission (NSC, Samart, MS Imagine Cup)

Both Coding and Final Report Submission +PPT+Poster� Both Coding and Final Report Submission +PPT+Poster

� There is about 20 mins for story board and 30 mins for final presentation and/or demo.

� Project Ideas:

� Ideas at Stanford.edu; Ideas at Berkeley.edu; Ideas at MIT.edu; Ideas at DotCrime; Ideas at Sunysb.edu; Ideas at Berkeley.edu; Ideas at Udel.edu; Ideas at Fsu.edu; Ideas at Upenn.edu

� *Think if you can use this project for your senior project.

Page 17: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Project Ideas (Cont.)Project Ideas (Cont.)

� Future Internet or Next Generation Internet, High Speed TCP, Voice over IP, Video (MPEG) over IP transmission, Intrusion Detection/Protection System (IDS/IPS), Advanced Peer-to-Peer Network, Distributed Grid Cloud Computing, Network Virtualization, Network Simulation/Emulator/Testbed, Pervasive computing, Delay-tolerant and opportunistic networking, Internet of Things, Internet Neutrality, Green Networking and

1-17

©2012 Chakchai So-InCS 322 766Khon Kaen University

of Things, Internet Neutrality, Green Networking and Communication, QoS over Datanetwork, Datacenter Networks, Optical Networking, Network Monitoring and Management, 100 Gigabit Ethernet, Web Services Architecture, Survivability Networking, Beyond Web 2.0, Semantic Web and Ontologies, SAN+NAS, Social Computing and Networking, Future Internet Routing, Self-Organizing Networks and Networked Systems, Network Resilience by Multi-Homing

Page 18: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Project Topics: ExampleProject Topics: Example

� ���"���0)����"�������� TCP 0� Simulator

� -�0�� ����������� -��1�( Socket Programming

� ��001/(0�����-"����" &�������"�� ��+�

� -)������!���*���������*��0� ����"!���������������� -�� Linux

� ��00������&'(�'���� / ��00�23������ "����

1-18

©2012 Chakchai So-InCS 322 766Khon Kaen University

��00������&'(�'���� ��00�23������ "����

� �����(���00#!���� 3 ���� -��1�( Kinect

� ��00�0� �������%����)������ "��.�� &���-"����" ���4��� � ���00)5�0��������� �6 ��(����0��������41��������/�#�����#'�-#�-��-"

�������� ��

� ��00��#��0�23���������*������������ �6 &����7�0 �/-�0�� ���" ����

� ��000��/�����1/(0����� 0�-)�-���� TCP/IP �(� WWW

Page 19: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Small Project Small Project

� Paper (Recent Journal >2007) translation (computer and network security) (Don't Submit the paper only after google translator) Examples: (ieeexplore.ieee.org OR www.sciencedirect.com = Search "computer network survey") OR (7-15 pp.)

� A survey of the research on future internet architectures

� Loci of competition for future internet architectures

Biological principles for future internet architecture design

1-19

©2012 Chakchai So-InCS 322 766Khon Kaen University

� Biological principles for future internet architecture design

� Enabling future internet research: the FEDERICA case

� PEARL: a programmable virtual router platform

� Toward decentralized probabilistic management

� Network resilience: a systematic approach

� A survey of virtual LAN usage in campus networks

� Toward fine-grained traffic classification

Page 20: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Small Project (Cont.)Small Project (Cont.)

� Network Setup = Video Set up Presentation + show setup to TA

� 1. set up a group homepage (php web.kku.ac.th) voting

-Each Student ID/Name/email and Member pictures

-put hw0 (list of papers/lab) on the homepage

� 2. set up vmware/virtualbox

-set up web/telnet/ssh server and set up php/mysql

1-20

©2012 Chakchai So-InCS 322 766Khon Kaen University

-set up web/telnet/ssh server and set up php/mysql

-put (1) in this server

� 3. set up vmware/virtualbox

-set up wireshark/tcpdump to capture packets when telnet/www

� 4. set up port/host scanning tools (kku.ac.th)

� 5. use nslookup/ping/trace/route/netstat/ other networking commands

� 6. write a simple hello world program over network (mobile)

Page 21: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Project ScheduleProject Schedule

Class Date/Topic

#1 11/19/2012

Project Topic Selection+5 mins Presentation (what is it?)

#2 12/03/2012

1. Outline Due+20 mins Presentation (story board -theory/objective/limitation/use case/activity diagram/..etc.) theory/objective/limitation/use case/activity diagram/..etc.) Click here for detail (page 33)

2. Paper Selection (Translation)

#3 01/21/2013

1. Small Project Submission (Translation + Network Setup)

#4 02/04/2013

Final Submission Click here for detail (page 36)+30 mins Presentation/Demo + Poster + Video Setup/Installation

Page 22: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Thank you and Question?Thank you and Question?

1-22

©2012 Chakchai So-InCS 322 766Khon Kaen University

Page 23: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Homework Homework 0 0 ((2 2 week due)week due)

1) Mail a list below to [email protected], (by 2 days)Subject = 322222_Fall2012_XX:HW0

Name:Email (including your gmail also):Tel:Student ID:

Research/Academic Advisor (if applicable):Research/Academic Advisor (if applicable):Research/Project Interest:What do you want to do after graduation?

Aim for Master/Ph.D.: Yes/No

Join Facebook Group Yet? Yes/No

By submitting Homework 0 and entering this class, the student has accepted all rules abiding by Chakchai So-In as a lecturer without exception. Yes/No

2) Successfully login to http://cisco.netacad.net

Page 24: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Homework Homework 0 0 (cont.)(cont.)

3) How much point have you got for Quiz0?...................

4) Submit 6 to 7 students group name/ID and a list of members

- StudentID SecNo. Name LastName Email

- StudentID SecNo. Name LastName Email

- ….

5) List of 5 Computer or Network application/tools (at least 3

1-24

©2012 Chakchai So-InCS 322 766Khon Kaen University

5) List of 5 Computer or Network application/tools (at least 3 opensource)

- Title =

- Description = What/Platform/Language/How to use/…

- Opensource = Yes/No

- Website (Reference) =

Page 25: CS CS 322 222 322 222 Network I · CS CS 322 222 322 222 Network I 1-1 Khon Kaen University CS 322 766 ©2012 Chakchai So-In Chakchai So-In, Ph.D. Department of Computer Science Faculty

Homework Homework 0 0 (cont.)(cont.)

6) List of 5 Computer/Network Lab (University): Websites

7) List of 5 English conference paper/journal relating to Computer/Network (within 5 years old)

-Authors, “Title,” Publication/Conference Name, Pages, Year

8) List of 5 Thai conference paper/journal relating to Computer/Network (within 5 years old)

1-25

©2012 Chakchai So-InCS 322 766Khon Kaen University

-Authors, “Title,” Publication/Conference Name, Pages, Year