Chapter 1 and 2
Chapter 1 and 2
o Message: - The message is the information (data) to be communicated. Popular forms of information
include text, numbers, pictures, audio, and video.
o Sender: - The sender is the device that sends the data message. It can be a computer, workstation,
telephone handset, video camera, and soon.
o Receiver: - The receiver is the device that receives the message. It can be a computer, workstation,
telephone hand set, television, and soon.
o Transmission medium: - The transmission medium is the physical path by which a message travels
from sender to receiver. Some examples of transmission media include twisted-pair wire, coaxial
cable, fibre-optic cable, and radio waves.
o Protocol: - A protocol is a set of rules that govern data communications. It represents an agreement
between the communicating devices. Without a protocol, two devices may be connected but not
communicating, just as a person speaking Amharic cannot be understood by a person who speaks only
English.
Fundamentals of Information
Information is data that has been processed in such a way as to be meaningful to the person who receives
it.
It is anything that is communicated.
Information is data that has been converted into a more useful or intelligible form.
It is the set of data that has been organized for direct utilization of mankind, as information helps human
beings in their decision making process.
Examples are: Time Table, Merit List, Report card, Headed tables, printed documents, pay slips, receipts,
reports etc.
The information is obtained by assembling items of data into a meaningful form.
For example, marks obtained by students and their roll numbers form data, the report card/sheet is the
information.
Transmission Media
The means through which data is transformed from one place to another is called transmission or
communication media.
There are two categories of transmission media used in computer communications.
o BOUNDED/GUIDED MEDIA
o UNBOUNDED/UNGUIDED MEDIA
1. BOUNDED MEDIA:
Bounded media are the physical links through which signals are confined to narrow path.
These are also called guide media.
Bounded media are made up to an external conductor (Usually copper) bounded by jacket material.
Bounded media are great for LABS because they offer high speed, good security and low cast.
However, some time they cannot be used due distance communication.
The biggest problems faced by network system designers is keeping radiation and interference under
control with bounded media.
All wires act as antenna, sending and receiving signals.
As frequencies increase and wire lengths increase, the radiation increases.
Three common types of bounded media are used of the data transmission. These are
Twisted Pairs Cable
Coaxial Cable
Fiber Optics Cable
Twisted Pair Cable
The cable are twisted in pair.
It is two varieties: Unshielded Twisted Pair and Shielded Twisted Pair.
o Unshielded twisted pair (UTP) cable: -
It is the most popular and is generally the best option for school networks.
Figure 2 unshielded twisted pair cable (UTP)
Coaxial Cable
Coaxial cabling has a single copper conductor at its center.
A plastic layer provides insulation between the center conductor and a braided metal shield.
The metal shield helps to block any outside interference from fluorescent lights, motors, and other
computers.
Figure 4 coaxial cable
Fiber optic cable has the ability to transmit signals over much longer distances than coaxial and twisted
pair.
It also has the capability to carry information at vastly greater speeds.
This capacity broadens communication possibilities to include services such as video conferencing and
interactive services.
The cost of fiber optic cabling is comparable to copper cabling is higher.
It is more difficult to install and modify.
There are two common types of fiber cables -- single mode and multimode.
Multimode cable has a larger diameter; however, both cables provide high bandwidth at high speeds.
Single mode can provide more distance, but it is more expensive.
Figure 6 Difference single mode and multimode
2. Unbounded media transmit the data-carrying signal through space, independent of a cable. Broadcast radio
and television are examples of unbounded media. Wireless media/ unbounded media carry electromagnetic
signals at radio and microwave frequencies that represent the binary digits of data communications. As a
networking medium, wireless is not restricted to conductors or pathways, as are copper and fiber media.
Transmission Coding
Coding are study for the purpose of designing efficient and reliable data transmission methods.
A message should first be encoded in such a way that it can be transmitted through a channel (medium), it
is then transmitted, and finally, it is decoded into a form that can be understood by the destination at the
other end.
1. Point to point
o The computers output electrical signals directly through the serial port.
o The data can be passed directly through the communication medium to the other computer if the
distance is small (less than 100 meters).
3. Switches
o A Switch is more sophisticated than hub and can remember and check node addresses.
o In fact this phenomenon can affect logical topology of the network! They physically resemble hubs
and like hubs, they vary in number of ports, stand-alone vs. stackable, and managed vs. unmanaged.
o While a hub broadcasts data frames to all ports, the switch reads the destination address of the data
frame and only sends it to the corresponding port.
o The effect is to turn the network into a group of point-to-point circuits and thus changes the logical
topology of the network from a bus to a star.
4. Repeater
o Functioning at Physical layer.
o It is electronic device receive signal and retransmit it at a higher signal (amplify).
o It has only two points. So maximum two device connected.
5. Bridge
o Connects multiple network segments at the data link layer of OSI model
o Bridge and switch are very much similar.
o Switch is a bridge with multiple ports.
6. Router
o Connects two or more computers in the network and interchange packets of data between them.
o Each data packet contains address information that a router can use to determine if the source and
destination is in same network.
2. Ring Topology
o Ring topology was in the beginning of LAN area.
3. Star topology
o In a star topology each station is connected to a central node.
o The central node can be either a hub or a switch.
o The star topology does not have the problem as seen in bus topology.
o The failure of a media does not affect the entire network.
o Other stations can continue to operate until the damaged segment is repaired.
4. Mesh topology
o A mesh physical topology is when every device on the network is connected to every device on the network;
most commonly used in WAN configurations helps find the quickest route on the network; provides
redundancy.
Motivation of Standard
o A network is a combination of hardware and software that sends data from one location to another.
o The hardware consists of the physical equipment that carries signals from one point of the network to
another.
o The software consists of instruction sets that make possible the services that we expect from a network.
o This is a very tedious task if only hardware is involved.
o We would need switches for every memory location to store and manipulate data.
o The task is much easier if software is available.
o So the standard way of breaking up a system in a set of components, but the components are organized as a
set of layers.
o Each layer offers a service to the higher layer, using the services of the lower layer.
o “Peer” layers on different systems communicate via a protocol. » higher level protocols (e.g. TCP/IP,
Appletalk) can run on multiple lower layers » multiple higher level protocols can share a single physical
network.
Reference model
o The most important reference models are:
1. OSI reference model.
2. TCP/IP reference model.
1. OSI Reference Model
o Established in 1947, the International Standards Organization (ISO) is a multinational body dedicated to
worldwide agreement on international standards.
o An ISO standard that covers all aspects of network communications
o It stands for Open Systems Interconnection model. It was first introduced in the late 1970s.
o An open system/ standard is a set of protocols that allows any two different systems to communicate
regardless of their underlying architecture.
o The purpose of the OSI model is to show how to facilitate communication between different systems
without requiring changes to the logic of the underlying hardware and software.
o The OSI model is not a protocol; it is a model for understanding and designing a network architecture that
is flexible, robust, and interoperable.
o The OSI model is a layered framework for the design of network systems that allows communication
between all types of computer systems.
o They are separate but related.
o In receiving mode the lower layer provides the necessary services to the upper layer.
o Any changes in one layer should not require changes in other layers.
o The OSI model is composed of seven ordered layers: physical (layer 1), data link (layer 2), network (layer
3), transport (layer 4), session (layer 5), presentation (layer 6) and application (layer 7). Each of which
defines a part of the process of moving information across a network.
o Easy to remember these layers with the sentence “ All People Seem To Need Data Processing”
Figure 17 The OSI Layers and their functions
Application - (layer 7)
- Allows applications to use the network.
- The user may want to access the network for various purposes.
- Like for sending e-mail, transferring a file, surfing the web, accessing remote computer’s
resources etc.
- For every task mentioned above there is a dedicated service.
- Services – e- mail, news groups, web applications, file transfer, remote host, directory services,
network management, file services
Presentation - (layer 6)
- Translates data into a form usable by the application layer.
- The redirector operates here. Responsible for protocol conversion, translating and encrypting data,
and managing data compression.
- messages are sent between layers
- Services – POP, SMTP (e-mail, Post office protocol, Simple Mail Transfer Protocol), Usenet (for
news groups), HTTP (hypertext transfer protocol for web applications), FTP, TFTP (File transfer
protocol, trivial FTP for file transfer), Telnet (Terminal Network, A general purpose program
enabling remote login into some other computer and function as if it is directly connected to that
remote computer), Domain name server (finding ip addresses for domain names), SNMP (Simple
Network Management Protocol).
Session - (layer 5)
- It allows applications on connecting systems to standard ports & establish a session.
- Provides synchronization between communicating computers. Messages are sent between layers.
- Services – Various port numbers are POP (25), USENET (532), HTTP (80), FTP (20/21), Telnet
(23), DNS (53), SNMP (161/162) etc.
Transport - (layer 4)
- Responsible for packet handling.
- Ensures error-free delivery.
- Repackages messages (while receiving), divides messages into smaller packets (while
transmitting), and handles error handling.
- segments of message fragments are sent between layers
- Services - TCP - connection-oriented communication for applications to ensure error free delivery;
- UDP - connectionless communications and does not guarantee packet delivery between transfer
points
Network - (layer 3)
- Translates system names into addresses. Responsible for addressing, determining routes for
sending, managing network traffic problems, packet switching, routing, data congestion, and
reassembling data.
- Datagrams are sent between layers.
- Services - Software & hardware addresses and packet routing between hosts and networks (IP).
Two versions IP4(32 bits) & IP6(128 bits)
Data link - (layer 2)
- Sends data from network layer to physical layer.
- Manages physical layer communications between connecting systems. Data frames are sent
between layers.
- Services – SLIP/PPP, 802.2 SNAP, Ethernet
Physical - (layer 1)
- Transmits data over a physical medium.
- Defines cables, cards, and physical aspects. Data bits are sent.
- Services - ISDN, ADSL, ATM, FDDI, CAT 1-5, Coaxial cable.
2. Internetworking with TCP/IP Reference model
o TCP/IP stands for Transmission Control Protocol/Internet Protocol.
o The U.S. Department of Defense (DoD) created the TCP/IP reference model
o TCP/IP is transmission control protocol and internet protocol.
o Protocols are set of rules which govern every possible communication over the internet.
o These protocols describe the movement of data between the host computers or internet and offers simple
naming and addressing schemes.
o The main purpose was to move packets from any point to any other point regardless of the condition of any
particular node.
o It has four layers.