Professional Documents
Culture Documents
Introduction
to
Computer Networks and the Internet
Chapter 1: roadmap
mobile network
home
2. Provides programming network
interface to apps regional ISP
institutional
network
1-3
Infrastructure that provides services to Applications
Applications include
Electronic mail, Web surfing, social networks, instant messaging, video
streaming, distributed games, peer-to-peer (P2P) file sharing, and much, much
more.
The applications are said to be Distributed applications, since they involve
multiple end systems that exchange data with each other.
Although packet switches facilitate the exchange of data among end systems,
they are not concerned with the application that is the source or sink of data.
Explanation
Suppose you have an exciting new idea for a distributed Internet application.
How might you go about transforming this idea into an actual Internet application?
Because applications run on end systems, you are going to need to write programs
that run on the end systems.
Write your programs in Java, C, or Python.
Now, because you are developing a distributed Internet application, the programs
running on the different end systems will need to send data to each other.
How does one program running on one end system instruct the Internet to deliver
data to another program running on another end system?
Internet as a platform for applications
End systems attached to the Internet provide an Application Programming
Interface (API) that specifies how a program running on one end system asks the
Internet infrastructure to deliver data to a specific destination program running on
another end system.
Internet API is a “Set of Rules” that the sending program must follow so that the
Internet can deliver the data to the destination program.
Access networks, also known as the last mile, consist of the media through
which end systems connect to the Internet.
In other words, access networks are networks that physically connect end
systems to the first router on a path which connects them to some other end
systems.
Network Interface Adapter
The network interface adapter enables a computer to attach to a network.
Since there are so many different types of networks, network adapters are used so that the user
can install one to suit the network to which they want to attach.
Network interfaces also usually have an address associated with them. One machine may have
multiple such interfaces.
These interfaces are essentially the physical gateways that connect devices to the Internet.
Digital Subscriber Line (DSL)
Cable Internet
Fiber To The Home (FTTH)
Dial-Up
Satellite
WiFi
https://www.youtube.com/watch?v=m9evUZtkEAc
Types of Access Networks
Digital Subscriber Line: DSL
DSL uses the existing groundwork of telephone lines for an Internet connection. DSL connections are
generally provided by the same company that provides local wired phone access.
The telephone company or telco is the Internet Service Provider or ISP in the case of DSL!
https://www.youtube.com/watch?v=74_5Chu_2eo
Siemens DSLAM SURPASS hiX 5625
A DSLAM (Digital Subscriber Line Access Multiplexer) is a network
device, usually at a telephone company central office, that receives
signals from multiple customer Digital Subscriber Line (DSL) connections
and puts the signals on a high-speed backbone line using multiplexing
techniques.
Introduction 1-14
Cable Internet
In the case of cable Internet, the TV cable company is the ISP and it relies on the
preexisting infrastructure of cable TV to grant Internet access.
It runs on coaxial cable.
Coaxial cable has enough of a frequency range to carry TV channels and a stream of
upstream and downstream Internet.
How It Works
In essence, cable Internet works very similarly to DSL.
A device on both the user’s end and the ISP’s end modulates the analog signals to digital
and vice versa.
Slower During Peak Hours
However, cable Internet can be slower during peak hours, when a majority of users are
online at once. This is because cable Internet is a shared broadcast medium: every
signal that comes from the ISP is sent to every single home regardless of which one it
was meant for.
Access net: cable network
cable headend
cable splitter
modem
C
O
V V V V V V N
I I I I I I D D T
D D D D D D A A R
E E E E E E T T O
O O O O O O A A L
1 2 3 4 5 6 7 8 9
Channels
to/from headend or
central office
often combined
in single box
institutional link to
ISP (Internet)
institutional router
Introduction 1-19
Wireless access networks
• shared wireless access network connects end system to router
• via base station aka “access point”
to Internet
to Internet
Introduction 1-20
COMMUNICATION MEDIA
Data needs to be transmitted from one end system to another over a medium.
There are two kinds of media:
Guided
Unguided bit: propagates between
Each has its own advantages and disadvantages. transmitter/receiver pairs
physical link: what lies
between transmitter &
receiver
guided media:
signals propagate in solid media:
copper, fiber, coax
unguided media:
signals propagate freely, e.g., radio
Guided Media
Fiber Optics
Fiber optic cables carry light instead of electrical signals.
Metallic media suffer from electrical noise and interference from
nearby electrical sources such as mains wiring.
Since optical fiber carries signals in the form of light, it is not
susceptible to the abundant electrical noise and interference.
Optical fibers are frequently used in public and enterprise networks
when the distance between the communication devices is larger
than one kilometer.
The Internet Is Under the Sea, Not in the Clouds!
Most cross country connections, in fact, are made over fiber optic cable
under the sea.
https://www.youtube.com/watch?v=Ve810FHZ1CQ
Unguided Media
Means of transmission that are not bound by a confined pathway are
called unguided media, such as radio waves.
9A-29
Ethernet
Most LANs consist of end hosts connected using Ethernet network adapters to Ethernet
switches. Every Ethernet switch has a limited number of ports, and therefore can
interconnect a limited number of end hosts. Larger networks within a building are
built using multiple Ethernet switches interconnecting different sets of end hosts.
These switches may then be connected to each other and the Internet
WiFi
In Wireless LANs or WLANs, a wireless router interconnects different “subnets” and/or
may have connectivity to the Internet, which it can extend to the hosts connected to
it.
.
MAN
MAN (Metropolitan Area Network) is a larger network that usually extents
several buildings in the same city or town.
In Metropolitan area network various Local area networks are connected with
each other through telephone lines.
The size of the Metropolitan area network is larger than LANs and smaller than
WANs(wide area networks), a MANs covers the larger area of a city or town.
9A-31
WAN
WAN (Wide area network) provides long distance transmission of data.
The size of the WAN is larger than LAN and MAN.
A WAN can cover country, continent or even a whole world. Internet
connection is an example of WAN.
Other examples of WAN are mobile broadband connections such as 3G,
4G etc.
9A-32
Wide Area Networks (WAN)
SONET/SDH
Synchronous optical networking (SONET) and the international
equivalent, Synchronous Digital Hierarchy (SDH) carries data as optical
signals over optical fiber, which means that they can cover large distances.
These technologies are incredibly prevalent today.
Frame Relay
A frame relay was a popular way to connect your LAN to the Internet or to
provide an interconnection between LANs at two or more company sites.
Type A
header
Payload Type A
header
Payload
ROUTER ROUTER
Significant
geographical
SERVER distance SERVER
Type A
header
Payload
LAN 1 LAN 2
WAN
Network Topologies
Types by Topology
A bus topology is a topology for a Local Area Network (LAN) in which all the
nodes are connected to a single cable.
Limitations
A break in the cable will disrupt the entire network.
Only one system can transmit at a time.
RING Topology
In this topology, end systems communicate with each other through each
other.
So the message travels along the ring passing each system until the target
system itself is reached.
Theoretically, n/2 systems can be transmitting to their adjacent neighbor
at the same time.
Limitations
The basic ring topology is unidirectional so n -1 end systems would have
to transfer messages for end system #1 to talk to end system #n
A break in the cable will disrupt the entire network.
Ring Topology
A ring topology is a network configuration
in which device connections create a
circular data path.
Each networked device is connected to
two others, like points on a circle.
Together, devices in a ring topology are
referred to as a ring network.
Tokens used to transmit data
In a ring network, packets of data travel
from one device to the next until they
reach their destination.
Most ring topologies allow packets to
travel only in one direction, called
a unidirectional ring network.
Others permit data to move in either
direction, called bidirectional.
STAR Topology
All end systems talk to each other through one central device such as a router or
switch.
Limitations
Hosts can all be transmitting at the same time. However, if the central device
fails, the network is completely down.
Star Topology
All nodes connect to a hub
Packets sent to hub
Hub sends packet to
destination
Advantages
Easy to setup
One cable can not crash
network
Disadvantages
One hub crashing downs
entire network
Uses lots of cable
TREE Topology
Limitations
The mesh topology (if physically realized as a mesh):
Is expensive
Hard to scale
Used in specialized applications only
Mesh Topology
CHAPTER N0.1