Documente Academic
Documente Profesional
Documente Cultură
* Introduction to Networking
* Classification/Types of Networks
- LAN, WAN, INTRANET, EXTRANET, INTERNET
* LAN Definition, Scope, Components, Topology
* Internetworking
* Interconnectivity, Standards, Protocols.
Textbooks
1.
Computer Networks and Internets with Internet Applications, 3rd Edition
Author: Douglas E-Comer
2.
-A network is a set or collection of nodes or points which are linked or connected together
e.g. network of roads, a network of fuel depots, a network of product distributors.
- Computer Network refers to a set or collection of computers that are linked or connected
together in some pattern.
Historical development of computer Networks
* Development of multi-user systems
* Limitations of multi-user systems
* Development of top-end PCs
* Limitations of PCs
- Motivation/Benefits of computer networks
* Fast Communication
** Messages / Information
** Data
** Software
** Access to specified remote devices
* Sharing of computer resources
** Messages / information
** Data
** Software
** Devices e.g. printers, moderns, telephone lines.
** RAM space
Monday, January 05,
2015
** Processor
** Hard disk space
* Cost
* Convenience
LAN Contd
* General Introduction
* Point to Point versus shared LAN
No. of direct = (N2 N) / 2
Connections
* Locality of reference principle
- Temporal locality of reference
- Physical locality of reference
* Requirements
* Topology / Architecture
Discuss the different lines (cables, cards, connector & other accessories)
available in the market based on star, Ring & Bus architecture.
Monday, January 05,
2015
LAN Contd
The decreasing cost and increasing performance of micros have led to a continuing integration of microtechnology into every facet of business, education, and government.
Single Site organizations i.e. organizations whose communication occurs across relatively short distances
such as a building or a group of offices, benefit from LAN.
- The initial motivation for LAN was the need to share expensive resources such as laser printers and highcapacity, high-speed mass storage devices etc. among a number of users termed WORKGROUP. This is a
direct economic benefit.
- LAN allows the high-speed exchange of essential information between workgroup members in an
organization. This promotes efficiency and productivity.
- LAN provides the catalyst to increase the range of potential applications for PCs.
- LAN could be a visible contributor to increased profitability or some other productivity metric in the case
of non-profit organisations)
Terminology CLIENTS Workstations running host applications.
The term SERVER refers to a software application that offers a well-defined service to network users. A
server application can be run on special-purpose hardware or an ordinary PC. In the latter case, the PC
often has minimum configuration requirements. The most common types of servers are Web servers, mail
servers, File Servers, Print servers, Communication Servers, & Database servers etc.
SERVER could be dedicated or non-dedicated
A dedicated server is set up to provide one or more services to users on the network.
A non-dedicated server can simultaneously function as a workstation and one or more servers. LANs
connecting non-dedicated servers are also referred to as PEER-TO-PEER NETWORKS.
Monday, January 05,
2015
Direct
Point-to-point & shared LANs
Direct Point-to-point
The first computer communication systems all used the direct point-to-point pattern of
communication. In this pattern, each communication channel or medium connected
exactly two computers, and was available to those computers exclusively. Known as a
point-to-point network or mesh network, the scheme has three useful properties.
First, because each connection is installed independently, appropriate hardware can be
used. For example the transmission capacity i.e. the bandwidth of the underlying circuit
and the modems used do not need to be the same on all connections. Second, because
they have exclusive access, the connected computers can decide exactly how to send
data across the connection. They can choose a frame format, an error detection
mechanism and a maximum frame size. More important, because each connection is
independent of others, the details can be changed whenever the owners of the attached
computers agree to make a change. Third, because only two computers have access to
the channel, it is easy to enforce security and privacy. No other computers handle data,
and no other computers can obtain access.
The total number of connections grows more rapidly as the total number of computers. Mathematically,
the number of connections needed for N computers is proportional to the square of N :
DIRECT CONNECTIONS REQUIRED = (N2 - N) /2= N(N-1)/2
These connections are expensive in terms of cabling cost. Local Area Networks (LANs) were devised
as alternatives to expensive, dedicated point-to-point connections. Each LAN consists of a single
shared medium, usually a cable, to which many computers attach. The computers take turn to use the
medium to communicate with one another.
LAN concept is supported by a fundamental principle of computer networking known as LOCALITY
OF REFERENCE. It states that communication among a set of computers is not random, but instead
allows two patterns. First, if a pair of computers communicates once, the pair is likely to communicate
again in the near future and then periodically. This pattern is called TEMPORAL LOCALITY OF
REFERENCE to imply a relationship over time. Second, a computer tends to communicate most often
with other computers that are nearby. This second pattern is called PHYSICAL LOCALITY OF
REFERENCE to emphasize the geographic relationship.
The locality reference principle is easy to understand because it applies to human communication.
For example, people communicate most often with others who are nearby (e.g. working together).
Furthermore, if an individual communicates with someone (e.g a friend or family members), the
individual is likely to communicate with the same person again.
Requirements
Computers hardware
-Workstations /Clients
-Servers
Computer Software
-Network Operating System (OS)
-Server applications (Network versions of application software)
-Client OS
-Client applications
Communication hardware
-Network Cards (NAC/NIC) Switches/Hubs
-Cables
-Accessories
-Protocol Software
Peopleware
-Network Administrator/Manager
-Network Engineer
-Network Programmer
-Database Administrator
-Web designer
-Network user
10
Client A
Client B
Client C
Server
Client D
11 11
Client A
Client C
Server
Broadcast method
Client D A message can be sent
from a PC to multiple destinations at the same
time.
Monday, January 05,
2015
12 12
Client C
Bus (cable)
Terminal
Broadcast
method
Terminal
Server
Client A
Client B
Broadcast
Monday, January 05,
2015
13 13
TOPOLOGY
14
Hub/
Switch
15
16
Packet Frame
Syn
Dest Addr
Source Addr
Frame type
Data
General format
Frame header contains info. Such as Source & Destination addresses.
Frame Data Area or Payload contains information or message being sent.
Preamble Dest
Source
Frame
Data
CRC
Address.
Addr
type
8Bytes
6bytes
6bytes
46-1500
17
18
19
Independent layers but each depends on at least one other layer for effectiveness.
OSI (Open Systems Interconnection) reference model of ISO.
X.200 of CCITT
TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP)
LAN Protocols ieee series
20
TCP/IP was the first set of protocols developed for use in an internet. It is a result of protocol research and development
conducted on the experimental packet-switched network the ARPANET, funded by the Defense Advanced Research
Projects Agency (DARPA) of USA, and is generally referred to as the TCP/IP protocol suite.
Indeed, researchers who devised TCP/IP also developed the internet architecture described earlier. Work on TCP/IP began
in the early 1980s, about the same time that Local Area Networks (LANs) were being developed. The military was among the
first organisations to have multiple physical networks. Consequently it was among the first to realize the need for universal
service.
Research on internetworking and TCP/IP protocols has produced dramatic results. Inter-networking has become one of the
most important ideas in modern networking. In fact internet technology has revolutionized computer communication. Most
large organisations already use internetworking as the primary computer communication mechanism. Smaller organisations
and individuals have started to do so as well. The TCP/IP technology has made this possible.
Communication task for TCP/IP are organized into five relatively independent layers :
OSI Model
Application
TCP/IP Model
Process/Application
Presentation
Host-to-Host
(Transport)
Session
Internet
Transport
Network
Network
Interface layer
Data Link
Physical
21
The model is a framework for defining standards for linking heterogeneous computers.
The OSI is concerned with the exchange of information between a pair of open systems and not and
with the internal functioning of each individual system.
The OSI model/architecture has seven layers which are listed with a brief definition as follows :
22
The Physical and Network Interface Layers of the TCP/IP model use existing Physical and
Data link standards, such as Ethernet and Token Ring, thereby making TCP/IP hardwareindependent.
As a result, the protocol is widely used to connect heterogeneous systems.
The Internet layer provides procedures needed to allow data to traverse multiple
interconnected networks. The Internet Protocol (IP) is used at this layer to provide the routing
function across multiple networks.
The Transport layer (Host-to-Host) provides the requirements needed for data to be exchanged
reliably regardless of the nature of the applications that are exchanging data. The Transmission
Control Protocol (TCP) is the most commonly used protocol to provide this functionality.
Finally, the Application layer contains the logic needed to support the various user applications.
23
a. The illusion of a single network that TCP/IP software provides to users and applications
24
host computer
router
net 2
net 1
net 3
net 4
net 6
net 5
b. The underlying physical structure in which a computer attaches to one physical network, and routers
interconnect the networks.
Monday, January 05,
2015
25
26
SMTP
TELNET
TCP
UDP
FTP
DNS
HTTP
NETWORK
VOICE PROTOCOL (VoIP)
Application layer
Transport layer
Internet layer
IP
Network Interface layer
ICMP
LAN Protocols
ARP
RARP
Physical
27
Simple Mail Transfer Protocol (SMTP) Handles the transfer of emails using
UDP or TCP as underlying protocols.
TELNET It is a remote log-in protocol that uses TCP as the underlying
protocol.
File Transfer Protocol (FTP) It is the protocol that gives access to
data/software files stored in folders for general use. It uses TCP as the
underlying protocol.
Domain Name Service (DNS) This protocol resolves domain names to IP
addresses and vice versa. It uses UDP as the lower transport protocol.
28
Internet Control Message Protocol (ICMP) a special purpose set of messages that are used between
internetwork nodes to resolve problems in packet processing.
These messages include :
Echo request, Source quench, Routing change request,
Time stamp request / Reply.
Address Resolution Protocol (ARP) used to map the 32-bit IP address to a MAC address e.g. (an
Ethernet 48-bit address). The ARP is necessary because there is no preestablished relationship
between IP and MAC address.
Address resolution / Binding can be done in 3 different ways:
- Table lookup, Closed form computation, Message exchange.
Reverse Address Resolution Protocol (RARP) It is a who am l broadcast that is transmitted by a
new station entering the network. The broadcast is responded to by a RARP server that maps the
Requesters MAC address to an IP address appropriate to the internetwork configuration.
Connectionless & Connection-oriented Services
Connectionless - A characteristic of a network system that allows a computer to send data to any
other computer at anytime. Connectionless networks are analogous to a postal system in which each
letter carries the address of the recipient; letters can be sent at any time. It is an extension of packet
Switching.
Connection-oriented- A characteristic of a network system that requires a pair of a computers to establish a connection
before sending data. Connection-oriented networks are similar to a telephone system in which a call must be placed
and answered before communication can begin.
TCP/IP includes both services the fundamental delivery service is connectionless, however, a reliable connectionoriented service uses the underlying connectionless service.
An Internet Packet is called an IP Datagram.
29
30
IP Header
Hardware
Frame Header
IP data area
Hardware Frame data
Each hardware technology has a maximum amount of data that a Frame can carry; this
limit is known as Maximum Transmission Unit (MTU). Thus, a datagram must be less
or equal to an MTU in size, or it cannot be encapsulated.
The Router uses the technique known as FRAGMENTATION to divide the datagram
into smaller pieces called Fragments, which are then transmitted independently.
IP Header
IP Header
Monday, January 05,
2015
data 1
IP Header
data 2
IP Header
data 3
31
TCP/IP continued
IP Addresses
Internet as a single, uniform Virtual Network.
To guarantee uniform addressing of routers and hosts, the protocol software defines an
addressing scheme for all computers on the internet .
Each host has a unique IP Address used by Application programs & higher layers of protocol software
for communication.
Each host has a unique 32-bit number known as IP address.
IP address is different from MAC physical address.
Network number
Host number
Prefix
suffix
Classful IP addressing
0
8
Class A
C
Class B
prefix
Class C
Class D
16
prefix
1
1
1 0
Class E
Monday, January 05,
2015
31
suffix
suffix
prefix
24
suffix
multicast
address
32
Equivalent Dotted
2.254.1.0
31 32
63
Subnet mask
The mask specifies the boundary between prefix & suffix.
1bits mark network prefix
0 bits mark host or suffix portion
Classless Inter-Domain Routing CIDR
IP address/mask
e.g. 200.218.56.18/20
Monday, January 05,
2015
33