Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other?...

20
Agenda • Last class: Digitization • Today: Network Hardware – How do computers talk to each other? – Needs? • Same hardware • Same rules (protocols) for encoding data • Typing

Transcript of Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other?...

Page 1: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Agenda

• Last class: Digitization

• Today: Network Hardware– How do computers talk to each other?– Needs?

• Same hardware• Same rules (protocols) for encoding data

• Typing

Page 2: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Hardware

Network Cable

How to connect

2 computers?

4 computers?

Page 3: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Client-ServerNetwork

One computer is the “server”

- stores important files, data

Other computers are “clients”

- asks the server to use its files

Page 4: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Client-ServerANALOGY

Server is like a waiter

Clients are like customers

- asks the server for food

- not allowed into the kitchen

Page 5: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Peer to PeerNetwork

All computers have equal access to others.

Good for sharing.

Page 6: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Peer to PeerNetwork

Another way to connect the computers

Page 7: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Hello!Hello

!Bye!

Bye!

Peer to PeerNetwork

Router

3 computers1 internet connection

To Internet

Page 8: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Peer to Peer vs Client-ServerPros and Cons

Client-Server

++ Pros?

-- Cons?

Peer to Peer

++ Pros?

-- Cons?

Page 9: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Peer to Peer vs Client-ServerPros and Cons

Client-Server

-- Broken server = Broken network

-- Need a fast server

+ More security

+ Easier to configure many computers

P2P

+ More independent

+ File sharing

+ No wait time for server

-- Low security

-- Share internet connection (slow)

Page 10: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

LAN and WAN

LAN = Local Area Network

(eg: home, personal use)

WAN = Wide Area Network

(eg: school, apartment,for internet)

Page 11: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Internet Connection

RouterWIFIBluetooth

ModemCableDSLSatellite

InternetServiceProvider

(ISP)

Page 12: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Modem

• use phone line to send– Slow: 56 kbps (56 kilo bits per second)

• “Bandwidth”

– Cheap– Dial for connection– Can’t use phone at the same time

Page 13: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Digital Subscriber Line

• DSL = Digital Subscriber Line– Faster 10 Mbps– Expensive ~900 rmb per month– Uses phone lines too, but always online– Can talk on phone at the same time– Problem: need to be near the phone company

Page 14: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Cable

• Cable– Faster! 50 Mbps– Cheaper than DSL– Use cable TV connection, always on– Can be far from the cable company– Problems:

• shared connection – slow during peak hours• Low security

Page 15: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Other connections

• T1 line– For government, university, big business– $$$$$$$$$$$$$$$$$$$, but very fast

• Satellite– For people living away from the city– $$$ to set up

Page 16: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Internet Connection

Router

Cable – faster, $$, TVSatellite – away from city

InternetServiceProvider

(ISP)

Modem – slow, $, phoneDSL – fast, $$$, phone at same time

Page 17: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Network History

• 1973: U of California and Stanford wanted to connect their networks. Made TCP/IP– Military and Research use only

• 1989: Connect to the world.

• China connected in 1994 – why so slow?

Page 18: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Internet in China• Government wants control

– Growth – not too fast• Only give Internet to “good” people. Need license.

– Information – don’t let bad info spread• Censorship

• Block websites (“Great Firewall of China”)– News, politics, foreign sites. Some good, some bad.– Internet police – delete messages of activism, criticism, controversy

– Money – government wants it, and they know Internet is good for business… so

• “Good” companies get the best opportunities

Page 19: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Internet in China

• Government wants control– If you try to do something bad

• The Firewall will try to stop you first(Block site, delete email / messages)

• Go to Jail• Die

Page 20: Agenda Last class: Digitization Today: Network Hardware –How do computers talk to each other? –Needs? Same hardware Same rules (protocols) for encoding.

Wednesday

• Quiz about networking