• No results found

Introduction to Computer Networking

N/A
N/A
Protected

Academic year: 2022

Share "Introduction to Computer Networking"

Copied!
47
0
0

Loading.... (view fulltext now)

Full text

(1)

Introduction to Computer Networking

Dr. Mahmoud M. Elkhouly www.elkhouly.net

Lec #1

(2)

General Information

3 credits course

1 Mide-term 40%

1 Lab 10%

1 Final 50%

---

100 %

(3)

Be on time for the lecture

Mobile phones are not allowed in class;

they should be either switched off or put in silent mode

Taking notes Suggestions:

Keep with you a pen and notebook for note taking Print out the slides and write note next to each slide

General Information

(4)

What is a network?

Wikipedia:

Atelecommunications network is a network of telecommunications links and nodes arranged so that messages may be passedfrom one part of the

network to another over multiple links and through various nodes.

What are messages?

Information

(5)

Why is networking interesting?

or, why am Ihere?

Many people use it, few understand Scale

Billions of users, thousands of apps, millions of end hosts Complexity

Many functions, many technologies, complex structure Distribution

Shared, no central coordination point, independent agents

(6)

History of networks

or, how did we get here?

Communication

Telecommunication

Telecommunication networks

Computer networks

Convergence networks

(7)

Long distance communication

Letters by messenger Physical objects

Limited speed, reliability, security Eventually, postal services

Other communication tools Optical (fire)

Auditory (drums, etc)

Problems?

(8)

Telegraph: Electronic communication

In US, telegraph invented in 1837 by Samuel Morse 10 miles at 10 words/minute

Simple circuit

Send signals by making/breaking the connection Could (almost) instantly transmit information

Telegraph in-use until 1985!

(9)

Engineering the telegraph

How to

encode information?

feed in/output information?

improve distance?

improve speed (bandwidth)?

Issues faced by all communication systems

(10)

Example: Encoding information

Morse code

(11)

Telephony

Provides auditory telecommunication Didn’t require trained operator

Uses microphone/speaker and electric circuit

Old school: Actual electrical connection end-to-end New school: Voice-over-IP (over the Internet)

Continuous analog signal

(12)

Example military telephone (EE-8)

Would run a wire between apair

Effective range: 100s of miles

(13)

Scaling telephony

1876: Each pair directly connected Did not scale

1878: Instead, use a switch

Allowed any two lines tobe

connected

(14)

Scaling telephony

1876: Each pair directly connected Did not scale

1878: Instead, use a switch

Allowed any two lines tobe

connected

(15)

Scaling telephony

1876: Each pair directly connected Did not scale

1878: Instead, use a switch

Allowed any two lines tobe

connected

(16)

Scaling telephony

1876: Each pair directly connected Did not scale

1878: Instead, use a switch

Allowed any two lines tobe

connected

(17)

Telephone switch

Would tell operator who to connect to

In 1918, cross-country call took 15 minutes to set up

(18)

Summary of telephony

Communication a problem before computers

Will see similar challenges in computer networks Switching

Multiplexing

Analog vs. digital Bandwidth

Latency

(19)

On to computer networks

Networks designed for computer communication As opposed to (direct) human communication

Digital messages Binary

1011000010101010011100101

(20)

What distinguishes networks?

from the end-user perspective

Services they provide

Postal network, telephone network, telegraph network Properties

Latency

Bandwidth Loss rate Interface Reliability

Unicast vs. multicast vs. broadcast

(21)

Example links

Point-to-point

Multiple access

(22)

Networks differentiated by

Geographical area

PAN, LAN, MAN, WAN Architecture

Dumb terminals vs. dumb switches Intended applications

Special purpose: Airline reservations, banking, credit cards

General purpose: Internet, telecommunications

(23)

Networks differentiated by

continued

Right to use

Private: enterprise networks, airline reservations Public: telephony, Internet

Ownership of protocols Open: IP (Internet)

