Lecture - 1
Lecture - 1
Lecture - 1
Course Content
• Chapter 1: Introduction to Computer Network
• Chapter 2: Physical Layer
• Chapter 3: Data link layer
• Chapter 4: Network Layer
• Chapter 5: Transport Layer
• Chapter 6: Application Layer
• Chapter 7: Introduction to IPV6
• Chapter 8: Network Security
References
Andrew S. Tanenbaum, Computer Network,
3rd Edition Prentice-Hall India,1997
W. Stallings “Data & Computer
Communication” Macmillan Press, 1989.
Grading Guidelines
Theory - Full marks – 20
Continuous tests - 8 marks,
Final assessment – 4 marks,
Attendance – 4 marks,
class presentation, assignments – 4marks
Objectives
To introduce fundamentals of computer networks
• Network definition
• Its advantages & disadvantages
• Fundamental network classification
• Network topology
• Network components
• Switching
• Protocol
• Applications
Network Definition
• A network can be defined as two or more
computers connected together in such a way
that they can share resources.
Client Client
Client Client
Client Client
MAN
WAN
Network Topology
Ring Topology
• Frame travels around the ring,
stopping at each node.
• If a node wants to transmit data, it
adds the data as well as the
destination address to the frame.
• The frame then continues around the
ring until it finds the destination node,
which takes the data out of the frame.
• Single ring – All the devices on the
network share a single cable
• Dual ring – The dual ring topology
allows data to be sent in both
directions.
Introduction to Computer Networks
Mesh Topology
• The mesh topology
connects all devices
(nodes) to each other for
redundancy and fault
tolerance.
• It is used in WANs to
interconnect LANs and for
mission critical networks
like those used by banks
and financial institutions.
• Implementing the mesh
topology is expensive and
difficult.
Network topology (cont.)
• Advantages and Disadvantages of Network Topologies
Network Components
• Physical Media
• Interconnecting Devices
• Computers
• Networking Software
• Applications
Introduction to Computer Networks
Networking Media
• Networking media can be
defined simply as the
means by which signals
(data) are sent from one
computer to another
(either by cable or wireless
means).
Types of Media(Medium)
• Guided Medium: waves are guided along a
solid medium path (twisted pair, coaxial cable,
and optical fiber).
• Unguided medium: waves are propagated
through the atmosphere and
inner/outerspace (satellite, laser, and wireless
transmissions).
Introduction to Computer Networks
Networking Devices
• HUB, Switches, Routers,
,Modems etc.
Hubs
• A hub is the place where data converges from
one or more directions and is forwarded out
in one or more directions.
• Seen in local area networks
Gateways
• A gateway is a network point that acts as an
entrance to another network.
• On the internet, in terms of routing, the network
consists of gateway nodes and host nodes.
• Host nodes are computer of network users and the
computers that serve contents (such as Web pages).
• Gateway nodes are computers that control traffic
within your company’s network or at your local
internet service provider (ISP)
Routers
• A router is a device or a software in a computer that
determines the next network point to which a packet
should be forwarded toward its destination.
• Allow different networks to communicate with each
other
• A router creates and maintain a table of the available
routes and their conditions and uses this information
along with distance and cost algorithms to determine
the best route for a given packet.
• A packet will travel through a number of network
points with routers before arriving at its destination.
Bridge
• a bridge is a product that connects a local area
network (LAN) to another local area network
that uses the same protocol (for example, bus
or token ring).
• A bridge examines each message on a LAN,
"passing" those known to be within the same
LAN, and forwarding those known to be on
the other interconnected LAN (or LANs).
What is the difference between?
• Bridge: device to interconnect two LANs
• Router: device to interconnect SIMILAR
networks, e.g. similar protocols and
workstations and servers
• Gateway: device to interconnect DISSIMILAR
protocols and servers, and Macintosh and IBM
LANs and equipment
Switches
• Allow different nodes of a network to
communicate directly with each other.
• Allow several users to send information over a
network at the same time without slowing
each other down.
Network Interface Card (NIC)
• Every computer and most devices (e.g.
a network printer) is connected to
network through an NIC.
• In most desktop computers, this is an
Ethernet card (10 or 100 Mbps) that is
plugged into a slot on the computer
motherboard.
Peer-to peer network
• A peer-to-peer network is a network where the computers
act as both workstations and servers.
• great for small, simple, and inexpensive networks.
• In a strict peer-to-peer networking setup, every computer
is an equal, a peer in the network.
• Each machine can have resources that are shared with any
other machine.
• There is no assigned role for any particular device, and
each of the devices usually runs similar software.
• Any device can and will send requests to any other.
Peer-to peer network (cont..)
Disadvantages – Peer to Peer
• Security for only a single resource at a
time
• Users may need to know many passwords
• Individual machine backups
• Speed decreases while sharing
• No central location/access of data
Client/Server Networking
43
Protocol
• a formal set of rules, conventions and data
structure that governs how computers and
other network devices exchange information
over a network.
• In other words, protocol is a standard procedure
and format that two data communication
devices must understand, accept and use to be
able to talk to each other
• E.g. TCP/IP, UDP, ARP etc.
Contd…
• Node: anything connected to the network, usually
a computer, but it could be a printer or a scanner
• Segment: any portion of a network that is
separated by a switch, bridge or a router from
another part of a network.
• Backbone: the main cabling of a network that all
of the segment connect to. Usually, the backbone
is capable of carrying more information than the
individual segments.
Networking Protocol: TCP/IP
Applications
E-mail
Searchable Data (Web Sites)
E-Commerce
News Groups
Internet Telephony (VoIP)
Video Conferencing
Chat Groups
Instant Messengers
Internet Radio