Documente Academic
Documente Profesional
Documente Cultură
Page 2
Page 3 Page 4
Prepared by Dr.S.Muralidharan 1
COMPUTER NETWORKS - CS65 Department of EEE,MEPCO
Page 5 Page 6
PHYSICAL TOPOLOGY :
Refers to the way in which a network is laid out A fully connected mesh topology (five devices)
physically. Two or more devices connect to a link; two
or more links form a topology.
Page 7 Page 8
Prepared by Dr.S.Muralidharan 2
COMPUTER NETWORKS - CS65 Department of EEE,MEPCO
Page 9 Page 10
Page 11 Page 12
Prepared by Dr.S.Muralidharan 3
COMPUTER NETWORKS - CS65 Department of EEE,MEPCO
Page 13 Page 14
Advantages
• Short cable length A hybrid topology: a star backbone with three bus networks
• Easy to wire
Disadvantages
• Node failure = network failure
• Faults diagnosis difficult
• Network re-
re-configuration difficult
Page 15 Page 16
CATEGORIES OF NETWORK :
Advantages
• Ease of Service
• Centralised control & problem diagnosis Local area network
Disadvantages
• Central Node Dependency
• Long Cable length Metropolitan area network
• Difficult to expand
Prepared by Dr.S.Muralidharan 4
COMPUTER NETWORKS - CS65 Department of EEE,MEPCO
Page 17 Page 18
WAN :
LAN :
Page 19 Page 20
Prepared by Dr.S.Muralidharan 5
COMPUTER NETWORKS - CS65 Department of EEE,MEPCO
Page 21 Page 22
Page 23 Page 24
telephone lines, optical fibers, cables, radios, etc. • International Telecommunication Union-
Union-
•Many different types of machines and operating Telecommunication standards sector (ITU-
(ITU-T)
systems • American National Standards Institute (ANSI)
•Many different network applications • Institute of Electrical and Electronics Engineers (IEEE)
• Electronic Industries Association (EIS)
Prepared by Dr.S.Muralidharan 6
COMPUTER NETWORKS - CS65 Department of EEE,MEPCO
Page 25 Page 26
• Addressing Disadvantages
More overhead
• Multiplexing Arrival of a PDU creates frequent interrupt
• Transmission services Reassembly : integrating fragmented data to create message.
If PDUs arrive out of order, the task is complicated
January 25, 2011 January 25, 2011
Page 27 Page 28
• Encapsulation :
• PDU contains not only data but also control information
• Some PDU consist solely of control information and no data.
• Control information includes three categories :
– Address : The address of the sender and/or receiver
– Error detecting code : Some sort of frame check sequence is included
USER A USER B for error detection
– Protocol control : Additional information is included to implement
certain protocol functions
MESSAGE MESSAGE
• The addition of control information to data is referred to as
“encapsulation”.
Prepared by Dr.S.Muralidharan 7
COMPUTER NETWORKS - CS65 Department of EEE,MEPCO
Page 29 Page 30
• Connection control :
– An entity may transmit data to another entity in an unplanned
fashion and without prior co-ordination. This is known as
“connectionless data transfer”
– Connection oriented data transfer is to be preferred if stations
anticipate a lengthy exchange of data.
USER A USER B
– Three phases of logical connection are
• Connection establishment
MESSAGE MESSAGE
• Data transfer
• Connection termination
Page 31 Page 32
• Flow control
Protocol entity Protocol entity – Flow control is a function performed by a receiving entity to limit
Connection the amount or rate of data that is sent by a transmitting entity.
request
– Simplest form of flow control is a stop-and-wait procedure, in
Negotiation phase
which each PDU must be acknowledged before the next can be
Connection sent.
accept
Data &
• Error control
acknowledgments – Techniques are needed to guard against loss or damage of data
and control information.
Data &
acknowledgments – Error detection based on frame check sequence and PDU
retransmission.
Terminate connection – Retransmission is often activated by a timer. If a sending entity
request fails to receive an acknowledgement to a PDU within a specified
Terminate connection period of time, it will retransmit.
acknowledge
January 25,
January 25, 2011
2011
Prepared by Dr.S.Muralidharan 8
COMPUTER NETWORKS - CS65 Department of EEE,MEPCO
Page 33 Page 34
• Synchronization : • Sequencing
– A protocol entity needs to remember a certain number of – Sequencing is that protocol which identifies the order in which
parameters (eg. window size, connection phase, timer). PDUs containing data were sent by numbering them, modulo
– These parameters can be viewed as state variables and their some maximum number.
collection defines the state of the entity. It is occasionally – Important in connection oriented data transfer.
important that two communicating protocol entities be – Purpose of sequencing :
simultaneously in a well-defined state, for example at • Ordered delivery
initialization, checkpointing, and termination. This is termed as
• Flow control
“synchronization”.
• Error control
– Difficulty in achieving synchronization is that one entity has
knowledge of the other only by virtue of received PDUs. These
PDUs do not arrive instantly. The take some time (variable
amount of time) to traverse from sender to receiver.
Furthermore, a PDU may be lost in transit.
Page 35 Page 36
entity is known outside its own – Flat name structure is one in which each entity has a global name
that is unique throughout the domain of communication.
system.
– Global names are preallocated which it then assigned to its local
– Each system likes to have its own naming convention, and deal with entities.
variety of name lengths, formats. So global name becomes essential. – Comparison :
– Address is a form of global name. • Hierarchical naming has the advantage of easier expansion. Ie. New names
– There may not be a unique global name. could be included.
• Hierarchical name is an aid to routing since it identifies the system containing
– If an entity is attached with more than one network, each may have the entity.
its own address for the entity.
January 25, 2011 January 25, 2011
Prepared by Dr.S.Muralidharan 9
COMPUTER NETWORKS - CS65 Department of EEE,MEPCO
Page 37 Page 38
upper
upper
upper
are multiplexed on, or share, a single lower level connection.
– Port name is a global entity name. This is more efficient to provide several higher level connections
– Instead of single port name associated with each entity, multiple port in an environment where only a single lower level connections
names are associated. Lower
exists.
• Group Name – Downward multiplexing (or splitting) : a single higher level
Upper
– It is a name that refers to more than one entity or port or simply it is connection is built on top of multiple lower-level connections, the
the name that identifies multiple simultaneous recipients of data. traffic on the higher connection being divided among the various
Lower
Lower
Lower
– A group name may be “broadcast”, intended for all entities within a lower connections.
domain (eg. Warning from server regarding shutdown) or “multicast”
(eg. Message to IV year students alone) intended for a specific subset of
entities.
Page 39
• Transmission Service :
– A Protocol may provide a variety of additional services to the
entities that use it. Following three are the most common
examples :
• Priority : Certain messages, such as control messages, may
need to get through to the destination entity with minimum
delay. So maximum priority is given to those services.
• Grade of service : Certain classes of data may require a
minimum throughput or a maximum delay threshold.
• Security : Security mechanisms, restricting access, may be
invoked.
39
January 25, 2011
Prepared by Dr.S.Muralidharan 10