Private: SNA (IBM) Technologies

Terrestrial vs. satellite, wired vs. wireless

(24)

CLASSIFICATION OF AREA BY THEIR

GEOGRAPHY

(25)

LOCAL AREA NETWORK(LAN)

LAN is a network which is designed to operate over a small physical area such as an office,

factory or a group of buildings.

LAN’s are easy to design and troubleshoot

Exchange of information and sharing of resources becomes easy because of LAN.

In LAN all machines are connected to a single cable.

Different types of topologies such as star, tree, bus, ring, etc Can be used

It is usually a privately owned network.

(26)

WIDE AREA NETWORK(WAN)

When network spans over a large distance or

when the computers to be connected to each other are at widely separated locations a local area

network cannot be used. A wide area network(WAN) is installed.

The communication between different users of WAN is established using leased telephone lines, satellite links and similar channels.

It is cheaper and more efficient to use the phone network for the link.

Most WAN networks are used to transfer large

blocks of data between its users.

(27)

PERSONAL AREA NETWORK(PAN)

A personal area network is a computer network organized around an individual person.

It generally consists of a mobile computer, a cell phone or personal digital assistant. PAN enables the communication among these devices.

It can also be used for communication among personal devices themselves for connecting to a digital level network and internet.

The PANs can be constructed using wireless or

cables.

(28)

CAMPUS AREA NETWORK(CAN)

The campus area network is made up of an interconnection of LAN with limited

geographical area.

Network equipments such as switches, routers

and the transmission media i.e. optical fibre

etc are almost entirely owned by the campus

owner.

(29)

METROPOLITAN AREA NETWORK(MAN)

It is in between LAN & WAN technology that covers the entire city.

It uses similar technology asLAN.

It can be a single network such as cable TV network, or a measure of connecting a

number of LAN’s o a large network so that

resources can be shared LAN to LAN as well as

device to device.

(30)

WAN

MAN CAN

PAN LAN

(31)

PARAMETERS LAN WAN MAN

Ownership of

network Private Private or public Private or public

Geographical

area covered Small Very large Moderate

Design and

maintenance Easy Not easy Not easy

Communication

medium Coaxial cable PSTN or satellite links

Coaxial cables, PSTN, optical

fibre, cables, wireless

Bandwidth Low High moderate

Data

rates(speed) High Low moderate

DISTINGUISH BETWEEN LAN,WAN,MAN

(32)

NETWORK CLASSIFICATION BY THEIR COMPONENT ROLE

LOCAL AREA NETWORK

PEER TO PEER NETWORK CLIENT SERVER NETWORK

(33)

PEER TO PEER NETWORK

In peer to peer network each computer is responsible for

making its own resources available to other computers on the network.

Each computer is responsible for setting up and maintaining its own security for these resources.

Also each computer is responsible for accessing the required network resources from peer to peer relationships.

Peer to peer network is useful for a small networkcontaining less than 10 computers on a single LAN .

In peer to peer network each computer can function as both client and server.

Peer to peer networks do not have a central control system.

There are no servers in peer networks.

Peer networks are amplified into home group.

(34)

ADVANTAGES & DISADVANTAGES OF PEER TO PEER NETWORK

Advantages:

Use less expensive computer hardware

Easy to administer

No NOS required

More built in redundancy

Easy setup & low cost

Disadvantages:

Not very secure

No central point of

storage or file archiving

Additional load on computer because of resource sharing

Hard to maintain

version control

(35)
(36)

CLIENT/SERVER NETWORK

In client-server network relationships, certain computers act as server and other act as clients. A server is simply a

computer, that available the network resources and provides service to other computers when they request it. A client is

the computer running a program that requests the service from a server.

Local area network(LAN) is based on client server network relationship.

A client-server network is one n which all available network resources such as files, directories, applications and shared devices, are centrally managed and hosted and then are accessed by client.

