Basic Computer Networking Unit 2. 2 Computer Networks A computer network is a system for...

36
Basic Computer Networking Unit 2

Transcript of Basic Computer Networking Unit 2. 2 Computer Networks A computer network is a system for...

Page 1: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Basic Computer Networking

Unit 2

Page 2: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

2

Computer Networks• A computer network is a system for communicating between

two or more computers and associated devices. It is an interconnection of computers for the purposes of sharing information and resources.

• A popular example of a computer network is the internet, which allows millions of users to share information

• Computer networks can be classified according to their size:– Personal area network (PAN )

– Local area network (LAN)

– Metropolitan area network (MAN)

– Wide area network (WAN)

Page 3: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

3

Router

An example of a network

Internet

Segment Node

Hub

Hub

Bridge

Page 4: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Bandwidth

Bytes measured in bits (not bytes) per seconds

Kbps (Kilobits per seconds) 125 chars/sec

Mbps (Megabits per seconds) 1,250 chars/sec

Gbps (Gigabits per seconds) 12,500 chars/sec

Page 5: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Connecting to the Internet

Requirement A computer or PDA or cell phone An account with an ISP (Internet Service Provider) A modem (modulator/demodulator) for dial-up

services or a NIC (Network Interface Card) for DSL/Cable services

Page 6: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Home Network (single machine)

USB/Ethernet Cable

DSL/Cable Modem

Wall Jack

Page 7: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Home Network (multiple machines)

USB/Ethernet Cable

DSL/Cable Modem

Wall Jack

Hub/Switch/Router

Page 8: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Home Network (multiple machines)

Ethernet Cable

DSL/Cable Modem

Wall Jack

Hub/Switch/Router

Page 9: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Home Wireless Network

Ethernet Cable

DSL/Cable Modem

Wall Jack

Hub/Switch/Router

Page 10: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

LAN (Local Area Network) A network of computers that are in the same

physical location, such as home or building Usually connected using Ethernet, a standard

on how computers communicate over a shared media (cable)

http://en.wikipedia.org/wiki/Image:Ethernet_RJ45_connector_p1160054.jpghttp://en.wikipedia.org/wiki/Image:BNC_connector.jpg

Old: BNC connector for coaxial cable New: RJ45 for twisted pair cable

Page 11: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

LAN (Local Area Network) Ethernet Standard

10BaseT 10Mbps (Mega bits per second)

100BaseT 100Mbps

1000BaseT 1000Mbps or 1Gbps

Page 12: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

12

LAN basics LAN’s can be either wired or wireless. Twisted pair,

coax or fiber optic cable can be used in wired LAN’s Nodes in a LAN are linked together with a certain

topology . These topologies include: Bus Ring Star Branching tree

Page 13: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

13

LAN basics A node is defined to be any device connected to the network.

This could be a computer, a printer, a router, etc. A Hub is a networking device that connects multiple segments of

the network together A Network Interface Card (NIC) is the circuit board that has the

networking logic implemented, and provides a plug for the cable into the computer (unless wireless). In most cases, this is an Ethernet card inserted in a slot of the computer’s motherboard

The Network Operating System (NOS) is the software (typically part of the operating system kernel) that communicates with the NIC, and enables users to share files and hardware and communicate with other computers. Examples of NOS include: Windows XP, Windows NT, Sun Solaris, Linux, etc..

Page 14: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

14

Network Topologies

Bus Topology Each node is connected one after the other (like Christmas

lights) Nodes communicate with each other along the same path

called the backbone

Page 15: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

15

Ring Topology The ring network is like a bus network , but the “end” of the

network is connected to the first node Nodes in the network use tokens to communicate with each

other

Backbone

Page 16: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

16

A Ring in action – data is available to all work stations

Page 17: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

17

Star Topology Each node is connected to a device in the center of the

network called a Hub. The hub simply passes the signal arriving from any node to the other nodes in the network

The hub does not route the data

Hub

Page 18: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

18

Branching Tree Topology

Page 19: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

WLAN (Wireless LAN)

Wi-Fi (Wireless Fidelity) A wireless technology that connects computers without

cables Access Point (AP)

A device (base station) that connects wireless devices together

