1. introduction data comm

46
1 Welcome to my Welcome to my Lecture Lecture on on Data Communication Data Communication M. Mozammel Hoque Chowdhury M. Mozammel Hoque Chowdhury Associate Professor Associate Professor

Upload: humayoun-kabir

Post on 30-Oct-2014

207 views

Category:

Education


0 download

DESCRIPTION

Networking data communication

TRANSCRIPT

Page 1: 1. introduction data comm

1

Welcome to my Welcome to my Lecture Lecture

ononData CommunicationData Communication

M. Mozammel Hoque ChowdhuryM. Mozammel Hoque Chowdhury

Associate ProfessorAssociate Professor

Page 2: 1. introduction data comm

1.2

Chapter 1

Introduction

Page 3: 1. introduction data comm

1.3

1-1 DATA COMMUNICATION1-1 DATA COMMUNICATION

Data communication is the exchange of data between two devices via some form of transmission medium such as a wire cable.---or---Data Communication is the process of transporting data using computer devices from one point to another.

Figure 1.1 Five components of data communication

Page 4: 1. introduction data comm

1.4

Data Transmission Modes (Ways)

The way of data transfer is called transmission mode.

● Simplex (Ex. Data transmission from computer to monitor)● Half Duplex (Ex. Data transmission through Walkie-talkie)● Full Duplex (Ex. Data transmission through

Telephone/cable)

Page 5: 1. introduction data comm

1.5

Communication Channel Communication channel is the link or path between sender and receiver.

Communication Channels are grouped into three basic categories: Narrowband Voice Band BroadbandNarrowband channels range in speed from 45 to 300 bps (bits per second). This channel is used mainly for telegraph line and low-speed terminals.Voice band channels can transmit data at speeds up to 9600 bps. It is so called because its major application is for ordinary telephone voice communication. Broadband/wideband channels are used when large volumes of data is to be transmitted at high speed. This system provides data transmission rate of 1 million bps or more. These channels are used for high speed computer-to-computer data communication.

Page 6: 1. introduction data comm

1.6

Channel Capacity/Bandwidth

Bandwidth defines the volume of signals that can be transmitted through a communication channel.

So, it defines how much data/information can be transmitted

in one second. It is usually measured in Hertz (Hz) - cycle per second.

Page 7: 1. introduction data comm

1.7

1-2 COMPUTER NETWORK1-2 COMPUTER NETWORK

► A computer network is a set of computers, printers, and/or other devices capable of sending and receiving data connected via communication links.

The computer or other devices are often referred as nodes.

Page 8: 1. introduction data comm

1.8

The Uses of a Computer Network Simultaneous access to data

Data files are shared Shared files stored on a server Software can be shared

Shared peripheral device Printers and faxes are common shares Reduces the cost per user Devices can be connected to the network Print servers control network printing

Personal communication Email

Instantaneous communication Conferencing

Tele conferencing Videoconferencing Audio-conferencing Data-conferencing

Voice over IP Phone communication over network wires

Page 9: 1. introduction data comm

1.9

An overview of Computer Network

Page 10: 1. introduction data comm

1.10

Network Types Local Area Network (LAN)

Designed in one office or building of up to a few of kilometers. An organization may have several LANS Share printers, faxes, computers and servers. Traditional LANs run at speeds of 10 – 100 Mbps, newer LANs

can operate at higher speeds, up to hundreds of Mbps

Wide Area Networks (WAN) Two or more LANs connected over a large geographic area Typically use public or leased lines

Phone lines Satellite

The Internet is an example of WAN.

Page 11: 1. introduction data comm

1.11

Network Types… Campus Area Networks (CAN)

A LAN in one large geographic area Resources related to the same organization Each department shares the LAN

Metropolitan Area Network (MAN) Large network that connects different

organizations Shares regional resources A network provider sells time

Page 12: 1. introduction data comm

1.12

How Networks Are Structured Server based network

Node is any network device Servers control what the node accesses Users gain access by logging in Server is the most important computer

Page 13: 1. introduction data comm

1.13

How Networks Are Structured Client/Server network

Nodes and servers share data roles Nodes are called clients Servers are used to control access Database software

Access to data controlled by server Server is the most important computer

Page 14: 1. introduction data comm

1.14

How Networks Are Structured Peer to peer networks (P2PN)

All nodes are equal Nodes access resources on other nodes Each node controls its own resources

Page 15: 1. introduction data comm

1.15

The History about Computer Network

1966 Terms, packets and packet switching, are coined out. A project was funded to create an experimental network.

