Professional Documents
Culture Documents
Unit-1 - Introduction To Computer Network
Unit-1 - Introduction To Computer Network
Computer Network
Unit-1
Introduction to
Computer Network
Prof. Ekta Patel
9662513192
ekta.patel@utu.ac.in
• Introduction
• Advantages
• Disadvantages
• Application
• Types of Computer Network
Back to Outline
What is Computer Network?
▪ Computer Network is a system in which multiple computers are
connected to each other to share information and resources.
Network
Wireless
Devices
Computers
Wired
PC
Home
Network
server wireless Regional ISP
links
smartphone
router
Institutional
Network
Unit: 1 - Introduction to Computer Networks 8 CGPIT, UTU
Types of Computer Network
▪ Computer networks can be categories by their size as
well as their purpose.
▪ The size of a network can be expressed by the
geographic area.
▪ Some of the different networks based on size are:
1. Local Area Network - LAN
2. Metropolitan Area Network - MAN
3. Wide Area Network - WAN
Navagam
Morbi
Rajkot
Shapar
Asia
America
Africa
• Data Flow
• Types of Connection
• Bus Topology
• Ring Topology
• Start Topology
• Mesh Topology
Back to Outline
Data Flow
▪ Communication between two devices can be simplex, half-duplex,
or full-duplex as shown in Figure.
▪ It has a root node and all other nodes are connected to it forming
a hierarchy.
▪ Also called hierarchical topology.
▪ Mostly used in Wide Area Network – WAN.
▪ Expansion of nodes is possible and easy.
▪ Easily managed and maintained.
Back to Outline
Switching Technique
▪ Defines the connection of different network segments
together and process to transmit data packets across the
network.
▪ It is implemented through the use of switching
techniques.
Switched
Networks
Circuit-Switched Packet-Switched
Networks Networks
• Protocol
• Standards
• Layered Architecture
• OSI Model
• TCP/IP Model
• Comparison of OSI & TCP/IP Model
Back to Outline
What is Protocol?
▪ Human Protocol(Language) ▪ Network Protocol
✔ “what’s the time?” ✔ Set of rules
✔ “I have a question” ✔ machines rather than humans
✔ Introduction Talk ✔ all communication activity in Internet
governed by protocols.
▪ Standards Organizations :
✔ International Organization for Standardization (ISO)
✔ International Telecommunication Union-Telecommunication Standards
Sector (ITU-T)
✔ American National Standards Institute (ANSI)
✔ Institute of Electrical and Electronics Engineers (IEEE)
✔ Electronic Industries Association (EIA)
2.35
Tasks involved in sending a letter
2.36
THE OSI MODEL
Established in 1947, the International Standards
Organization (ISO) is a multinational body dedicated to
worldwide agreement on international standards. An ISO
standard that covers all aspects of network
communications is the Open Systems Interconnection (OSI)
model. It was first introduced in the late 1970s.
2.38
Figure 2.2 Seven layers of the OSI model
2.39
Figure 2.3 The interaction between layers in the OSI model
2.40
Figure 2.4 An exchange using the OSI model
2.41
Example – Air Plane Travel
Departure Arrival
airplane routing
2.55
Transport Layer – Cont…
▪ This layer ensures that the whole message arrives intact and in
order.
▪ Transport layer is concerned with:
✔ Service-point addressing (port address)
✔ Segmentation and reassembly
✔ Connection control
✔ Flow and error control
2.58
Network Layer – Cont…
▪ In this layer, packet is combined with header and data.
▪ In case of data link layer, packet delivers on the same network.
▪ If two different networks are connected then packet is concern
with network layer.
▪ Network layer is concerned with:
✔ Logical addressing e.g. 192.168.1.1 (IP Address)
✔ Routing
▪ The data link layer is responsible for moving frames from one hop
(node) to the next.
2.61
Data Link Layer – Cont…
▪ Data link layer is concerned with:
✔ Framing – divide bits stream into data unit (frame)
✔ Physical addressing
✔ Flow control – avoid over overwhelming
✔ Error control – bit loses, retransmission
✔ Access control
▪ Model/Protocol design :
• OSI : Model -> Protocol
• TCP/IP : Protocol -> Model
Computer Network s, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011
• Protocol stack
• Physical Address
• Logical Address
• Port Address
• Specific Address
Back to Outline
Addresses in TCP/IP
2.77
Relationship of layers and addresses in TCP/IP
2.78
Physical Address
▪ MAC Address tells “Who You Are”.
▪ Every NIC has a physical (hardware) address that's known as a
MAC (Media Access Control).
▪ A MAC address is given to a network adapter when it is
manufactured.
▪ MAC Addresses are unique 48-bits hardware number of a
computer, which is embedded into network card (known
as Network Interface Card) during the time of manufacturing.
07:01:02:01:2C:4B
▪ The sending computer is running three processes at this time with port
addresses a, b, and c.
▪ The receiving computer is running two processes at this time with port
addresses j and k.
▪ Note that although physical addresses change from hop to hop, logical
and port addresses remain the same from the source to destination.
▪ Port numbers are mainly used in TCP and UDP based networks, with an
available range of 0 - 65,535 for assigning port numbers.
2.86
Addressing Comparison
Physical Address Logical Address Port Address
80
Example 00:00:00:a1:2b:cc 192.168.3.12 (IPv4)
OS or User
Provided by Manufacturer ISP
• Internet
• X.25
• Frame Relay
Back to Outline
1. Internet
3.89
1. Internet
3.90
2. X.25 Network
• X.25 is one of the oldest packet-switched services available.
• The X.25 recommendations were first prepared in 1976 and then revised in 1978,
1980 and 1984.
• X.25 is a standard suite of protocols used for packet switching across computer
networks.
• The X.25 protocols works at the physical, data link, and network layers (Layers 1 to
3) of the Open Systems Interconnection (OSI) communication model. X.25 is one of
the oldest packet-switched services available.
3.91
2. X.25 Network
• The X.25 network handles packet assembly at the source device, delivery, and then
dis-assembly at the destination.
• X.25 packet delivery technology includes not only switching and network-layer
routing, but also error checking and retransmission logic should delivery failures
occur.
• X.25 was originally designed more than 25 years ago to carry voice over analog
telephone lines (dialup networks).
• Typical applications of X.25 today include automatic teller machine networks and
credit card verification networks.
3.92
2. X.25 Network
3.93
2. X.25 Network
•Advantages:
•Disadvantages:
3.94
3. Frame Relay
• Frame Relay is a virtual-circuit wide-area network that was designed in response to
demands for a new type of WAN in the late 1980s and early 1990s.
• Frame relay has evolved from X.25 packet switching and objective is to reduce
network delays, protocol overheads and equipment cost.
• Frame relay can support multiple users over the same line and can establish a
permanent virtual circuit or a switched virtual circuit.
• Packet switching was developed when the long distance digital communication
showed a large error rate.
• To reduce the error rate, additional coding bits were introduced in each packet in
order to introduce redundancy to detect and recover errors.
• The original packet switching networks were designed with a data rate at the user
end of about 64 kbps.
• But the frame relay networks are designed to operate efficiently at the user's data
rates upto 2 Mbps. This is possible practically because most of the overhead
(additional bits) are striped off.
• Frame relay also is meant for more efficient transmission scheme than the X.25
protocol.
• The biggest difference between Frame Relay and X.25 is that X.25 guarantees data
integrity and network managed flow control at the cost of some network delays.
Frame Relay switches packets end-to-end much faster, but there is no guarantee of
data integrity at all.
3.96
3. Frame Relay Network
3.97
3. Frame Relay
•Advantages:
3.98
3. Frame Relay
•Disadvantages:
3.99
7. NETWORKING DEVICES
• Modem
• Repeater
• Hub
• Bridge
• Switch
• Layer-3 Switch
• Router
• Gateway
Back to Outline
Modem :
▪ Modem is abbreviation for Modulator – Demodulator.
▪ Modems are used for data transfer from one computer network to
another computer network through telephone lines.
▪ The computer network works in digital mode, while analog
technology is used for carrying massages across phone lines.
▪ Modulator converts information from digital mode to analog
mode at the transmitting end and demodulator converts the same
from analog to digital at receiving end.
Back to Outline
8.1 PHYSICAL LAYER RESPONSIBILTIY
▪ Carries the bit stream over a physical media.
▪ Physical Layer is concerned with:
1. Representation of bits (sequence of 0 and 1, encoding)
2. Synchronization of bits (bit rate and clock synchronize)
3. Line configuration (point to point, point to multipoint)
4. Physical topology (bus, ring, star, mesh etc..)
5. Transmission mode (simplex, half-duplex, full duplex)
6. Interface and Medium (guided and unguided media)
7. Data rate (signal, bandwidth, throughput, delay)
Back to Outline
8.2 TRANSMISSION MEDIA
• Guided Media
• Unguided Media
Back to Outline
Transmission Media
A transmission media can be defined as any medium that can carry
information from a source to a destination.
Transmission
Media
Inner
Plastic cover Outer conductor Conductor
(shield)
7.123
Fiber Optic Cable
▪ fi
7.127
Frequency Bands
7.128
Radio wave
▪ Highly regulated
▪ Omni directional antennas
▪ Radio waves are used for multicast communications, such as radio and
television, and paging systems
▪ Penetrate through walls
▪ Electromagnetic waves ranging in frequencies between 3 kHz and 1 GHz
are normally called radio waves
▪ Solution :
▪ Let fh be the highest frequency, fl the lowest frequency, and B the
bandwidth. Then
▪ Solution :
▪ Let fh be the highest frequency, fl the lowest frequency, and B the
bandwidth. Then
▪ A digital signal has eight levels. How many bits are needed per
level?
▪ We calculate the number of bits from the formula.
▪ This means that the highest bit rate for a telephone line is 34.860
kbps. If we want to send data faster than this, we can either
increase the bandwidth of the line or improve the signal-to-noise
ratio.
▪ Website/Link :
1. https://www.darshan.ac.in/DIET/CE/GTU-Computer-Engineering-
Study-Material
2. https://www.geeksforgeeks.org/network-devices-hub-repeater-
bridge-switch-router-gateways/