+ All Categories
Home > Documents > 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

Date post: 25-Dec-2015
Category:
Upload: leon-newton
View: 217 times
Download: 0 times
Share this document with a friend
21
1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu
Transcript
Page 1: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

1

Computer Networksand Internets

Spring 2005

Assistant Professor JainShing Liu

Page 2: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

2

NetworksNetworks

What is a network? electric net, telephone net, computer net

Network architecturesNetwork payload (voice net, data network)Network protocolsCircuit-switching vs. packet switching

Page 3: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

3

NetworksNetworks

Telephone net

EndOffice

PBX

Ext. 200

555-6089 (10 lines)

555-6201

555EndOffice

400-1547 400-2016

400

EndOffice

900

tandemswitchtandem

switchCarrier network

trunk

twist pair

Page 4: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

4

NetworksNetworks

Computer net

LAN

Page 5: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

5

You Will LearnYou Will Learn

Using and Building Internet Applications

(Part I)Motivation and toolsNetwork programming and Applications

Page 6: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

6

You Will Learn (ctn.)You Will Learn (ctn.)

Data Transmission (Part II)Transmission mediaLocal asynchronous communication (RS-232)Long-Distance communication

Page 7: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

7

You Will Learn (ctn.)You Will Learn (ctn.)Packet Transmission (Part III)

Packet, frames, and error detectionLAN technologiesWAN technologiesProtocols and layering

Page 8: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

8

You Will Learn (ctn.)You Will Learn (ctn.)Internetworking (Part IV)

Concepts and ProtocolsInternet Protocol (IP) datagram and ForwardingAddress binding (ARP)Internet control messages (ICMP)User Datagram Protocol (UDP)Transmission Control Protocol (TCP)Network Address Translation (NAT)Internet Routing

Page 9: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

9

You Will Learn (ctn.)You Will Learn (ctn.)

Network applications (Part V)Client-server paradigm, Socket InterfaceDomain name system (DNS)Voice over IP (VoIP)E-mail, File transfer (FTP), Remote login

(TELNET)Email transfer (SMTP)Web technologies and protocolsSNMP

Page 10: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

10

What You Will NOT LearnWhat You Will NOT Learn

Commercial aspectsProductsVendorsPricesNetwork operating systems

How to purchase / configure / operateHow to design / implement protocol software

Page 11: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

11

Ch 1. Introduction

Page 12: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

12

Growth of the InternetGrowth of the Internet

Page 13: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

13

Growth of Computer Networking

Growth of Computer Networking

Computer networks are everywhereAdvertising, shopping, …

An entire industry has emerged that develops networking technologies, products, and services

Produces a strong demand in all jobs for people with more networking expertise

Programmers are expected to design network application software

Page 14: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

14

Ch 2. Motivation and Tools

Page 15: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

15

Motivation for NetworkingMotivation for Networking

Information sharingResource sharing

Computing powerPeripheral devices such as a printer or a diskHuman power

Interaction among cooperative application programs

E.g., earthquake alarm

Page 16: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

16

ConfigurationsConfigurations

IP addressSubnet MaskDefault gatewayDNS server

Internet

Page 17: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

17

Page 18: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

18

Page 19: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

19

Internet

Internet ToolsInternet Tools

Page 20: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

20

Internet ToolsInternet ToolsPing

ping 163.23.1.73 (or ping mail.dyu.edu.tw)

Pinging 163.23.1.73 with 32 bytes of data:Reply from 163.23.1.73: bytes=32 time=2ms TTL=249Reply from 163.23.1.73: bytes=32 time=2ms TTL=249Reply from 163.23.1.73: bytes=32 time=2ms TTL=249Reply from 163.23.1.73: bytes=32 time=1ms TTL=249Ping statistics for 163.23.1.73: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 1ms, Maximum = 2ms, Average = 1ms

Page 21: 1 Computer Networks and Internets Spring 2005 Assistant Professor JainShing Liu.

21

Internet ToolsInternet Tools traceroute (tracert for MS Windows)

tracert www.nctu.edu.tw

Tracing route to mail.dyu.edu.tw [163.23.1.73] over a maximum of30 hops: 1 <1 ms <1 ms <1 ms 2sch-g.pu.edu.tw [140.128.19.254] 2 <1 ms <1 ms <1 ms ssrccc-mgt.pu.edu.tw [140.128.20.254] 3 1 ms <1 ms <1 ms frouter1.pu.edu.tw [140.128.30.253] 4 2 ms 1 ms 1 ms 140.128.251.42 5 2 ms 2 ms 2 ms 140.128.251.33 6 13 ms 12 ms 13 ms 163.23.32.254 7 2 ms 1 ms 2 ms mail.dyu.edu.tw [163.23.1.73]Trace complete.


Recommended