Docsity

Computer Networks unit II, Lecture notes of Computer Networks

Toggle sidebar
bg1
COMPUTER NETWORKS UNIT II
[AUTHOR NAME]
1
Unit II
Syllabus
Physical Layer: Transmission modes, DTE-DCE Interface, Modems, Guided media, Unguided
media, Performance, Multiplexing, Switching, DSL, FTTC.
Transmission Modes
Transmission media can be defined as physical path between transmitter and receiver in a
data transmission system.
• Guided: Transmission capacity depends critically on the medium, the length, and
whether the medium is point-to-point or multipoint (e.g. LAN). Examples are coaxial
cable, twisted pair, and optical fiber.
• Unguided: provides a means for transmitting electro-magnetic signals but do not
guide them. Example wireless transmission.
Characteristics and quality of data transmission are determined by medium and signal
characteristics. For guided media, the medium is more important in determining the
limitations of transmission. While in case of unguided media, the bandwidth of the
signal produced by the transmitting antenna and the size of the antenna is more
important than the medium. Signals at lower frequencies are omni-directional
(propagate in all directions).
For higher frequencies, focusing the signals into a directional beam is
possible. These properties determine what kind of media one should use in a particular
application.
Guided Transmission Media
Commonly used guided transmission media include twisted-pair of cable, coaxial cable and
optical fiber.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Computer Networks unit II and more Lecture notes Computer Networks in PDF only on Docsity!

Unit II Syllabus Physical Layer: Transmission modes, DTE-DCE Interface, Modems, Guided media, Unguided media, Performance, Multiplexing, Switching, DSL, FTTC. Transmission Modes Transmission media can be defined as physical path between transmitter and receiver in a data transmission system.

  • Guided : Transmission capacity depends critically on the medium, the length, and whether the medium is point-to-point or multipoint (e.g. LAN). Examples are coaxial cable, twisted pair, and optical fiber.
  • Unguided: provides a means for transmitting electro-magnetic signals but do not guide them. Example wireless transmission. Characteristics and quality of data transmission are determined by medium and signal characteristics. For guided media, the medium is more important in determining the limitations of transmission. While in case of unguided media, the bandwidth of the signal produced by the transmitting antenna and the size of the antenna is more important than the medium. Signals at lower frequencies are omni-directional (propagate in all directions). For higher frequencies, focusing the signals into a directional beam is possible. These properties determine what kind of media one should use in a particular application.

Guided Transmission Media

Commonly used guided transmission media include twisted-pair of cable, coaxial cable and optical fiber.

  • Twisted Pair In twisted pair technology, two copper wires are strung between two points: o The two wires are typically twisted'' together in a helix to reduce interference between the two conductors as shown in Fig. above. Twisting decreases the crosstalk interference between adjacent pairs in a cable. Typically, a number of pairs are bundled together into a cable by wrapping them in a tough protective sheath. o Can carry both analog and digital signals. Actually, they carry only analog signals. However, theanalog'' signals can very closely correspond to the square waves representing bits, so we often think of them as carrying digital data. ▪ Data rates of several Mbps common. ▪ Spans distances of several kilometers. ▪ Data rate determined by wire thickness and length. In addition, shielding to eliminate interference from other wires impacts signal-to-noise ratio, and ultimately, the data rate. ▪ Good, low-cost communication. Indeed, many sites already have twisted pair installed in offices -- existing phone lines! Typical characteristics: Twisted-pair can be used for both analog and digital communication. The data rate that can be supported over a twisted-pair is inversely proportional to the square of the line length. Maximum transmission distance of 1 Km can be achieved for data rates up to 1 Mb/s. For analog voice signals, amplifiers are required about every 6 Km and for digital signals, repeaters are needed for about 2 Km. To reduce interference, the twisted pair can be shielded with metallic braid. This type of wire is known as Shielded Twisted-Pair (STP) and the other form is known as Unshielded Twisted-Pair (UTP). Use: The oldest and the most popular use of twisted pair are in telephony. In LAN it is commonly used for point-to-point short distance communication (say, 100m) within a building or a room.

Base Band Coaxial

