Module 1.1 To 1.3 - IntroductionToNetworking
Module 1.1 To 1.3 - IntroductionToNetworking
Module 1
Introduction to Networking
Outline
• Communication System
• Basic Concepts
• Line Configuration
• Transmission mode
• Types of Networks
• Network Topology
What is Networking?
• Simplex
• Half-Duplex
• Full Duplex
Network Criteria
• Performance:
Can be measured in terms of
• Transit time
• Response time
Evaluated by two networking metrics: Throughput & Delay
• Reliability: measured by frequency of failure, time taken by link to
recover from failure and network robustness ion catastrophe
• The controller acts as an exchange, it relays the data to the other connected
device.
• One long cable acts as a backbone to link all the devices in a network.
• Nodes are connected to the bus cable by drop lines and taps.
• A drop line is a connection running between the device and the main cable.
• A tap is a connector that either splices into the main cable or punctures the
sheathing of a cable to create a contact with the metallic core.
Bus Topology
Advantages
• Ease of installation: less cabling as compared to mesh and star.
• A bus uses less cabling than mesh or star topologies
Disadvantages
• It is Difficult to add new devices.
• Difficult reconfiguration and fault isolation.
• A fault in Backbone stops all transmission
• Limited cable length and number of nodes that can be connected.
Ring Topology
• A local area network (LAN) is usually privately owned and links the
devices in a single office, building, or campus.
• One of the computers may be given a large capacity disk drive and may
become a server to clients.
• Internet is WAN.
Wide Area Networks
Protocol Layering:
• TCP/IP model
Design Issues for Layers
Addressing - whom am I going to talk to? i.e., how do we identify
senders and receivers?
Logical channels: usually at least 2. One for normal mode and one for
urgent transmission.
Design Issues for Layers
Reconstituting messages: Out of order messages need to be
numbered.(Flow Control)
Connection-oriented service is preferred by long and steady Connection-less Service is preferred by bursty
2.
communication. communication.
Connection-oriented Service gives the guarantee of Connection-less Service does not give a guarantee of
6.
reliability. reliability.
In connection-oriented Service, Packets follow the same In connection-less Service, Packets do not follow the same
7.
route. route.
Connection-oriented services require a bandwidth of a high Connection-less Service requires a bandwidth of low
8.
range. range.
9. Ex: TCP (Transmission Control Protocol) Ex: UDP (User Datagram Protocol)
10. Connection-oriented requires authentication. Connection-less Service does not require authentication.
Difference -Example
Reliable and un-reliable services
Reliable and un-reliable services
The OSI model
• Over the past couple of decades many of the networks that were
built used different hardware and software implementations, as a
result they were incompatible, and it became difficult for networks
using different specifications to communicate with each other.
Ref: https://community.fs.com/blog/tcpip-
vs-osi-whats-the-difference-between-the-
two-models.html
The OSI model
The OSI model
Physical Layer
• This layer consists of simply the wire or media by which the network
signals are conducted.
• The physical layer of the OSI model defines connector and interface
specifications, as well as the medium (cable) requirements for
transmission to occur.
Physical Layer
Functions of physical layer:
• The data link layer transforms the physical layer, a raw transmission
facility, to a reliable link.
• Node to node delivery (Hop to Hop Delivery)
• The data link layer uses the MAC address to define a hardware or
data link address for multiple stations to share the same medium and
still uniquely identify each other.
• Concerned with network topology, network access, error notification,
ordered delivery of frames, and flow control.
Data Link Layer
Functions of Data Link layer:
• Framing
• Flow control
• Error control
• Access control
Data Link Layer
Data Link Layer
Hop-to-Hop Delivery
Network Layer
• This layer establishes the route between the sending and receiving
stations.
Transport Layer
Network Layer
UDP & TCP were primarily designed for data. But popularity of carrying Voice over IP networks
forced engineers to design a new transport layer protocol called SCTP (Stream Control
Transmission Protocol).
89
Inventors of the TCP
90
Transferring data in accordance with the TCP/IP stack.
https://commons.wikimedia.org/wiki/File:Data_Flow_of_the_Internet_Protocol_Suite.PNG
91
TCP/IP Concepts
Important
Points
Data deliveries
Addressing We learned till now
• Physical Address- MAC
• Logical Address-IP
• Port Address- Internet Port 443
This port is used for secure web browser communication.
Sockets are created and used with a set of programming requests or "function
calls" sometimes called the sockets application programming interface (API). The
most common sockets API is the Berkeley UNIX
Socket
Ref.: https://www.quora.com/What-is-a-socket-in-computer-
networks
Addressing
• An IP address is a 32-bit
address
• The IP addresses are
unique
and universal.
• Logical Address is generated by CPU while a
program is running.
• Physical Address identifies a physical location of required
data in a memory. ...
• The user never directly deals with the physical address but
can access by its corresponding logical address.
Logical Vs Physical Address
BASIS OF
LOGICAL ADRESS PHYSICAL ADRESS
COMPARISON
Logical address is the address that is generated by the
Physical address is a location that exists in the
central processing unit (CPU) in perspective of a
Description memory; it allows accessing a particular storage
program. Logical address can also be referred to as a
cell in the main memory.
virtual address.
Physical address space is the set of all physical
Logical address space is the set of all logical addresses
Address Space address mapped to corresponding logical
generated by CPU for a program.
addresses.
The logical address exists virtually and does not have a
The physical address is an accessible physical
Visibility specific location to exist physically in memory unit hence
location existing within the memory.
it is also known as virtual address.
The logical address is generated by the central processing Physical address is computed by Memory
Generation
unit (CPU). Management Unit (MMU).
The physical address helps to identify a location in the The logical address helps to obtain the physical
Use
main memory. address.
The logical address is flexible hence will keep changing Physical address of the object always remains
Flexibility
with the system from time to time. constant.
The user program can use the logical address to access The user program does not have the ability to
User
the physical address. view the physical address directly.
Physical address is not affected when the system
Rebooting Logic address is erased when the system is rebooted.
is rebooted.
Example 192.168.20.2(IPV4/IPV6) 00-10-5A-44-12--B5 (48 bit,6 byte )
Logical Vs Physical Address
Reference: https://www.google.com/search?q=mac+address+example&tbm=isch&source=iu&ictx=1&fir=AcSg14XEihOvxM%252CbH_OqFLfsM5BxM%252C_&vet=1&usg=AI4_-kQDktfJgXu0c
MAC Address
IP Address
Addresses (Example)
Difference Between OSI and TCP/IP
Difference Between OSI and TCP/IP
Difference Between OSI and TCP/IP
References