12 Soft Skills That Pay Your Forever
12 Soft Skills That Pay Your Forever
Basics of Networking
PUTTASWAMY B S
Assistant Professor
Dept. of CS&BS
Networking
• Networking refers to the linking of computers and communication network devices (referred to as
hosts), which interconnect through a network (Internet or Intranet) and are separated by unique
• These hosts may be connected by a single path or through multiple paths for sending and
receiving data.
• The data transferred between the hosts may be text, images, or videos, which are in the form of
binary.
Network Types
1) Type of connection
2) Physical topology
• These classifications are helpful in deciding the requirements of a network setup and
provide insights into the appropriate selection of a network type for the setup.
Network Types
1. Connection types
Depending on the way a host communicates with other hosts, computer networks are;
1. Point-to-point
2. Point-to-multipoint.
Point-to-multipoint
Network Types
1. Connection types
1. Point-to-point
• Point-to-point connections are used to establish direct connections between two hosts.
• These networks were designed to work over duplex links and are functional for both
2. Point-to-multipoint
• In a point-to-multipoint connection, more than two hosts share the same link.
• The channel is shared between the various hosts, either spatially or temporally.
• Each of the spectral and temporal sharing approaches has various schemes and protocols for
Depending on the physical manner in which communication paths between the hosts are
connected, computer networks can have the following four broad topologies
1) Star
2) Mesh
3) Bus
4) Ring
2. Physical topology Network Types
Star Mesh
Bus Ring
Network Types
1. STAR Topology
Advantages
• Easy installation and ease of fault identification within the network.
• Link failures between a host and the hub do not effect on the
network, except for the host that is affected.
Disadvantages
• In star topology, every host has a point-to-point link to a central controller or hub.
• The hosts cannot communicate with one another directly, they can only do through the central hub.
• The hub acts as the network traffic exchange.
• For large-scale systems, hub, has to be a powerful server to handle all the traffic.
• As there are fewer links (only one link per host), this topology is cheaper and easier to set up.
Network Types
2. MESH Topology
• Every host is connected to every other host using a dedicated link (in a point-to-point manner).
• This implies that for n hosts in a mesh, there are a total of n (n-1)=2 dedicated full duplex links
between the hosts.
• This massive number of links makes the mesh topology expensive.
Advantages
• Robustness and Resilience of the system.
• If a link is down, the network is still fully functional.
• Security and Privacy: Data is only seen by the intended recipients and
not by all members of the network.
• Reduced data load on a single host, as every host in this network takes
care of its traffic load.
Disadvantages
• Owing to the complexities in forming physical connections and the cost of establishing
these links, mesh networks are used very selectively, such as in backbone networks.
Network Types
3. BUS Topology
• Bus topology uses a single cable which connects all the included
nodes.
• The main cable acts as a spine / backbone for the entire network.
• One of the computers in the network acts as the computer server.
• The hosts are connected to the main bus employing drop lines or
taps.
Advantages
• Ease of installation.
• Cost of the cable is very less as compared to other topology
Disadvantages
Disadvantages
• Expensive, difficult to install and manage.
• High probability of a single point of failure & If one repeater fails,
the whole network goes down.
Table 1.1 Network topology comparison
Network reachability
Network reachability
PAN (Personal Area Network)
• The PAN, used for interconnecting the devices which are
meters.
Network reachability
LAN (Local Area Network)
• LANs range from 100 Mbps to 1000 Mbps, with very high
fault-tolerance levels.
within a city.
computer networking.
based links.
• Two of the most commonly accepted and used traditional layered network
OSI Model
systems without requiring changes to the logic of the underlying hardware &
Software.
OSI Model
Interconnection.
perform.
Device A Device B
OSI Model
Layered network models
• The network layer works for the transmission of data from one
host to the other located in different networks.
• It takes care of packet routing i.e. selection of the shortest path
to transmit the packet, from the number of routes available.
• The sender & receiver’s IP addresses are placed in the header
by the network layer.
• The primary tasks of this layer include addressing, sequencing
of packets, congestion control, error handling, and
Internetworking.
The protocol data unit associated with this layer is referred to as a segment or datagram.
Layered network models
The protocol data unit associated with this layer is referred to as data.
Layered network models
The protocol data unit associated with this layer is referred to as data.
Layered network models
The protocol data unit (PDU) associated with this layer is referred to
as data.
OSI Model
Internet Protocol suite or TCP/IP
TCP/IP model, was designed and developed by Department of Defence (DoD) in 1960s and is based on
standard protocols.
1. Process/Application Layer
2. Host-to-Host/Transport Layer
3. Internet Layer
1. Application Layer
• This layer performs the functions of top three layers of the OSI model: Application, Presentation and
Session Layer.
• It is responsible for node-to-node communication and controls user-interface specifications.
• Some of the protocols present in this layer are: HTTP, HTTPS, FTP, TFTP, Telnet, SSH, SMTP, SNMP,
NTP, DNS, DHCP, NFS, X Window, LPD.
Internet Protocol suite or TCP/IP
2. Transport Layer
The main protocols residing at this layer are: IP, ICMP & ARP.
1. IP: Internet Protocol and it is responsible for delivering packets from the source to the destination by looking at the IP
addresses in the packet headers.
• IP has 2 versions: IPv4 and IPv6.
• IPv4: most of the websites are using currently.
• IPv6 is growing as the number of IPv4 addresses are limited.
• It is the combination of Data Link Layer and Physical Layer of the OSI model.
• It looks out for hardware addresses.
• the protocols present in this layer allows for the physical transmission of data.
Difference between TCP/IP and OSI Model
TCP/IP OSI
TCP refers to Transmission Control Protocol. OSI refers to Open Systems Interconnection.
TCP/IP does not have very strict boundaries. OSI has strict boundaries
Transport layer in TCP/IP does not provide assurance In OSI model, transport layer provides assurance
delivery of packets delivery of packets
TCP/IP model network layer only provides connection Connection less and connection oriented both services
less services are provided by network layer in OSI model
➢ Introduction
➢ Evolution of IoT
• Relate new concepts with concepts learned earlier to make a smooth transition to IoT
• List the reasons for a prevailing universal networked paradigm, which is IoT
• Compare and correlate IoT with its precursors such as WSN (Wireless Sensor Network),
• Recognize the unique features of IoT which set it apart from other similar paradigms
Internet of things (IoT)
✓Internet of Things (IoT) is the network of smart physical objects
analyze the collected data to extract new insight and respond accordingly.
The General components of IoT Applications
Global trend and projection of connected
devices
Introduction
environment intelligently.
The compound annual growth rate (CAGR) of the IoT market
1974
The sequence of technological developments leading to the shaping of the modern- day IoT
magnetism, or chemicals
• Connected Vehicles: self-diagnose themselves and alert owners about system failures
• Smart Cities: implementation of smart sensing, monitoring, and actuation systems
• Smart Dust: microscopic computers
• Smart Factories: monitor plant processes, assembly lines, distribution lines, etc., all on their own
• UAV: Agriculture, surveys, surveillance, deliveries, stock maintenance, asset management
Technological interdependencies of IoT with other domains
manufacturing industry
of industrial systems.
other tasks while maintaining confidentiality and privacy of its user’s data.
• E.g: Bitcoin
IoT versus M2M
M2M IoT
M2M is about direct communication between IOT is about Sensors, Automation & Internet
Machines Platform
CPS integrate actuators & sensors with Scope of IoT is not limited to just connecting
networking technologies, work in the feedback things; it allows things to communicate and
loop using human intervention, their behaviour exchange data, which can be analysed and
could be changed based on user’s requirements. processes further into meaningful information.
IoT versus WoT
WoT IoT
Enables access and control over IoT resources IoT is a networked world of interconnected
and applications devices, objects, and people
It is a software layer to connect everything to the It is a hardware layer to connect everything to the
web using standard web protocols internet
1. Services
2. Local connectivity
3. Global connectivity
4. Processing
Enabling IoT and the Complex Interdependence of
Technologies
1. Service Plane is composed of two parts:
1) Things or Devices
2) Low-power connectivity.
Example:
• Any IoT application requires the basic setup of sensing, and a low-
power, low-range network, built upon the IEEE 802.15.4 protocol.
2. Local Connectivity
3. Global Connectivity
up this plane.
4. Processing
4. Processing
The sub-domains of this plane;
• Intelligence
information obtained)
IoT Networking Components
An IoT implementation is composed of several components, may vary with their application domains.
1. IoT node
2. IoT router
3. IoT LAN
4. IoT WAN
5. IoT gateway
6. IoT proxy.
A typical IoT network ecosystem highlighting the various networking components from IoT nodes to the Internet
IoT Networking Components
Various IoT nodes within an IoT LAN are configured to one another as well as talk to the IoT router whenever they are in
• Each IoT LAN has its own unique identifier, which is denoted by IoT LAN-x.
Figure
• A router acts as a connecting link between LAN by forwarding messages from the LAN to the IoT gateway or
• It is possible to include features such as firewalls, packet filters, and other security measures besides the
• Various gateways connect to an IoT WAN, which links these devices to the Internet.
• This network may be wired or wireless; however, IoT deployments heavily rely on wireless solutions.
• Wireless technology is the only feasible and neat-enough solution to avoid the hassles of laying wires and
IoT Node
• These are the networking devices (made up of a sensor, a processor, and a radio).
• These devices communicates with the network infrastructure (either within the LAN or outside it).
• The nodes may be connected to other nodes inside a LAN directly or by means of a common
IoT Router
IoT LAN
• The LAN enables local connectivity within the purview of a single gateway.
IoT WAN
• They are typically organizationally and geographically wide, with their operational range lies
• IoT WANs connect to the Internet and enable Internet access to the segments (LAN)
IoT Networking Components
IoT Gateway
• An IoT gateway is a router connecting the IoT LAN to a WAN or the Internet.
• Their primary task is to forward packets between LANs and WANs, and the IP layer using
only layer 3.
IoT Networking Components
IoT Proxy
• Proxies performs application layer functions between IoT nodes and other entities.
• Application layer proxies are a means of providing security to the network entities under it.