1969 The project evolves into Advanced Research Projects Agency Network (ARPANET).The first four nodes of ARPANET were: – BBN (Bolt, Beranek and Newman), a consulting company– SRI (Stanford Research Institute)– The Univ. of California– The Univ. of Utah

Page 16: 1. introduction data comm

1.16

Page 17: 1. introduction data comm

1.17

The History about Computer Network…1971 ARPANET has 15 sites, 23 hosts1972 FTP is outlined in 1972;

E-mail is created in 1972 by Ray Tomlinson of BBN; Telnet protocol is proposed in his year.

1974 Vinton Cerf, propose the Transmission Control Protocol (TCP) in the paper, “A Protocol for Packet Network Internetworking”, which introduce the term Internet.

1977 The first wireless gateway is connected to ARPANET, which transmits packet over radio waves.

1978 Vinton Cerf, launch the plan for Internet Protocol (IP), which is proposed as a routing function that is separated from TCP.

1982 TCP and IP are adopted as the main protocol suite for ARPANET

Page 18: 1. introduction data comm

1.18

The History about Computer Network…1983 ARPANET reaches 500 and becomes a truly civilian-

based network, which marks the arrival of Internet1988 The Internet grows to 60,000 hosts

Europe & North America are linked by fiber-optic cableInternet Worm, the 1st internet virus, impacts 10% of the internet computers

1993 > 2 million hosts, 17 countries in Africa, Asia, …, joined Internet

1999 > 16 million hosts, US law establishes domain names as property, US Internet backbone reach the speed at 2.5Gbps

2000 IPv6 is used for internet, The push to implement wireless communication is on.

Page 19: 1. introduction data comm

1.19

Network Topologies Topology

Logical layout of wires and equipment Several different types

Page 20: 1. introduction data comm

1.20

Network Topologies Bus topology

Also called linear bus One wire connects all

nodes Terminator ends the

wires Advantages

Easy to setup Small amount of wire

Disadvantages Slow Easy to crash

Page 21: 1. introduction data comm

1.21

Network Topologies Star topology

All nodes connect to a hub Packets sent to hub Hub sends packet to

destination Advantages

Easy to setup One cable can not crash

network Disadvantages

One hub crashing downs entire network

Uses lots of cable Most common topology

Page 22: 1. introduction data comm

1.22

Network Topologies Ring topology

Nodes connected in a circle Tokens used to transmit

data Nodes must wait for

token to send Advantages

Time to send data is known

No data collisions Disadvantages

Slow Lots of cable

Page 23: 1. introduction data comm

1.23

Network Topologies Mesh topology

All computers connected together

Internet is a mesh network

Advantage Data will always be

delivered Disadvantages

Lots of cable Hard to setup

Page 24: 1. introduction data comm

1.24

Tree Topology

Advantage:When one hub breaks only stations connected to the broken hub will be affected.

Page 25: 1. introduction data comm

1.25

Hybrid Topology

Page 26: 1. introduction data comm

1.26

Network Hardware Network linking devices

Connect nodes in the network Cable runs from node to device Crossover cable connects two

computers

Page 27: 1. introduction data comm

1.27

Network Hardware Hubs

Center of a star network All nodes receive transmitted packets Slow and insecure

Page 28: 1. introduction data comm

1.28

Network Hardware Switches

Replacement for hubs Only intended node receives

transmission Fast and secure

Page 29: 1. introduction data comm

1.29

Network Hardware Bridge

Connects two or more LANs together Packets sent to remote LAN cross

Other packets do not cross Segments the network on MAC

addresses

Page 30: 1. introduction data comm

1.30

Network Hardware Router

Connects two or more LANs together Packets sent to remote LAN cross Network is segmented by IP address Connect internal networks to the Internet Need configured before installation

Page 31: 1. introduction data comm

1.31

Bridge vs. Router

The purpose of both bridge and router is to connect two or more LANs of the same type.

Bridge forwards data from one network to all other networks connected to it with desired and no-desired networks.

On the other hand, router sends data to the desired machine on the desired network.

So, in case of bridge, network traffic jam occurs, but which is not applicable for router.

Page 32: 1. introduction data comm

1.32

Network Hardware Gateway

Connects two dissimilar networks Most gateways contained in other

devices

Page 33: 1. introduction data comm

1.33

Network Interface Cards

Page 34: 1. introduction data comm

1.34

Network Protocols

Language of the network Rules of communication Error resolution Defines collision and collision recovery Size of packet Naming rules for computers

Page 35: 1. introduction data comm

