Advanced Computer Networks
Advanced Computer Networks
COMPUTER NETWORKS
Grading
Grading Policy
• Quizzes
• Assignments
• Mid term Exam
• Final Exam
Introduction to Computer Networks
INTRODUCTION TO COMPUTER
NETWORKS
Introduction to Computer Networks
Computer Networks
•A computer network is a
set of computers connected
together for the purpose of
sharing resources.
•The most common resource
shared today is connection
to the Internet.
•Other shared resources can
include a printer or a file
server
Introduction to Computer Networks
Internet Connections
• Internet backbone
– A set of high-speed networks that carry
Internet traffic
– These networks are provided by companies
such as AT&T, GTE, and IBM
Internet Connections
• There are various technologies available
that you can use to connect a home
computer to the Internet
– A phone modem converts computer data into
an analog audio signal for transfer over a
telephone line, and then a modem at the
destination converts it back again into data.
– A digital subscriber line (DSL) uses regular
copper phone lines to transfer digital data to
and from the phone company’s central office
– A cable modem uses the same line that your
cable TV signals come in on to transfer the
data back and forth
Introduction to Computer Networks
Internet Connections
• Broadband A connection in which transfer
speeds are faster than 128 bits per
second
– DSL connections and cable modems are
broadband connections
– The speed for downloads (getting data from
the Internet to your home computer) may not
be the same as uploads (sending data from
your home computer to the Internet)
Introduction to Computer Networks
Applications of Networks
• Resource Sharing
– Hardware (computing resources, disks, printers)
– Software (application software)
• Information Sharing
– Easy accessibility from anywhere (files, databases)
– Search Capability (WWW)
• Communication
– Email
– Message broadcast
• Remote computing
• Distributed processing (GRID Computing)
Introduction to Computer Networks
Network Topology
• The network topology
defines the way in which
computers, printers, and
other devices are
connected. A network
topology describes the
layout of the wire and
devices as well as the
paths used by data
transmissions.
Introduction to Computer Networks
Bus Topology
• Commonly referred to as
a linear bus, all the
devices on a bus
topology are connected
by one single cable.
Introduction to Computer Networks
Ring Topology
• A 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.
• Used by banks and
financial institutions.
• Implementing the mesh
topology is expensive
and difficult.
Introduction to Computer Networks
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).
Introduction to Computer Networks
Networking Devices
• HUB, Switches, Routers,
Wireless Access Points,
Modems etc.
Introduction to Computer Networks
Networking Protocol
• A network protocol defines rules and
conventions for communication between
network devices.
• Network protocols include mechanisms
for devices to identify and make
connections with each other, as well as
formatting rules that specify how data
sent and received messages.
• Some protocols also support message
acknowledgment and data compression
designed for reliable and/or high-
performance network communication.
Introduction to Computer Networks
Networking Protocol
• Network communication protocols: Basic
data communication protocols, such as
TCP/IP and HTTP.
• Network security protocols: Implement
security over network communications
and include HTTPS, SSL and SFTP.
• Network management protocols: Provide
network governance and maintenance
and include SNMP and ICMP.
Introduction to Computer Networks
• Disadvantages
– Overheads
– Increased interrupts at receiver
– More processing time
Connection Control
• Connection Establishment
• Data transfer
• Connection termination
• May be connection interruption and recovery
• Sequence numbers used for
– Ordered delivery
– Flow control
– Error control
– Congestion control
Connection Oriented Data
Transfer
Flow Control
• Done by receiving entity
• Limit amount or rate of data
• Stop and wait
• Credit systems
– Sliding window
• Needed at application as well as network
layers
Error Control
• Guard against loss or damage
• Error detection
– Sender inserts error detecting bits
– Receiver checks these bits
– If OK, acknowledge
– If error, discard packet
• Retransmission
– If no acknowledge in given time, re-transmit
• Performed at various levels
Addresses
Four levels of addresses are used in an
internet employing the TCP/IP protocols:
physical address, logical address, port
address, and application-specific address.
Each address is related to a one layer in the
TCP/IP architecture.
Addresses in the TCP/IP protocol suite
Books
• Text Book
– William Stallings, “ Data & Computer
Communications” 8th Edition, Prentice Hall
• Reference Book
– Computer Networking: A Top-Down Approach (5th
Edition) by James F. Kurose and Keith W. Ross
– Computer Networks: A Systems Approach
(4th Edition) by Larry L. Peterson and Bruce
S. Davie