Top Banner
Networking
56

Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Mar 30, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Networking

Page 2: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

What is a Network? A group of Computers and devices

connected together for the purpose of sharing resources and services.

It may be as simple as two computers or as complex as the Internet.

Page 3: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

3

Why Networking?Why Networking?• Sharing information — eg. data communication

• Do you prefer these?

• Or this?

Page 4: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

4

• Sharing hardware or software

• Centralize administration and support

• eg. print document

• eg. Internet-based, so everyone can access the same administrative or support application from their PCs

Page 5: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

What is a LAN? Local Area Network A group of computers in a single location Limited by no. of computers and distance covered Example: Our school network

Page 6: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

What is a WAN? Wide Area Network Two or more LANs connected together using a telecommunication service Example: NYC Dept. of Education

Page 7: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

7

• Example of WAN: Broadband Cable Network

• Cable TV services have been extensively developed in most modern cities

• Cable TV companies try to make use of their coaxial cable installed (that are supposed to carry TV signals) to deliver broadband data services

• Many cable network wiring has been replaced with hybrid fiber-coax (HFC) ― i.e. use of fiber-optic cable to connect to the subscribers’ buildings, and then the original coaxial cable to connect to each household

Page 8: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

8

The connection is shared by a number of subscribers, hence may raise performance and security problems

Fiber-optic cable

Cable companyCoaxial Cable

TV

PC

Cable Drop

Page 9: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

What is a WLAN Wireless LAN This is a LAN that uses Radio Frequency

technology to allow for communication among computers and devices

Example: wireless home network

Page 10: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Role of Computers in a Network Client- computer or device that specializes in

knowing how to ask for services in a network. Example: Workstation in a network

Server- Computer or device that specializes in knowing how to provide services in network. Example: Print Server in a network

Peer- Computer or device that may be able to be both a server or a client at the same time. Example: Workstation in a simple network (peer-to-peer network …. P2P Network)

Page 11: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

11

How many kinds of How many kinds of Networks?Networks?

• We can classify networks in different ways

• Based on network medium: Wired (twisted pair, coaxial cables, fiber-optic cables) and Wireless

• Based on network size: LAN and WAN

• Based on management method: Peer-to-peer and Client/Server

• Based on topology (connectivity): Bus, Star, Ring, Mesh

Page 12: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

What is the Network Medium?

Cabled/Wired STP – shielded twisted pair UTP – unshielded twisted pair(cat 5, 5E, 6, 7) Coaxial Fiber Optic (single mode, Multi mode)

Page 13: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Wireless Microwave - Microwaves are electromagnetic waves

with wavelengths ranging from as long as one meter to as short as one millimeter

Infrared - Infrared radiation (IR) is electromagnetic radiation with a wavelength between 0.7 and 300 micrometers

Radio - Radio waves transmit music, conversations, pictures and data invisibly through the air, often over millions of miles - wavelengths in the electromagnetic spectrum longer than infrared light

Page 14: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

14

If the pair of wires are not twisted, electromagnetic noises from, e.g., motors, will affect the closer wire more than the further one, thereby causing errors

Twisted-Pair CablesTwisted-Pair Cables

Page 15: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

15

Unshielded Twisted-Pair (UTP)

Typically wrapped inside a plastic cover (for mechanical protection)

A sample UTP cable with 5 unshielded twisted pairs of wires

MetalInsulator

Page 16: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

16

Categories of UTP CablesUTP cables are classified according to the quality: Category 1 ― the lowest quality, only good for voice, mainly found in

very old buildings, not recommended now Category 2 ― good for voice and low data rates (up to 4Mbps for low-

speed token ring networks) Category 3 ― at least 3 twists per foot, for up to 10 Mbps (common in

phone networks in residential buildings) Category 4 ― up to 16 Mbps (mainly for token rings) Category 5 (or 5e) ― up to 100 Mbps (common for networks targeted for

high-speed data communications) Category 6 ― more twists than Cat 5, up to 1 Gbps

Page 17: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

17

Shielded Twisted-Pair (STP) STP cables are similar to UTP cables, except

there is a metal foil or braided-metal-mesh cover that encases each pair of insulated wires

Page 18: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

18

Coaxial CablesIn general, coaxial cables, or coax, carry signals of

higher frequency than UTP cablesOuter metallic wrapping serves both as a shield

against noise and as the second conductor that completes the circuit

Page 19: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

19

Fiber-Optic CablesLight travels at 3108 ms-1 in free space and is the

fastest possible speed in the UniverseAn optical fiber consists of a core (denser material)

and a cladding (less dense material)Simplest one is a multimode step-index optical fiberMultimode = multiple paths, step-index = refractive

index follows a step-function profile (i.e. an abrupt change of refractive index between the core and the cladding)

Common light sources: LEDs and lasers

Page 20: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Network Types Peer to peer

Client/server

Page 21: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Advantages of Peer-to-Peer Easy to install and configure

Most Client OS already have the components required to set the computer as part of a peer to peer network

Individual machines do not depend on the presence of a dedicated server

Individual users control their own shared resources Inexpensive to purchase and operate Need no additional equipment or software beyond a

suitable operating system. Best for networks with less than 10 users

Page 22: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Disadvantages of Peer-to-Peer

Security applies to a single resource at a time Users may be required to use as many passwords

as there are shared resources. Each machine must be backed up individually to

protect all shared data. The machine that shares resources suffers

reduced performance There is no centralized organizational scheme to

locate or control access to data

Page 23: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Advantages of Client/Server Centralized User Accounts, Security, and access

controls simplify network administration More powerful equipment means more efficient

access to network resources A single password for network logon delivers

access to all resources Server based networking makes the most sense