With ``coax'', the medium consists of a copper core surrounded by insulating material and a braided outer conductor as shown in Fig. The term base band indicates digital transmission (as opposed to broadband analog).

  • Total available spectrum typically divided into smaller channels of 6 MHz each. That is, to get more than 6MHz of bandwidth, you have to use two smaller channels and somehow combine the signals.
  • Requires amplifiers to boost signal strength; because amplifiers are one way, data flows in only one direction. Two types of systems have emerged:
  1. Dual cable systems use two cables, one for transmission in each direction: a. One cable is used for receiving data. b. Second cable used to communicate with headend. When a node wishes to transmit data, it sends the data to a special node called the headend. The headend then resends the data on the first cable. Thus, the headend acts as a root of the tree, and all data must be sent to the root for redistribution to the other nodes.
  2. Midsplit systems divide the raw channel into two smaller channels, with each sub channel having the same purpose as above. Which is better, broadband or base band? There is rarely a simple answer to such questions. Base band is simple to install, interfaces are inexpensive, but doesn't have the same range. Broadband is more complicated, more expensive, and requires regular adjustment by a trained technician, but offers more services (e.g., it carries audio and video too).

Fiber Optics

In fiber optic technology, the medium consists of a hair-width strand of silicon or glass, and the signal consists of pulses of light. For instance, a pulse of light means 1'', lack of pulse means0''. It has a cylindrical shape and consists of three concentric sections: the core , the cladding , and the jacket as shown in Fig. The core, innermost section consists of a single solid dielectric cylinder of diameter d 1 and of refractive index n 1. The core is surrounded by a solid dielectric cladding of refractive index n 2 that is less than n 1. As a consequence, the light is propagated through multiple total internal reflection. The core material is usually made of ultra-pure fused silica or glass and the cladding is either made of glass or plastic. The cladding is surrounded by a jacket made of plastic. The jacket is used to protect against moisture, abrasion, crushing and other environmental hazards.

Three components are required:

  1. Fiber medium: Current technology carries light pulses for tremendous distances (e.g., 100s of kilometers) with virtually no signal loss.
  2. Light source: typically, a Light Emitting Diode (LED) or laser diode. Running current through the material generates a pulse of light.
  3. A photo diode light detector, which converts light pulses into electrical signals. Advantages :
  4. Very high data rate, low error rate. 1000 Mbps (1 Gbps) over distances of kilometers common. Error rates are so low they are almost negligible.
  5. Difficult to tap, which makes it hard for unauthorized taps as well. This is responsible for higher reliability of this medium. How difficult is it to prevent coax taps? Very difficult indeed, unless one can keep the entire cable in a locked room!
  6. Much thinner (per logical phone line) than existing copper circuits. Because of its thinness, phone companies can replace thick copper wiring with fibers having much more capacity for same volume. This is important because it means that aggregate phone capacity can be upgraded without the need for finding more physical space to hire the new cables.
  7. Not susceptible to electrical interference (lightning) or corrosion (rust).
  8. Greater repeater distance than coax. Disadvantages:
  9. Difficult to tap. It really is point-to-point technology. In contrast, tapping into coax is trivial. No special training or expensive tools or parts are required.
  10. One-way channel. Two fibers needed to get full duplex (both ways) communication. Fiber Uses : Because of greater bandwidth (2Gbps), smaller diameter, lighter weight, low attenuation, immunity to electromagnetic interference and longer repeater spacing, optical fiber cables are finding widespread use in long-distance telecommunications. Especially, the single mode fiber is suitable for this purpose. Fiber optic cables are also used in high-speed LAN applications. Multi-mode fiber is commonly used in LAN.
  • Long-haul trunks-increasingly common in telephone network (Sprint ads)
  • Metropolitan trunks-without repeaters (average 8 miles in length)
  • Rural exchange trunks-link towns and villages
  • Local loops-direct from central exchange to a subscriber (business or home)
  • Local area networks- 10 0Mbps ring networks.