1.35

Network Protocols

TCP/IP Transmission Control Protocol/Internet Protocol Most popular protocol Machines assigned a name of 4 numbers

IP address 209.8.166.179 is the White House’s web site

Dynamic Host Configuration Protocol (DHCP) Simplifies assignment of IP addresses

Required for Internet access

Page 36: 1. introduction data comm

1.36

Why IPv6 IPv6 is a new version of IP (128 bits) IPv4 – the current IP is going to run out of address

Internet growing too fast, Also have some waste : half of B Class networks have

less 50 hosts. To provide more support to new requirements,

like Better support to real time services, such as video on

demand Support roaming without change IP Will be more security

Page 37: 1. introduction data comm

1.37

Other Network Protocols IPX/SPX

Internet Packet Exchange/Sequenced Packet Exchange

Older protocol Associated with Novell Netware Replaced by TCP/IP

NetBEUI Network BIOS Extended User Interface Used by Windows to name computers Transmission details handled by TCP/IP

Page 38: 1. introduction data comm

1.38

ISO’s OSI Reference Model ISO:

International Standards Organization A voluntary organization founded in 1946. Its members are the national standards

organizations like, ANSI(US), BSI (British), IEEE (Institute of Electrical and Electronics Engineers)

OSI Reference Model: Open System Interconnected Reference Model

Page 39: 1. introduction data comm

1.39

OSI Reference Model

Page 40: 1. introduction data comm

1.40

THE INTERNETTHE INTERNET

The Internet has revolutionized many aspects of our daily lives. It has affected the way we do business as well as the way we spend our leisure time. The Internet is a communication system that has brought a wealth of information to our fingertips and organized it for our use.

• Internet is a worldwide system of interconnected computer networks, which is also called a network of networks interconnected through regional and national backbone connections.

Page 41: 1. introduction data comm

1.41

Internet related Terms WWW: The World Wide Web, commonly known as

the Web, is a system of interlinked hypertext documents accessed via the Internet.

With a web browser (e.g. Internet Explorer, Mozilla Firefox etc.), one can view web pages that may contain text, images, videos, and other multimedia and navigate between them by using hyperlinks.

E-mail: Electronic mail, is a method of exchanging digital messages.

Facebook: Facebook is a social utility that connects people with friends and others who work, study and live around them. People use Facebook to keep up with friends and others.

Page 42: 1. introduction data comm

1.42

Internet related Terms…● Intranet : An internal corporate or

government network that uses Internet tools, such as Web browsers, and Internet protocols.

Extranet: A network that uses the Internet to link multiple intranets.

DNS (Domain Name System) address Domain name: nub.edu Sub-domain: cse.nub.edu

Page 43: 1. introduction data comm

1.43

Terms Abbreviation WWW World Wide Web HTTP Hyper Text Transfer Protocol

ISP Internet Service Provider HML Hyper Text Markup Language URL Uniform Resource Locator FTP File Transfer Protocol IRC Internet Relay Chat DNS Domain Name System

Page 44: 1. introduction data comm

1.44

Role of MODEM in Data Communication

Modulation – the process of converting digital signals to analog signals Demodulation – the reverse process of modulation, i.e. converting

analog signals back to digital signals.

MODEM : comes from MOdulator (who performs Modulation) and DEModulator (who performs Demodulation)

MODEM performs digital modulation and demodulation.

Page 45: 1. introduction data comm

Why Modulation is Necessary Modulation is a scheme under which the signal is first modified

to suitable form and mixed with the carrier for transmission. To transfer the message signal from one site another site over

a long distance without any interference and loss for that we are using modulation.

Modulation is important due to following basic reasons: Low frequency signals can't be transmitted for long distance.

That's why we are modulating the information signals.  Need of bandwidth: suppose many people are talking at the

same time, we just cant make out the difference who is talking what, so bandwidth is provided to each wave and it is done over high frequency to save the quality of signal.

1.45

Page 46: 1. introduction data comm

Why Modulation is Necessary…. Height of antenna: when we want to transmit electrical signal over

an antenna, through free space, it must be converted into electro-magnetic waves. Only electro-magnetic waves have the property to travel through space (vacuum) at the speed of light.

For better transmission the height of antenna should be quarter half of the wavelength of wave to be transmitted. so, frequency is increased (wavelength decreased) to make it practically possible.Now suppose we want to transmit, an electric signal having frequency 3 kHz (voice frequency) over an antenna. Then what happens:

It means that we need height of antenna equal to 100 km! This is practically impossible!

1.46