Usually connected to a wired-network ESSID (Extended Service Set ID)

A “name” for the AP, eg. mobilenet Hotspot

The area covered by wireless access points

Page 20: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

WLAN (Wireless LAN)

Standard 802.11b - 11Mbps 802.11g - 54Mbps 802.11a - 54Mbps

Security WEPA (Wired Equivalen Privacy) WPA (Wi-Fi Protected Access) To prevent wardriving

2.4G

5G

Page 21: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Dial-up Services

Modem Modulator/demodulator

A device that converts analog signal to digital (modulation) and vice versa (demodulation)

Speed 1200/2400/9600 bps 14.4/28.8/33.6 Kbps 56 Kbps

Page 22: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Dial-up Services

Dial-Up Integrated Services Digital Network

2 data channel (56K each) 1 voice channel

Page 23: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Broadband Services

Broadband (Digital Subscriber Line) A technology that provides digital data transmission over

unused frequencies on traditional telephone lines For example, ADSL (Asymmetric DSL): DL > UL Speed

Downlink 128Kbps - 4Mbps

Uplink 64Kbps - 800Kbps

Need a DSL modem Splitters are needed to separate the voice and data

signal

Page 24: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Broadband Services

Cable A technology that provides digital data transmission over cable

TV infrastructure Speed

Downlink 128Kbps - 3~5Mbps

Uplink 64Kbps - 128Kbps~1Mbps

Need a cable modem

Page 25: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Broadband Services

Satellite A technology that provide digital data transmission over

satellites Speed

Downlink 500Kbps - 1Mbps

Uplink 50Kbps - 100Kbps

Need a satellite dish

Page 26: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

WAN (Wide Area Network)

A WAN spans a large geographic area, such as connections between cities

Usually connected using leased line T1 (1.5Mbps) T3 (45Mbps) OC3 (155Mbps) OC12 (622Mbps) OC48 (2.4Gbps) Fiber optic lines

Telecommunication lines

Page 27: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Hub/Switch/Router

To connect multiple segments of networks into a larger one

Hub A multiport repeater to enhance signal within the

same LAN Switch

Like hub but with intelligent Better performance

Router Forward packets from one LAN to another

Page 28: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Intranet vs. Internet

Intranet A private network that is contained within an

enterprise Could be LANs and WANs

Internet A public network of networks

Both are using TCP/IP

Page 29: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

TCP/IP

A family of protocols that makes the Internet work

The Robustness Principle “Be liberal in what you accept, and conservative in

what you send” - Jon Postel

Page 30: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

TCP/IP (cont)

Application Layer

Eg. WWW, FTP, IRC, Email, telnet, …

Transport Layer

Eg. TCP, UDP

Network Layer

Eg. IP

Link Layer

Eg. Ethernet, WiFi

Physical Layer

Eg. Ethernet Cable, fiber-optics

Segments

Packets

Frames

Bits

Data

Page 31: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Packets A small chunk of data transmitted over the

Internet

Alice

The Internet

The Internet

Bob

Page 32: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

VPN (Virtual Private Network) A secure tunnel to a private network through

a public network Once established, local node appears to be a

node in the private network in a secure manner

Page 33: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Host & IP Address

Correction from the book:“A host is a computer connected directly to the

Internet”

“You home computer is not a host” Each host needs an IP address IP address

A 32-bit number, arranged in 4 numbers seperated by “.”

Eg. 74.125.19.147

Page 34: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

DNS (Domain Name System)

Domain name to IP address conversion Eg. www.google.com → ??.???.??.??

Domain name or IP address lookup http://cqcounter.com/whois/

Page 35: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Top-level Domains

gTLDs (generic TLDs) .com, .edu, .net, .org, .gov, .mil .aero, .biz, .coop, .info, .museum, .name, .pro

ccTLDs (country code TLDs) .au, .ca, .br, .de, .fi, .fr, .jp, .hk, .cn, .tw, .my, … .us

Page 36: Basic Computer Networking Unit 2. 2  Computer Networks A computer network is a system for communicating between two or more computers and associated.

Second-level Domains

Domains that are directly below a TLD Eg.

ucr.edu google.com sony.co.jp

Must apply to a registrar for the appropriate TLD