To keep the satellite stationary with respect to the ground-based stations, the satellite is placed in a geostationary orbit above the equator at an altitude of about 36, km. As the spacing between two satellites on the equatorial plane should not be closer than 4^0 , there can be 360/4 = 90 communication satellites in the sky at a time. A satellite can be used for point-to-point communication between two ground-based stations or it can be used to broadcast a signal received from one station to many ground-based stations as shown in Fig. below. Number of geo-synchronous satellites limited (about 90 total, to minimize interference). International agreements regulate how satellites are used, and how frequencies are allocated. Weather affects certain frequencies. Satellite transmission differs from terrestrial communication in another important way: One-way propagation delay is roughly 270 ms. In interactive terms, propagation delay alone inserts a 1 second delay between typing a character and receiving its echo. Characteristics: Optimum frequency range for satellite communication is 1 to 10 GHz. The most popular frequency band is referred to as 4/6 band, which uses 3.7 to 4.2 GHz for down link and 5. to 6.425 for uplink transmissions. The 500 MHz bandwidth is usually split over a dozen transponders, each with 36 MHz bandwidth. Each 36 MHz bandwidth is shared by time division multiplexing. As this preferred band is already saturated, the next highest band available is referred to as 12/14 GHz. It uses 14 to 14.5GHz for upward transmission and 11. to 12.2 GHz for downward transmissions. Communication satellites have several unique properties. The most important is the long communication delay for the round trip (about 270 ms) because of the long distance (about 72,000 km) the signal has to travel between two earth stations. This poses a number of problems, which are to be tackled for successful and reliable communication. Another interesting property of satellite communication is its broadcast capability. All stations under the downward beam can receive the transmission. It may be necessary to send encrypted data to protect against piracy. Use : Now-a-days communication satellites are not only used to handle telephone, telex and television traffic over long distances, but are used to support various internet based services such as e-mail, FTP, World Wide Web (WWW), etc. New types of services, based on communication satellites, are emerging.

Comparison/contrast with other technologies:

1. Propagation delay very high. On LANs, for example, propagation time is in nanoseconds -- essentially negligible. 2. One of few alternatives to phone companies for long distances. 3. Uses broadcast technology over a wide area - everyone on earth could receive a message at the same time! 4. Easy to place unauthorized taps into signal. Satellites have recently fallen out of favor relative to fiber. However, fiber has one big disadvantage: no one has it coming into their house or building, whereas anyone can place an antenna on a roof and lease a satellite channel.

Switching

When there are many devices, it is necessary to develop suitable mechanism for communication between any two devices. One alternative is to establish point-to-point communication between each pair of devices using mesh topology. However, mesh topology is impractical for large number of devices, because the number of links increases exponentially (n(n-1)/2, where n is the number of devices) with the number of devices. A better alternative is to use switching techniques leading to switched communication network. In the switched network methodology, the network consists of a set of interconnected nodes, among which information is transmitted from source to destination via different routes, which is controlled by the switching mechanism. A basic model of a switched communication is shown in Fig. 4.1.1. The end devices that wish to communicate with each other are called stations. The switching devices are called nodes. Some nodes connect to other nodes and some are to connected to some stations. Key features of a switched communication network are given below:

  • Network Topology is not regular.
  • Uses FDM or TDM for node-to-node communication.
  • There exist multiple paths between a source-destination pair for better network reliability.
  • The switching nodes are not concerned with the contents of data.
  • Their purpose is to provide a switching facility that will move data from node to node until they reach the destination. The switching performed by different nodes can be categorized into the following three types:
  • Circuit Switching.
  • Packet Switching.
  • Message Switching. Circuit Switched Networks − Circuit switched networks are connection-oriented networks. Here, a dedicated route is established between the source and the destination and the entire message is transferred through it. Packet Switched Networks − Packet switched networks are connectionless networks. Here, the message is divided and grouped into a number of units called packets that are individually routed from the source to the destination. Message Switched Networks - With message switching, there is no limit at all on block size, which means that routers (in a modern system) must have disks to buffer long blocks. It also means that a single block can tie up a router-router line for minutes, rendering message switching useless for interactive traffic.

DTE and DCE DTE (Data terminating equipment) is a terminal residing at physical layer or can be anything that could be able to generate to consume digital data like computers. In other words, it is an assembly that operates either as a source of or as a destination for binary digital data. There is no direct mechanism for DTE to communicate, so communication occurs place through some intermediary devices. Customer devices that connect to the telephone company’s (telco’s) equipment are known as CTE (Customer telephony Equipment). Demarcation point (demarc) is the meeting spot of customer equipment (DTE) and telephone equipment (DCE). DCE (Data circuit terminating equipment) involves operative units that transfer or receives data in the form of digital or analog signal within a network. In the physical layer, the DCE obtain the data produced by the DTE and convert it to suitable signals. Then it introduces the signal onto the telecommunication link. Generally, the DCE’s we use at this layer involves modems (modulator/demodulator). In a network, a DTE produces digital data and move them to a DCE. Then DCE translates the data in a specific form that can be accepted by the transmission medium and sends the translated signal to another DCE on the network. The second DCE extracts the signal out of the line, and transforms it into such a form that its DTE can use and deliver.