introduction to computer networks - wordpress.com...2015/10/05  · why computer networks?...

40
Introduction to Computer Networks Budditha Hettige

Upload: others

Post on 11-Jul-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Introduction to

Computer Networks

Budditha Hettige

Page 2: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Computer Network ???

• A computer network is an interconnection of a

group of computers and the world of computers

Page 3: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Why Computer Networks?

• Resource Sharing

– Sharing a peripheral device (disk, printer, etc.)

among several users

• Communication

– Email, web, Skype, VOIP

• Security

– Restrict the user access

Page 4: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Network Classification

• By scale

• By connection method

• By functional relationship (Network

Architectures)

• By network topology

• By protocol

Page 5: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Source: http://www.slideshare.net/MukeshChinta/networks-classification

7/11/2015 Budditha Hettige ([email protected]) 5

Page 6: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Classification of a Computer network

by Scale

• Personal Area Network (PAN)

• Local Area Network (LAN)

• Campus Area Network (CAN)

• Metropolitan Area Network (MAN)

• Wide Area Network (WAN).

• Global Area Network(GAN)

Page 7: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

PAN- personal area network

• Is a computer network used for communication

among computer devices (including telephones and

personal digital assistants) close to one person

• Typically a few meters

• Wireless Connections

– Bluetooth

– IR Remote sensers

Page 8: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

LAN- local area network

• A local area network (LAN) is a computer network

covering a small geographic area, like a home,

office, or group of buildings

• Up to 1 KM

• Wireless/ wired

– Ethernet

– Wireless

Page 9: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

MAN- Metropolitan Area Network

• A Metropolitan Area Network is a network that

connects two or more Local Area Networks

• Connections

– Optical fiber

– Telephone

Page 10: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

WAN-Word Area Network

• A WAN is a data communications network that

covers a relatively broad geographic area

Page 11: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Classification of a Computer network

by Connection method

• Optical fiber

• Ethernet

• Wireless LAN

• Home PNA,

• Power line communication

Page 12: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Optical fiber

• A glass or plastic fiber designed to guide light along

its length

Page 13: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Ethernet

• family of frame-based computer networking

technologies for local area networks (LANs)

Page 14: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Wireless LAN

• linking of two or more computers without using wires

Page 15: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Classification of a Computer network

by functional relationship

• Active Networking

• Client-server networking

• Peer-to-peer (workgroup) architectures

Page 16: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Active Networking

• Active networking is a communication pattern that

allows packets flowing through a

telecommunications network to dynamically modify

the operation of the network

Page 17: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Client-server networking

• Client

• Server

• Nodes

Page 18: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Peer-to-peer Network

Page 19: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Client-Server & Peer-to-peer

Page 20: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Classification of a Computer network

by Network Topology

• Bus network topology

• Star network topology

• Ring network topology

• Mesh network topology

• Star-bus network topology

• Tree or Hierarchical topology

Page 21: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Bus network topology

Page 22: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Star Network

Page 23: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Ring Network

Page 24: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Mash Topology

Page 25: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Tree Network Topology

Page 26: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Hardware for Computer Networks

Page 27: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

IP address

• Internet Protocol (IP) address

• IP addresses are usually expressed in four-octet,

dotted-decimal form—w.x.y.z

• octet ranges in value from 0 to 255

• Consist of

– network ID and a host ID

Page 28: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Address

• IP 192.168.1.2

• Subnet:

– 255.255.255.0

Name Sangeetha Silva

Address:

No 23, Panadura

Page 29: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

IP Address classes

IP Address Class Used For

Class A 1 -126 Very large networks

Class B 128-191 Medium to large networks

Class C 192-223 Small networks

Class D 224-239 Multicasting

Class E 240-255 Reserved (experimental)

Page 30: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Private IPv4 network ranges

ANA-reserved private IPv4 network ranges

Start End No. of addresses

24-bit block (/8 prefix, 1 × A)

10.0.0.0 10.255.255.255 16777216

20-bit block (/12 prefix, 16 × B)

172.16.0.0 172.31.255.255 1048576

16-bit block (/16 prefix, 256 × C)

192.168.0.0 192.168.255.255 65536

Page 31: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

IP Address

• IP addresses whose first octet is 127 (127.0.0.0)

represent the loopback address and are used for

troubleshooting purposes only, not for naming hosts

Page 32: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Terms in the Computer Network

Node

• Client

• Sever

– Mail Server

– File Server

– Web Server

– Proxy Server

– DHCP Server

– DNS Server

Page 33: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Web Server

Page 34: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Proxy Server

Page 35: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

DHCP Server

Page 36: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

DNS Server

Page 37: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Lab Activity

• Show Network Settings in your computer

– ipconfig

Page 38: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Lab Activity

• Show other computers that are available in the

network

– net view

Page 39: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Network Configuration

• Acknowledge to other computer using ping

command

– ping <ip address>

Page 40: Introduction to Computer Networks - WordPress.com...2015/10/05  · Why Computer Networks? •Resource Sharing –Sharing a peripheral device (disk, printer, etc.) among several users

Example

• According to your PC configuration identify the following facts.

– IP Address

– Subnet mask

– Gateway

– DNS server

– Identify Other computers in your network

– Identify IP for the following URLs

• www.google.com

• www.ou.ac.lk

7/11/2015 Budditha Hettige ([email protected]) 40