comp network unit 2 notes
comp network unit 2 notes
Physical layer
Various physical media can be used for the actual transmission. They are roughly grouped into
Magnetic Media
Write data onto magnetic tape or removable media (e.g., recordable DVDs), and physically
transport. It is often more cost effective
Used in applications in which high bandwidth or cost per bit transported is the key factor. As
an example, consider the following case.
Assume an Ultrium tape of 200 gigabytes and a box of 60 x 60 x 60 cm which can store 1000 of
these tapes. So the total capacity of box is 200 terabytes or 1600 terabits. Assume the box of
tapes can be delivered anywhere in the United States in 24 hours.
1600000/3600=444 Gbps.
No computer network can even approach this. Cost of tape is $40 only and can be reused 10
times. So it is cheap also.
• Bandwidth characteristics of magnetic tape are excellent, the delay characteristics are poor.
• Transmission time is measured in minutes or hours, not milliseconds. For many applications
an on-line connection is needed.
Twisted-Pair Cable
A twisted pair consists of two insulated copper wires, typically about 1 mm thick. The wires
are twisted together in a helical form, just like a DNA molecule. The most common application
of the twisted pair is the telephone system.
1. Twisting is done because two parallel wires constitute a fine antenna. When the wires are
twisted, the waves from different twists cancel out, so the wire radiates less effectively.
2. When many twisted pairs are bundled together and encased in a protective sheath, the pairs in
these bundles would interfere with one another.
Properties
1. Twisted pairs can run several kilometers without amplification, but for longer distances,
repeaters are needed.
2. Twisted pairs can be used for transmitting either analog or digital signals.
3. The bandwidth depends on the thickness of the wire and the distance traveled, but several
megabits/sec can be achieved for a few kilometers in many cases.
Category-3 twisted pairs consist of two insulated wires gently twisted together.
Category-5 are similar to category-3 pairs, but with more twists per centimeter, which results in
less crosstalk and a better-quality signal over longer distances, making them more suitable for
high-speed computer communication.
Up-and-coming categories are 6 and 7, which are capable of handling signals with bandwidths of
250 MHz and 600 MHz, respectively.
All of these wiring types are often referred to as UTP (Unshielded Twisted Pair).
There is also bulky, expensive, shielded twisted pair cables are also available.
Co-Axial Cable
A coaxial cable consists of a stiff copper wire as the core, surrounded by an insulating material.
The insulator is encased by a cylindrical conductor, often as a closely-woven braided mesh. The
outer conductor is covered in a protective plastic sheath.
Properties
1. It has better shielding than twisted pairs, so it can span longer distances at higher speeds.
2. The construction and shielding give it a good combination of high bandwidth and excellent
noise immunity.
3. The bandwidth possible depends on the cable quality, length, and signal-to-noise ratio of the
data signal.
Modern cables have a bandwidth of close to 1 GHz. Coax is still widely used for cable television
and metropolitan area networks.
Fiber-Optic Cable
Fiber optic cables are similar to coax, except without the braid. At the center is the glass core
through which the light propagates. The core is surrounded by a glass cladding to keep all the
light in the core. Next comes, a thin plastic jacket to protect the cladding.
In multimode fibers the core is 50 microns in diameter and in single-mode fibers, the core is 8 to
10 microns.
• Light source: accepts an electrical signal, converts and transmits as light pulses.
Commonly used light sources are LEDs Semi-conductor lasers
• Detector : senses the light pulses converts and transmits it by light pulses, and converts it
back to electrical signal
This transmission system would leak light and be useless in practice except for an interesting
principle of physics.
For angles of incidence above a certain critical value, the light is reflected back into the silica;
none of it escapes into the air.
➢ Thus, a light ray incident at or above the critical angle (41.8 deg) is trapped inside the fiber
and can propagate for many kilometers with virtually no loss.
Multimode Fiber
▪ Since any light ray incident on the boundary above the critical angle will be reflected
internally, many different rays will be bouncing around at different angles.
▪ Each ray is said to have a different mode, so a fiber having this property is called a
multimode fiber.
▪ Multi-mode cables can send information only over relatively short distances and are used to
link computer networks together.
Single-Mode Fiber
▪ If the fiber's diameter is reduced to a few wavelengths of light, the light can propagate only
in a straight line, without bouncing, yielding a single-mode fiber.
▪ Cable TV, Internet, and telephone signals are generally carried by single-mode fibers,
wrapped together into a huge bundle. Cables like this can send information over 100 km (60
miles).
The attenuation of light through glass depends on the wavelength of the light + physical
properties of the glass.
Fiber-Optic Networks
Fiber optics can be used for LANs as well as for long transmission. One way to connect
computers in fiber is a ring network (just a collection of point-to-point links)
The interface at each computer passes the light pulse stream through to the next link and allows
the computer to send and accept messages. Two types of interfaces are used.
• Passive interface
• Active repeater
A passive interface
It consists of two taps fused onto the main fiber. One tap has an LED or laser diode at the end of
it (for transmitting), other has a photodiode (for receiving).
The tap is passive and reliable. A broken LED or photodiode does not break the ring. It just
takes one computer off-line.
The passive interfaces lose light at each junction. So number of computers and total ring length
are greatly restricted.
Active repeater
▪ The incoming light is converted to an electrical signal, regenerated to full strength if it has
been weakened, and retransmitted as light.
▪ Since signal is regenerated at each interface, the individual computer-to-computer links can
be kilometers long.
▪ If an active repeater fails, the ring is broken and the network goes down.
Properties of Fiber
▪ Higher bandwidths.
▪ low attenuation (repeaters are needed only about every 50 km on long lines)
▪ Not being affected by power surges (pitch), electromagnetic interference, or power failures,
Corrosive (acidic) chemicals in the air, making it ideal for harsh factory environments.
Problems
WIRELESS TRANSMISSION
▪ For users those who want to access networks on the go, twisted pair, coax, and fiber optics
are of no use. Wireless communication is the answer to them.
▪ When electrons move, they create electromagnetic waves that travel thru space.
▪ When an antenna of appropriate size is attached to an electrical circuit, the
electromagnetic waves can be broadcast efficiently and received by a receiver some
distance away.
Frequency
▪ The number of oscillations per second of a wave is called its frequency, f, and is measured
in Hz
Wavelength
▪ The distance between two consecutive maxima (or minima) is called the wavelength.
Denoted by the Greek letter l (lambda).
In vacuum, all electromagnetic waves travel at the same speed, usually called the speed of
light, c, is approximately 3 x 108 m/sec. In copper or fiber the speed slows to about 2/3 of this
value and becomes slightly frequency dependent.
The radio, microwave, infrared, and visible light portions of the spectrum can all be used for
transmitting information by modulating the amplitude, frequency, or phase of the waves.
UV, X-ray and gamma rays can carry more information but,
RADIO WAVES
• At high frequency : they travel in straight lines , bounce off obstacles, and absorbed by
rain
Advantage
Disadvantage
• Interference of signals
• less secure
(a) In the VLF, LF, and MF bands, radio waves follow the curvature of the earth.
MICROWAVE TRANSMISSION
▪ Above 100 MHz, the waves travel in nearly straight lines. They do not pass thru buildings
well. Concentrating all energy into a single beam gives a much higher SNR (signal-to-noise
ratio) but, the transmitting and receiving antennas must be aligned properly.
▪ Before fiber optics, for decades these microwaves formed the heart of the long-distance
telephone transmission system and it is inexpensive.
▪ Since MW travel in a straight line, if the towers are too far apart, Repeaters are required
periodically.
▪ The higher the towers are, the farther apart they can be.
▪ Even though MW travel in a straight line. There is some divergence in the space.
Some waves may be refracted off low-lying atmospheric layers and may take slightly longer
to arrive than the direct waves. The delayed waves may arrive out of phase with the direct
wave and thus cancel the signal. This effect is called multi-path fading.
Applications of Microwave
▪ A more modern application is to connect the LANs in two buildings via lasers mounted on
their rooftops.
▪ Coherent optical signaling using lasers is inherently unidirectional, so each building needs its
own laser and its own photo detector.
Advantage
Disadvantage
COMMUNICATION SATELLITES
Note: There are about 750 satellites in the space; most of them are used for communication.
Communication satellites
Another frequency (in rebroadcast) is to avoid interference with the incoming signal. This mode
of operation is known as a bent pipe.
The downward beams can be of broad, covering fraction of the earth's surface and narrow,
covering only hundreds of kilometers.
3. Orbital period
Orbital period is the time it takes a planet to go around its star once. An orbit is the
gravitationally curved path of one object around a point or another body
4. Positioning
An issue in positioning satellite is the presence of Van Allen belts. A Van Allen belt is layers of
highly charged particles trapped by the earth's magnetic field. Any satellite flying within them
would be destroyed fairly quickly.
These factors lead to three regions in which satellites can be placed safely.
• A few GEOs can cover most of the surface of the earth. At the Geostationary orbit the
satellite covers 42.2% of the earth’s surface. Theoretically 3 geostationary satellites
provides 100% earth coverage
• Since they appear stationary, GEOs do not require tracking (determination of position
and velocity).
Foot print
The coverage area of a beam on the Earth is referred to as the footprint.
Spot beam
A tightly focused satellite radio beam designed to cover an area more limited than that of the
entire satellite footprint.
Because satellites have a limited number of frequencies to use, the ability to re-use a frequency
for different geographical locations allows for more local channels to be carried, since the same
frequency can be used in several regions.
Station keeping
The effects of solar, lunar, and planetary gravity tend to move the satellites away from their
assigned orbit slots and orientations. This activity is called station keeping. (The Process of
keeping a satellite in geosynchronous orbit within assigned boundaries is known as station
keeping).
A new development in communication satellite is VSATs (Very Small Aperture Terminals) are
low-cost micro stations.
In VSAT, micro stations have no enough power to communicate directly with one another (via
the satellite, of course). A special ground station, the hub, with a large, high-gain antenna is
needed to rely traffic between VSATs.
Properties of communication satellites
3. Low cost
Problems
1. Security and privacy - everybody can hear everything. So, Encryption is essential when
security is required.
2. Round-trip distance - the long round-trip distance introduces a substantial delay for GEO
satellites. It depends on the distance between the user and the ground station and the elevation
(height) of the satellite above the horizon
Example of MEO:
▪ Due to rapid motion, large numbers of them are needed for a complete system,
1. Commercial telecommunication,
2. Television broadcasters,
3. governments,
4. military
Need a piece of the orbiting pie. To prevent confusion in the sky, orbit slot allocation is done by
ITU. Some countries maintain national property rights.
To avoid contention for Frequencies (because the downlink transmissions interfere with existing
microwave users).
I) The C band
3. Already overcrowded
Problem of Ku
Several widely separated ground stations, extra antennas, extra cables, and extra electronics to
enable rapid switching between stations will avoid the problem
In addition to these commercial bands, many government and military bands also exist.
To connect two computers close to each other it is easy to run a cable between them. But for long
distances cables have to pass through a public road and it may result in high costs.
So, network designers must rely on the existing PSTN (Public Switched Telephone Network)
Soon after Alexander Graham Bell patented the telephone in 1876, initial market was for the
sale of telephones, which came in pairs.
A telephone owner wanted to talk to n other telephone owners, had to be strung separate
wires to all n houses.
Within a year, the cities were covered with wires passing over houses and trees in a wild
jumble.
Centralized switch
To solve the Fully-interconnected network problem Bell Telephone Company was opened its
first switching office.
To make a call, the customer call to switching office and an operator in office manually connect
the caller to the callee by using a jumper cable.
To make long-distance calls between cities Bell system began to connect the switching
offices.
Connecting every switching office to every other switching office by means of a wire became
unmanageable.
After a while, multiple second-level offices were needed and the hierarchy grew to five
levels.
The three major parts of the telephone system are,
Each telephone has two copper wires coming out of it that go directly to the telephone
company's nearest end office (also called a local central office). The distance is
typically 1 to 10 km, being shorter in cities than in rural areas.
The two-wire connections between each subscriber's telephone and the end office are
known as the local loop.
Each end office has a number of outgoing lines to one or more nearby switching centers,
called toll offices (or if they are within the same local area, tandem offices).
Toll offices are connected by primary, sectional, and regional offices those are connected
by high-bandwidth intertoll trunks
Transmission media used in local loops is category 3 twisted pairs, between switching offices are
coaxial cables, microwaves, and fiber optics.
The 23 BOCs were grouped into seven regional BOCs (RBOCs) to make them
economically viable.
This event led to increased competition, better service, and lower long distance prices to
consumers and businesses.
LATA
The United States was divided up into 164 LATAs (Local Access and Transport Areas).
Within a LATA, there was one LEC (Local Exchange Carrier) - had a monopoly on
telephone service within its area.
IXC
For AT&T Long Lines, WorldCom and Sprint are well-established competitors in the
IXC business.
POP
Any IXC that wishes to handle calls originating in a LATA can build a switching office
called a POP (Point of Presence) there.
The LEC is required to connect each IXC to every end office, either directly, as in
LATAs 1 and 3, or indirectly, as in LATA 2.
Neither cable television nor mobile phones were covered by the agreement.
So, both LECs and IXCs began buying up or merging with cable and mobile operators.
Finally, any company could then offer its customers a single integrated package
containing cable TV, telephone, and information services and those different companies
would compete on service and price.
An end office has up to 10,000 local loops (in the U.S. and other large countries).
In fact, until recently, the area code + exchange indicated the end office,
so (212) 601-xxxx was a specific end office with 10,000 subscribers, numbered 0000
through 9999.
With the advent of competition for local service, this system was no longer tenable
because multiple companies wanted to own the end office code.
Also, the number of codes was basically used up, so complex mapping schemes had to be
introduced.
When a computer wishes to send digital data over an analog dial-up line, the data must
first be converted to analog form for transmission over the local loop.
At the telephone company end office the data are converted to digital form for
transmission over the long-haul trunks.
Attenuation
Loss of energy as the signal propagates outward. The loss is expressed in decibels per kilometer.
Distortion: Speed difference leads to distortion of the signal received at the other end.