








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









In telecommunications and computer newworks, multiplexing (known as muxing ) is a term used to refer to a process where multiple analog message signals or digital data streams are combined into one signal over a shared medium. The aim is to share an expensive resource. For example, in telecommunications, several phone calls may be transferred using one wire.The multiplexed signal is transmitted over a communication channel, which may be a physical transmission medium. The multiplexing divides the capacity of the low-level communication channel into several higher-level logical channels, one for each message signal or data stream to be transferred. A reverse process, known as demultiplexing, can extract the original channels on the receiver side. A device that performs the multiplexing is called a multiplexer ( MUX ), and a device that performs the reverse process is called a demultiplexer (DEMUX). The following Figure depicts the multiplexing function in its simplest form. There are n inputs to a multiplexer. The multiplexer is connected by a single data link to a demultiplexer. The link is able to carry n separate channels of data. The multiplexer combines (multiplexes) data from the n input lines and transmits over a higher capacity data link. The demultiplexer accepts the multiplexed data stream, separates (demultiplexes) the data according to channel, and delivers them to the appropriate output lines.
The widespread use of multiplexing in data communications can be explained by the following: The higher the data rate, the more cost-effective the transmission facility. That is, for a given application and over a given distance, the cost per kbps declines with an increase in the data rate of the transmission facility. Similarly, the cost of transmission and receiving equipment, per kbps, declines with increasing data rate. Most individual data-communicating devices require relatively modest data ate support. For example, for most terminal and personal computer applications, a data rate of between 9600 bps and 64 kbps is generally adequate. The two most basic forms of multiplexing are time-division multiplexing (TDM) and frequency-division multiplexing (FDM), both either in analog or digital form. FDM is possible when the useful bandwidth of the transmission medium exceeds the required bandwidth of signals to be transmitted. A number of signals can be carried simultaneously if each signal is modulated onto a different carrier frequency and the carrier frequencies are sufficiently separated that the bandwidths of the signals do not overlap. Time-division multiplexing (TDM) is possible when the achievable data rate (sometimes, called bandwidth) of the medium exceeds the data rate of digital signals to be transmitted. Multiple digital signals (or analog signals carrying digital data) can be carried on a single transmission path by interleaving portions of each signal in time. The interleaving can be at the bit level or in blocks of bytes or larger quantities
Figure 5.1 IEEE 802 protocol layers Vs OSI model Working from the bottom up, the lowest layer of the IEEE 802 reference model corresponds to the physical layer of the OSI model, and includes such functions as Encoding/decoding of signals Preamble generation/removal (for synchronization) Bit transmission/reception In addition, the physical layer of the 802 model includes a specification of the transmission medium and the topology. Generally, this is considered below the lowest layer of the OSI model. However, the choice of transmission medium and topology is critical in LAN design, and so a specification of the medium is included. Above the physical layer are the functions associated with providing service to LAN users. These include On transmission, assemble data into a frame with address and error-detection fields. On reception, disassemble frame, perform address recognition and error detection. Govern access to the LAN transmission medium. Provide an interface to higher layers and perform flow and error control. These are functions typically associated with OSI layer 2. The set of functions in the last bulleted item are grouped into a logical link control (LLC) layer.
In any broadcast network, the key issue is how to determine who gets to use the channel when there is competition for it. To make this point clearer, consider a conference call in which six people, on six different telephones, are all connected so that each one can hear and talk to all the others. It is very likely that when one of them stops speaking, two or more will start talking at once, leading to chaos. In a face-to-face meeting, chaos is avoided by external means, for example, at a meeting, people raise their hands to request permission to speak. When only a single channel is available, determining who should go next is much harder. Many protocols for solving the problem are known. In the literature, broadcast channels are sometimes referred to as multiaccess channels or random access channels. The methods that can be used to determine how the shared media is accessed are called Access methods. The protocols used to determine who goes next on a multiaccess channel belong to a sublayer of the data link layer called the MAC ( Medium Access Control ) sublayer. The MAC sublayer is especially important in LANs, many of which use a multiaccess channel as the basis for communication. WANs, in contrast, use point- to-point links, except for satellite networks. As you can understand the above paragraph the traditional data link layer is divided in to LLC and MAC. The separation is done because the logic required to manage access to a shared-access medium is not found in traditional layer-2 data link control. The following paragraphs discuss different access methods that are used in LAN.
The earliest of access methods, known as ALOHA, was developed for packet radio networks. However, it is applicable to any shared transmission medium. ALOHA, or pure ALOHA as it is sometimes called, is a true free-for-all. Whenever a station has a frame to send, it does so. The station then listens for an amount of time equal to the maximum possible round-trip propagation delay on the network (twice the time it takes to send a frame between the two most widely separated stations) plus a small fixed time increment. If the station hears an acknowledgment during that time, fine; otherwise, it resends the frame. If the station fails to receive an acknowledgment after repeated transmissions, it gives up. A receiving station determines the correctness of an incoming frame by
with better feedback about the state of the network; this information can be used to improve efficiency. The foregoing observations led to the development of carrier-sense multiple access (CSMA). With CSMA, a station wishing to transmit first listens to the medium to determine if another transmission is in progress (carrier sense). If the medium is in use, the station must wait. If the medium is idle, the station may transmit. It may happen that two or more stations attempt to transmit at about the same time. If this happens, there will be a collision; the data from both transmissions will be garbled and not received successfully. To account for this, a station waits a reasonable amount of time, after transmitting, for an acknowledgment, taking into account the maximum round-trip propagation delay, and the fact that the acknowledging station must also contend for the channel in order to respond. If there is no acknowledgment, the station assumes that a collision has occurred and retransmits. One can see how this strategy would be effective for networks in which the average frame transmission time is much longer than the propagation time. Collisions can occur only when more than one user begins transmitting within a short time (the period of the propagation delay). If a station begins to transmit a frame, and there are no collisions during the time it takes for the leading edge of the packet to propagate to the farthest station, then there will be no collision for this frame because all other stations are now aware of the transmission. The maximum utilization achievable using CSMA can far exceed that of ALOHA or slotted ALOHA. The maximum utilization depends on the length of the frame and on the propagation time; the longer the frames or the shorter the propagation time, the higher the utilization. With CSMA, an algorithm is needed to specify what a station should do if the medium is found busy. The most common approach, and the one used in IEEE 802.3, is the 1- persistent technique. A station wishing to transmit listens to the medium and obeys the following rules: I. If the medium is idle, transmit; otherwise, go to step 2.
If two or more stations are waiting to transmit, a collision is guaranteed. Things get sorted out only after the collision.
CSMA, although more efficient than ALOHA or slotted ALOHA, still has one glaring inefficiency: When two frames collide, the medium remains unusable for the duration of transmission of both damaged frames. For long frames, compared to propagation time, the amount of wasted capacity can be considerable. This waste can be reduced if a station continues to listen to the medium while transmitting. This leads to the following rules for CSMA/CD:
1. If the medium is idle, transmit; otherwise, go to step 2.
CSMA/CA belongs to a class of CSMA protocols. CSMA/CA stands for: Carrier Sense Multiple Access With Collision Avoidance. In CSMA, a station wishing to transmit has to first listen to the channel for a predetermined amount of time so as to check for any activity on the channel. If the channel is sensed "idle" then the station is permitted to transmit. If the channel is sensed as "busy" the station has to defer its transmission. This is the essence of both CSMA/CA and CSMA/CD. In CSMA/CA , once the channel is clear, a station sends a signal telling all other stations not to transmit, and then sends its packet. In Ethernet 802.3, the station continues to wait for a time, and checks to see if the channel is still free. If it is free, the station transmits, and waits for an acknowledgment signal that the packet was received. Collision avoidance is used to improve the performance of CSMA by attempting to be less "greedy" on the channel. If the channel is sensed busy before transmission then the transmission is deferred for a "random" interval. This reduces the probability of collisions on the channel. CSMA/CA is used where CSMA/CD cannot be implemented due to the nature of the channel. CSMA/CA is used in 802.11 based wireless LANs. One of the problems of
Ethernet (also known as IEEE 802.3 standard ) is a data transmission standard for local area networks based on the following principle: “All machines on an Ethernet network are connected to the same communication line, made up of cylindrical cables” It is developed at the PARC in Palo Alto CA in the early 70's by Robert Metcalf. It is a Carrier Sense Multiple Access transmission method. This means if the channel is available then any device connected to the medium can transmit. It is the most common LAN technology today well suited for any and all types of applications and the cost of such a network is not very high. Different variants of Ethernet technologies are distinguished according to the type and diameter of the cables used. The following table summarizes different Ethernet technologies. Abbreviation Name Cable Connector Speed Ports 10Base2 Thin Ethernet Coaxial cable (50 Ohms) with a thin diameter BNC 10 Mb/s 185m 10Base5 Thick Ethernet Coaxial cable with a thick diameter (0.4 inch) BNC 10Mb/s 500m 10Base-T Standard Ethernet Twisted pair (category 3) RJ-45 10 Mb/s 100m 100Base-TX Fast Ethernet Double twisted pair (category
RJ-45 100 Mb/s 100m 100Base-FX Fast Ethernet Multimode fibre optic (type 62.5/125) 100 Mb/s 2 km 1000Base-T Gigabit Ethernet Double twisted pair (category
Mb/s 100m 1000Base-LX Gigabit Ethernet Monomode or multimode fibre optic
Mb/s 550m 1000Base-SX Gigabit Ethernet Multimode fibre optic
Mbit/s 550m 10GBase-SR 10Gigabit Ethernet Multimode fibre optic 10 Gbit/s 500m 10GBase-LX 10Gigabit Ethernet Multimode fibre optic 10 Gbit/s 500m Ethernet Addressing Ethernet addressing uses the Media Access Control (MAC) address burned into each and every Ethernet Network Interface Card (NIC). The MAC, or hardware address, is a 48-bit (6 byte) address written in a hexadecimal format.
The Token Ring architecture was developed in the mid-1980s by IBM. It is the preferred method of networking by IBM and is therefore found primarily in large IBM mini- and mainframe installations. The goal of IBM's version of Token Ring was to facilitate a simple wiring structure using twisted-pair cable that connects a computer to the network through a wall socket, with the main wiring located in a centralized location. Their token-passing ring access method, more than their physical cable layout, distinguishes Token Ring networks from other networks. The architecture of a typical Token Ring network begins with a physical ring. However, in its IBM implementation, a star-wired ring, computers on the network are connected to a central hub. The logical ring represents the token's path between computers. The actual physical ring of cable is in the hub. Users are part of a ring, but they connect to it through a hub. A Token Ring network includes the following features: Star-wired ring topology Token-passing access method Shielded and unshielded twisted-pair (IBM Types 1, 2, and 3) cabling Transfer rates of 4 and 16 Mbps Baseband transmission
FDDI is short for Fiber Distributed Data Interface. It is based on fiberoptic transmission. It's also based on a ring topology and token passing. It's advanced technology in the form of token ring over fiber. FDDI was developed for two primary reasons: to support and help extend the capabilities of older LANs, such as Ethernet and Token Ring, and to provide a reliable infrastructure for businesses moving even mission-critical applications to networks. FDDI is suitable for use as a backbone connecting a number of smaller LANs, and it can provide the core of a network as large as a Metropolitan Area Network (MAN). In that sense, FDDI is more than LAN but less than WAN. In addition, because FDDI transfers information extremely quickly (100 Mbps), it is often used to connect high-end devices, such as mainframes, minicomputers, and peripherals, or to connect
Figure: FDDI Why two rings? The second one is there mostly for insurance. Normally in a FDDI network, one ring (known as the primary ring) actually carries the tokens and data, and the secondary ring remains idle and is used as a backup for fault tolerance—insurance. Because the secondary ring is available if needed, whenever a nonfunctioning node causes a break in the primary ring, traffic can "wrap" around the problem node and continue carrying data, only in the opposite direction and on the secondary ring. That way, even if a node goes down, the network continues to function. Sometimes, however, both rings are used for data. In this case, the data travels in one direction (clockwise) on one ring, and in the other direction (counterclockwise) on the other ring. Using both rings to carry data means that twice as many frames can circulate at the same time and, therefore, the speed of the network can double—from 100 Mbps to 200 Mbps. FDDI token passing Token passing on a FDDI network works much the way it does on a Token Ring network. That is, nodes pass a token around the ring, and only the node with the token is allowed to transmit a frame. There is a twist to this, however, that's related to FDDI's fault tolerance. When a node on the ring detects a problem, it doesn't simply sit around. Instead, it generates a frame known as a beacon and sends it on to the network. As neighboring nodes detect the beacon, they too begin to transmit beacons, and so it goes around the ring. When the node that started the process eventually receives its own beacon back—usually after the network has switched to the secondary ring—it then assumes that the problem has been isolated or resolved, generates a new token, and starts once again. A FDDI network, as already mentioned, cannot include rings longer than 100 kilometers apiece. Another restriction on a FDDI network is that it cannot support more than 500 nodes per ring. Although the overall network topology must conform to a logical ring, the network doesn't actually have to look like a circle. It can include stars connected to hubs
or concentrators, and it can even include trees—collections of hubs connected in a hierarchy. As long as the stars and trees connect in a logical ring, the FDDI network is happy. Generally FDDI is a high-speed, high-bandwidth network based on optical transmissions. It is relatively expensive to implement, although the cost can be held down by the mixing of fiberoptic with copper cabling. Because it has been around for a few years, however, it has been fine-tuned to a high level of stability. It is most often used as a network backbone, for connecting high-end computers (mainframes, minicomputers, and peripherals), and for LANs connecting high-performance engineering, graphics, and other workstations that demand rapid transfer of large amounts of data.