for networks with 10 or more users or any network where resources are used heavily.

Page 24: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Disadvantages of Client/Server Server failure renders the network

unusable, or it results in loss of network resources.

Special purpose server software requires allocation of expert staff, which increases expenses.

Dedicate hardware and software add to the cost.

Page 25: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

What are ProtocolsSet of rules that allow computer to communicate with each other

Page 26: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Network Protocols TCP/IP (Transmission Control Protocol/

Internet Protocol) Nwlink or IPX/SPX NetBEUI

Page 27: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Network Software NOS (Network Operating System)

Windows Server 2008 Windows 2003 Server Novell Netware 6.5 Unix Linux

Page 28: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Network ServicesThe reason for setting up a network in the first place: File and Print DHCP (Dynamic Host Configuration Protocol) DNS (Domain Naming Service) Security E-mail Application or Database Web / Proxy Mail/FTP/IM/Chat RAS (Remote Access Service)

Page 29: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

What are Topologies?The physical shape computers and devices create

when connected together

The different topologies are: BUS STAR RING MESH HYBRIDS

Page 30: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Bus (not commonly found in LANs anymore) Needs termination Adding devices

disrupts the network Cable failure hard to

find

Page 31: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

31

Bus Topology

BNC T-Connector

Coaxial cable

Network Card

Page 32: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Star (Most common topology) Requires a

hub/switch Easy to troubleshoot Requires more

wiring

Page 33: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Star Topology

Page 34: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Topologies Ring

No beginning and no end Uses token passing

to communicate

Mesh All computers are

connected to each other More Fault tolerant

Page 35: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Variation of Major Topologies(Hybrids)

Star-Bus Backbone interconnect two

or more hubs

Star-Ring Physical Star, but logical ring The way the IBM token ring Works.

Page 36: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

What are Networking Models?

A model describes the different stages data needs to go through in order to go from one computer to another.

When you send an e-mail how does it reach the destination?

Examples are TCP/IP and the OSI models

Page 37: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

OSI Networking Model 7 Layers

Application Presentation Session Transport Network Data link Physical

Page 38: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

TCPI/IP Networking model 4 layers

Application Layer Transport Internet Layer Network Interface Layer

Page 39: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Networking standards

IEEE 802.x Standards 802.3 Ethernet Networks 802.11 Wireless Networks

11a, 11b, 11g, 11n

Page 40: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Bluetooth an alternative wireless network technology

standard supports a very short range (approximately

10 meters) relatively low bandwidth (1-3 Mbps)

Page 41: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Computer/device ID/AddressingEvery computer or device which is part of a network includes a network card.Every network card needs to have:

Physical address (MAC address) Logical address (IP address)

Page 42: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

MAC address Media Access Control address a unique identifier assigned to most

network adapters or NIC by the manufacturer for identification

a series of 6 groups of two digits, letters and numbers, separated by dashes Example: 00-1E-4F-A0-61-69

Page 43: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

IP Addressing Supports 4.3 billion addresses 32 bit address (Dotted decimal) 4 numbers (0 to 255) separated by dots The addresses are divided into Class

A, B, C, D, E according to network size.

Page 44: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Subnet MaskThe subnet mask is used to identify the network address. The sending computer needs to know this in order to decide whether the packet is meant for the local network or for another network.

Page 45: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Default Subnet masks are:

Class A 255.0.0.0Class B 255.255.0.0Class C 255.255.255.0

Page 46: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Private vs. Public Addresses.

Private addresses are only valid in a private network

Public are valid in the Internet Ex. Private address. 10.0.0.0/8 ,

172.16.0.0 to 172.31.0.0, and 192.168.0.0/24

Page 47: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

IP addressing

Network Class Number of Hosts

Class A approximately 16,000,000

Class B approximately 65,000

Class C 254

Page 48: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

IP address Class A Class A addresses range from 1.0.0.0 to 126.0.0.0 The Class A range has the possibility of 126

networks Each network has the capability of 16,777,214

unique hosts The default subnet mask is 255.0.0.0

Page 49: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

IP address Class B Class B addresses range from 128.0.0.0 to

191.255.0.0 The Class B range has the possibility of

16,384 networks Each network has the capability of 65,534

unique hosts The default subnet mask is 255.255.0.0

Page 50: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

IP address Class C Class C addresses range from 192.0.1.0 to

223.255.255.0 The Class C range has the possibility of

2,097,152 networks Each network has the capability of 254

unique hosts The default subnet mask is 255.255.255.0

Page 51: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

IP Address Class D Class D addresses are used for multicasting

to a number of different hosts. Class D addresses range from 224.0.0.0 to

239.255.255.255 Has the potential for 268,435,456 unique

multicast groups.

Page 52: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

IP address Class E Class E is an experimental address block

that is reserved for future use Class E addresses range from 240.0.0.0 to

254.255.255.255

Page 53: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Communication types Unicast (One to one) Broadcast (One to all) Multicast (One to a group)

Page 54: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

TCP/IP Protocols Application layer

Telnet, FTP, HTTP, SMTP DHCP, DNS, TFTP, SNMP

Transport Layer TCP, UDP

Internet Layer ICMP, ARP, RARP, IP

Page 55: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Binary to decimal conversion

Binary= 01001011 This is equivalent to Decimal=64+8+2+1=75

128 64 32 16 8 4 2 1

0 1 0 0 1 0 1 1

Page 56: Networking. What is a Network? A group of Computers and devices connected together for the purpose of sharing resources and services. It may be as simple.

Binary ConversionBinary Decimal

_____________________________________10000000 12811000000 19211100000 22411110000 24011111000 24811111100 25211111110 25411111111 255