Computer network @prepared by S.Shrestha (comp 251)

31
Computer network @prepared by S.Shrestha (comp 251)

Transcript of Computer network @prepared by S.Shrestha (comp 251)

Page 1: Computer network @prepared by S.Shrestha (comp 251)

Computer network

@prepared by S.Shrestha (comp 251)

Page 2: Computer network @prepared by S.Shrestha (comp 251)

introduction

• Number of computers (and usually terminals (point of connection)) interconnected by one or more transmission paths.

• Transmission path often is the telephone line due to its convenience and universal presence.

@prepared by S.Shrestha (comp 251)

Page 3: Computer network @prepared by S.Shrestha (comp 251)

network

• transfer and exchange of data between the computers and terminals.

@prepared by S.Shrestha (comp 251)

Page 4: Computer network @prepared by S.Shrestha (comp 251)

applications

• day-day transactions at department stores, banks, reservation counters, etc.

@prepared by S.Shrestha (comp 251)

Page 5: Computer network @prepared by S.Shrestha (comp 251)

advantages

• Sharing of resources.• Allows flexible working environment.– Employees can work at home by using terminals

tied through networks into the computer at the office.

@prepared by S.Shrestha (comp 251)

Page 6: Computer network @prepared by S.Shrestha (comp 251)

Computer network

• Collection of autonomous (acting independently) computers interconnected by a single terminology.

• Two computers are said to be interconnected if they are able to exchange information.

• Note:Neither the internet nor the world wide web (distributed system) is a computer network.

@prepared by S.Shrestha (comp 251)

Page 7: Computer network @prepared by S.Shrestha (comp 251)

@prepared by S.Shrestha (comp 251)

Page 8: Computer network @prepared by S.Shrestha (comp 251)

internet

• Internet is not a single network but a network of networks and the web is a single distributed system that runs on top of the internet.

• Internet stands for international networks.• Largest computer network system in the

world.• Global network of computers.

@prepared by S.Shrestha (comp 251)

Page 9: Computer network @prepared by S.Shrestha (comp 251)

@prepared by S.Shrestha (comp 251)

Page 10: Computer network @prepared by S.Shrestha (comp 251)

@prepared by S.Shrestha (comp 251)

Page 11: Computer network @prepared by S.Shrestha (comp 251)

History of internet?????

@prepared by S.Shrestha (comp 251)

Page 12: Computer network @prepared by S.Shrestha (comp 251)

Client server model

@prepared by S.Shrestha (comp 251)

Page 13: Computer network @prepared by S.Shrestha (comp 251)

Description

• One can imagine a company’s information system as consisting of one or more databases and some no of employees who need to access them remotely.

• In this model, the data are stored on powerful computers called servers.

• Servers: often these are centrally housed and maintained by a system administration.

@prepared by S.Shrestha (comp 251)

Page 14: Computer network @prepared by S.Shrestha (comp 251)

Contd…

• In contrast, the employees have simpler machines, called clients on their desks with which they access remote data.

• For example to include in spreadsheets (i.e. computer program allowing manipulation and flexible retrieval of especially tabulated numerical data).

@prepared by S.Shrestha (comp 251)

Page 15: Computer network @prepared by S.Shrestha (comp 251)

Working mechanism

• 2 processes are involved, one on the client machine and one on the server machine.

• Communication takes the form of the client process sending a message over the network to the server process.

• The client process, then waits for a reply meessage.

@prepared by S.Shrestha (comp 251)

Page 16: Computer network @prepared by S.Shrestha (comp 251)

Contd…

• When the server process gets the request, it performs the requested work or looks up the requested data and sends back a reply.

@prepared by S.Shrestha (comp 251)

Page 17: Computer network @prepared by S.Shrestha (comp 251)

@prepared by S.Shrestha (comp 251)

Page 18: Computer network @prepared by S.Shrestha (comp 251)

Network hardware

• 2 types of transmission terminology that are in wide spread use.

Broadcast linksPoint-point links

@prepared by S.Shrestha (comp 251)

Page 19: Computer network @prepared by S.Shrestha (comp 251)

1. Broadcast networks

• Single communication channel that is shared by all the machines on the network.

• Short messages (packets) sent by any machine are received by all the others.

• An address field within the packet specifies the intended recipient.

• Upon arriving a packet, a machine checks the address field.

@prepared by S.Shrestha (comp 251)

Page 20: Computer network @prepared by S.Shrestha (comp 251)

Contd…

• If the packet is intended for the receiving machine, that machine processes the packet.

intended for some other machine

Packet ignored

@prepared by S.Shrestha (comp 251)

Page 21: Computer network @prepared by S.Shrestha (comp 251)

broadcasting

• Addressing a packet to all destinations by using a special code in the address field.

• When a packet with this code is transmitted, it is received and processed by every machine on the network.

@prepared by S.Shrestha (comp 251)

Page 22: Computer network @prepared by S.Shrestha (comp 251)

multicasting

• Some broadcast systems also support transmission to a subset of the machines.

@prepared by S.Shrestha (comp 251)

Page 23: Computer network @prepared by S.Shrestha (comp 251)

2. point-to-point

• Consists of every connections between individual pairs of machines.

• To go from source-destination a packet on this type of network may have to first visit one or more intermediate machines.

@prepared by S.Shrestha (comp 251)

Page 24: Computer network @prepared by S.Shrestha (comp 251)

unicasting

• Point-point transmission with one sender and one receiver.

@prepared by S.Shrestha (comp 251)

Page 25: Computer network @prepared by S.Shrestha (comp 251)

internetwork

• Connection of two or more networks.• Example: internet.

@prepared by S.Shrestha (comp 251)

Page 26: Computer network @prepared by S.Shrestha (comp 251)

Wireless networks

• Divided into 3 main categories:– System interconnection– Wireless LANs– Wireless WANs

@prepared by S.Shrestha (comp 251)

Page 27: Computer network @prepared by S.Shrestha (comp 251)

System interconnection

– Short range wireless network.– System connection networks use master-

slave.– System unit (master), mouse-keyboard

(slave)• Master tells slave what address to use, when

they can broadcast , how long they can transmit, what frequencies they can use, and so on.

@prepared by S.Shrestha (comp 251)

Page 28: Computer network @prepared by S.Shrestha (comp 251)

Wireless LANs

• System in which every computer has a radio modem and antenna with which it can communicate with other systems.

@prepared by S.Shrestha (comp 251)

Page 29: Computer network @prepared by S.Shrestha (comp 251)

Wireless WANs

• Bluetooth– No cables– No driver installation

@prepared by S.Shrestha (comp 251)

Page 30: Computer network @prepared by S.Shrestha (comp 251)

Home networks

• Computers (desktop PC)• TV, DVD, VCR, etc.• Most homes already have networks installed

like:- electricity, telephone, cable TV, water, gas.

@prepared by S.Shrestha (comp 251)

Page 31: Computer network @prepared by S.Shrestha (comp 251)

@prepared by S.Shrestha (comp 251)