Client serve network are defined by the presence of servers on a network that provide security and administration of the

network.

(37)

ADVANTAGES AND DISADVANTAGES OF CLIENT-SERVER NETWORK

Advantages:

Very secure

Better performance

Centralized backup

very reliable

Disadvantages:

requires professional administration

More hardware- intensive

More software intensive

Expensive dedicated

software

(38)

TYPES OF SERVERS

(39)

TYPES OF SERVERS

File server: These servers provide the services for storing, retrieving and moving the data. A user can read, write,

exchange and manage the files with the help of file servers.

Printer server: The printer server is used for controlling and managing printing on the network. It also offers the fax service to the network users.

Application server: The expensive software and additional computing power can be shared by the computers in a

network with he help of application servers.

Message server: It is used to co-ordinate the interaction

between users, documents and applications. The data can be used in the for of audio, video, binary, text or graphics.

Database server: It is a type of application server. It allows the uses to access the centralised strongdatabase.

(40)

Applications of Networks

Resource Sharing

Hardware (computing resources, disks, printers) Software (application software)

Information Sharing

Easy accessibility from anywhere (files, databases) Search Capability (WWW)

Communication Email

Message broadcast Remote computing

Distributed processing (GRID Computing)

(41)

Network Topology

The network topology defines the way in which computers, printers, and other devices are connected.

A network topology

describes the layout of the

wire and devices as well

as the paths used by data

transmissions.

(42)

Bus Topology

Commonly referred to as a linear bus, all the devices on a

bus topology are connected by one single cable.

(43)

Star & Tree Topology

The star topology is the most commonly used architecture in Ethernet LANs.

Larger networks use the extended

star topology also called tree

topology. When used with network

devices that filter frames or packets,

like bridges, switches, and routers,

this topology significantly reduces

the traffic on the wires by sending

packets only to the wires of the

destination host.

(44)

Ring Topology

A frame travels around the ring, stopping at each node. If a node wants to transmit data, it adds the data as well as the destination address to the frame.

The frame then continues around the ring until it finds the destination node, which takes the data out of the frame.

Single ring – All the devices on the network share a single cable

Dual ring – The dual ring topology

allows data to be sent in both

directions.

(45)

Mesh Topology

The mesh topology connects all devices (nodes) to each other for redundancy and fault tolerance.

It is used in WANs to interconnect LANs and for mission critical networks like those used by banks and financial institutions.

Implementing the mesh topology

is expensive and difficult.

(46)

Network components?

Links

Copper, fiber, wireless, satellite Interfaces

10-base-T, wireless, fiber

Switches/routers/NATs/firewalls Route (or drop) messages

Architecture

Packet vs. circuit switched

Protocols/standards TCP, IP, Ethernet

Applications

HTTP, FTP, SSH End hosts

Mac, Windows, Linux

(47)

Example components

Links Interfaces Routers

References

Related documents

Wired PC Wired PC Wireless PC Wireless PC Wireless PC Figure 9-1: A wireless home network using a wireless Internet gateway device shares an Internet connection with wired and

In computer network two or more computers are linked together with a medium and data communication devices for the purpose of communicating data and sharing resources.. The

He presented the concept of Personal Area Networks (PANs)- Near field Intra Body Communication, to demonstrate how electronic devices on and near the human body can exchange

Institutional network Mobile network Global ISP Regional ISP router PC server wireless laptop cellular handheld wired links access points q   communication links

Computer networking enables computers to share data, application software and hardware devices.. The most basic network consists of two computers connected directly by cable,

Wireless Serial communication using an Xbee 802.15.4 RF module is an effective method in connecting host devices such as a personal computer or a microcontroller. By simply connecting

Goal: This talk is designed to introduce undergraduate students to Computer networking, wireless, and network security research... Why Study

A multi-hop wireless network is a network of computers and devices (nodes) which are connected by wireless communication links. The links are most often implemented with digital