In years gone by the primary interface used for communicating data was the serial interface. Its name stems from the fact that data was communicated one bit at a time, one bit after another - that is, serially. The alternative was a parallel interface, where all the bits making up, say, a byte would be communicated in parallel. In principle a parallel interface is faster, but also more expensive since it needs one circuit for every bit, whereas serial needs a single circuit to communicate one bit at a time. Most current data communication technologies use serial transmission: USB, Ethernet via coax, Firewire, Ethernet via UTP at 100Mbps or less, etc. Where the water is muddied somewhat is at the faster communication rates: Ethernet via UTP at gigabit speeds tend to transmit two bits in parallel...
For many, many years the most popular standard was RS-232 (that is Recommended Standard number 232 of the Electronics Industries Association or EIA). The standard was issued in a number of versions, with B, C and D suffixed to the later versions. However, industry did not see the need to proceed beyond the C-version, and RS-232-C was therefore the standard used in practice.
Despite being a standard one often spent countless hours trying to get two pieces of equipment to talk to one another. Some of the problems stemmed from the fact that few vendors' products really complied with the standard. Other problems often stemmed from the way the communication interfaces were used: The standard really specifies a way to interface a computer to a peripheral unit. Clearly, the more interesting option was to get two computers to talk to one another.
Given such a myriad of problems every self-respecting data communication fan had a breakout box.
The picture above illustrates such a breakout box. It contains two plugs that enable it to be inserted into a serial link. A number of LEDs allow one to observe the voltage level on some of the wires. A number of switches allow one to make or break a specific connecting line between the two communicating units. A number of sockets allow one to jumper one wire to another. These aspects are illustrated in more detail below.
The standard specifies four facets of serial communication: mechanical, electrical, functional and procedural. The first, mechanical, recommends that a 25-pin DB-25 plug should be used. This breakout box complies with that specification. On the box itself a female DB-25 socket is available.
Linked via a ribbon cable on the other side of the box is a male DB-25 plug.
An obvious question is why a serial interface needs 25 pins (and 25 wires connecting them). The answer lies in the fact that the standard contains some wonderful bells and whistles, such as the ability to communicate via a secondary serial channel without interrupting the communication taking place via the primary serial link.
Industry soon responded to this extravagance by ignoring most of the 'unnecessary' pins, and replacing the DB-25 plug and socket with a DB-9 plug and socket. This illustrates just one way in which vendors used their own versions of standards. (Also, technically, it was a DE-9, but everybody called it a DB-9.)
The breakout box, however, supports all 25 connections. Three banks of eight DIP switches enable one to make or break the corresponding connection. Line 1, protective ground, is permanently connected - the connection status of the remaining 24 depends on the setting of a DIP switch.
Only the most important lines are wired through a LED. The electrical specification of RS-232 states that about -15 volt indicates a 1 and about +15 volt a 0. (In fact, anything below -3V indicates a 1, and anything above +3V a 0.) The LEDs on this particular breakout box glow green for a negative voltage (1) and red for a positive voltage (0).
The functions of the various pins of the interface are listed in the lid of the unit for ease of reference. (This is the essence of the functional specification of RS-232-C.)
The picture above (when enlarged) not only lists the names of the pins, but also identifies the direction of the signal. The two endpoints are labelled DTE and DCE. DTE is an abbreviation for data terminal equipment. The DTE may be a dumb terminal, but in most interesting applications the 'terminal' is really a computer. DCE used to indicate data communications equipment, such as modems. However, it was changed to stand for data circuit-terminating equipment - that is, it referred to the sort of thing that one would attach to the end of the telecommunications company's circuit, such as a modem.
One needs one further historical note to fully appreciate the specification: in the very old days modems were referred to as datasets. Therefore line 6 (DSR, data set ready) in modern language would have been called modem ready or something similar.
To consider the (procedural) operation of the interface assume a DTE (such as a PC) wants to send a byte to a DCE (such as a modem). The DTE uses line 20 (DTR, data terminal ready) to signal the DCE that it is ready. The DCE uses line 6 (DSR, data set ready) to indicate to the DTR that it too is ready. The DTR then raises RTS (request to send). If the DCE agrees, it raises CTS (clear to send). The bits making up the byte are then transmitted via TD (transmitted data). Note that there is not an equivalent set of signals to transmit data from the DCE to the DTE: the DCE raises CD (carrier detect) when it sees data arriving on the phone line at the other end of the modem. Without waiting for permission, the DCE then sends the data to the DTE via RD (received data).
Of course this asymmetry causes problems when one wants to connect two identical devices (such as two PCs). Problems also exist when devices do not fully support the standard. In the picture below pins 6 and 20 on the DTE side are jumpered. Therefore the moment the DTE says it is ready via line 20 (DTR) it gets a 'confirmation' (its own signal) via pin 6 (DSR), making it believe that the DCE is ready. Similarly one may jumper RTS and CTS together so that a request to send will lead to an immediate clear to send, without even involving the DCE. These are the type of tricks one would use to get a DCE to accept data even if it was not able to signal its own readiness to receive data.
One particular serial cable that was quite popular was the so called null modem - a serial cable used to connect two computers (or, in general, two DTEs). RD on one plug would be connected to TD on the other, and vice versa. The DTR is connected to DSR and CD on the other end: when this PC wants to transmit, it raises DTR, and the other PC thinks that the 'modem' is ready, and that data is arriving via it. (Similarly DTR on that end is connected to DSR and CD on this side). Finally, one could jumper RTS and CTS together on each side, so that either side can give itself permission to send. If this did not work (and it often did not) then it was time to reach for the breakout box. I remember a time when I had to connect a Univac 1100 mainframe to a Burroughs B20 micro via a serial cable. No matter what I did, I was unable to push communication speed above 300bps. And the serial interface on the mainframe cost more than what a typical car did...
Here is the breakout box with a matchstick as an indication of its size.
A place to share a little bit of the history and the beauty of networks with my students.
Showing posts with label Copper. Show all posts
Showing posts with label Copper. Show all posts
01 August 2011
30 July 2011
Token ring multistation access unit
A physical ring topology is prone to fail when any of the nodes on the ring fail. Suppose the beads below are nodes and the string represents network links. A break at any node or any link breaks the ring.
The solution is to wire all nodes on the ring via a central 'hub' that bypasses any node that is not responsive or not present. Below the nodes are linked though such a hub.
If a node becomes unresponsive, the hub simply bypasses that node and the ring remains a ring.
The 'hubs' through which token ring networks are wired are known as multistation access units (MSAUs or MAUs). Below is an 8-port IBM 8228 MSAU. It can operate at either 4 or 16Mbps using the IEEE 802.5 standard. It also has RI and RO (ring-in and ring-out) ports enabling it to be connected to up to 31 other MSAUs making it possible to build a ring of up to 256 nodes. (Later MSAUs also supported 100Mbps, and plans were made to build 1Gbps MSAUs, but were abandoned before they were built.)
The ports on the IBM 8228 use the IBM Data Connectors (IDCs).
The connectors are interesting because the 'plug' and the 'socket' are identical. For this reason the data connectors are often called hermaphroditic. As one may observe in connector number 7 above, two pairs of copper strips are exposed in the middle - one for sending and one for receiving. To plug another connector onto this one it would be turned by 180°. The transmission pair of the one would automatically mate with the receiving pair of the other and vice versa.
The next picture shows two cables that are about to be plugged into one another.
And voila! The two become one.
An aspect of the connectors that may not be clear in the post thus far is their size. The MSAU is intended to be built into a 19" cabinet. Each connector measures about 25mm x 25mm x 40mm. That is huge!
Here is the MSAU with the 18" (45cm) ruler from earlier posts.
The IBM 8228 MSAU was shipped with eight baluns that converted the IDC to an RJ-45 socket. Baluns, however, will be the topic of a future post.
The solution is to wire all nodes on the ring via a central 'hub' that bypasses any node that is not responsive or not present. Below the nodes are linked though such a hub.
If a node becomes unresponsive, the hub simply bypasses that node and the ring remains a ring.
The 'hubs' through which token ring networks are wired are known as multistation access units (MSAUs or MAUs). Below is an 8-port IBM 8228 MSAU. It can operate at either 4 or 16Mbps using the IEEE 802.5 standard. It also has RI and RO (ring-in and ring-out) ports enabling it to be connected to up to 31 other MSAUs making it possible to build a ring of up to 256 nodes. (Later MSAUs also supported 100Mbps, and plans were made to build 1Gbps MSAUs, but were abandoned before they were built.)
The ports on the IBM 8228 use the IBM Data Connectors (IDCs).
The connectors are interesting because the 'plug' and the 'socket' are identical. For this reason the data connectors are often called hermaphroditic. As one may observe in connector number 7 above, two pairs of copper strips are exposed in the middle - one for sending and one for receiving. To plug another connector onto this one it would be turned by 180°. The transmission pair of the one would automatically mate with the receiving pair of the other and vice versa.
The next picture shows two cables that are about to be plugged into one another.
And voila! The two become one.
An aspect of the connectors that may not be clear in the post thus far is their size. The MSAU is intended to be built into a 19" cabinet. Each connector measures about 25mm x 25mm x 40mm. That is huge!
Here is the MSAU with the 18" (45cm) ruler from earlier posts.
The IBM 8228 MSAU was shipped with eight baluns that converted the IDC to an RJ-45 socket. Baluns, however, will be the topic of a future post.
Labels:
Copper
09 July 2011
ISDN 'modems'
In order to connect one's network to the outside world via ISDN BRI one needs some device to do so. In an earlier post it was explained that the NT1 terminates the telco's network and 'converts' it to an S/T bus. Now we need devices to plug into that bus.
In general the lines coming into a company are plugged into some networking device, such as a router. A medium-sized company may, for example, have lines coming in from various offices - they may run a copper cable to their building next-door, have leased lines to their bigger branch offices and then use (or have used) ISDN to connect to a number of their smaller offices. This means their router (or other network device) has to be able to connect to a range of possible media. And nobody wants to replace an expensive piece of technology the moment other technology changes - for example replacing the ISDN line to the telco with an optical fibre to the ISP should not require a new router. The solution was obvious: put the interface to the media on an interface card that could be replaced when necessary. We have seen such solutions in mainframes, minicomputers and personal computers. A number of products that are currently being built ignore that lesson - they are engineered for obsolescence because often the battery is built into the unit. When the battery dies, so does the unit. The unit will not survive until new technology comes along.
But, back to interface cards. The card below provides an ISDN interface for a range of Cisco routers. It is a Cisco ISDN BRI S/T 1 port module for the 17XX / 26XX / 36XX series routers. As the S/T indicates, it is intended to be plugged into the S/T bus (or the S/T bus into it?). In most contexts one would simply take an appropriate cable with two RJ-45 plugs on each end, and plug the one end into the NT1 and the other end into this interface card.
In the picture, the S/T socket is clearly labelled as such. There are three tiny lights behind the holes in the cover plate. Those holes are labelled B1, B2 and OK. Obviously the OK light glows if the interface card operates correctly, and the B1 and B2 lights indicate activity on each of the two B channels.
This particular module is the Cisco WIC-1B S/T. WIC is an abbreviation for WAN interface card. The intention is to feature several others WICs on this site at a later stage.
The word 'modem' was placed in quotation marks above because one normally uses a modem to connect to a telephone line and ISDN BRI is, in some sense, a glorified telephone line. However, where normal telephone lines use analog signals, ISDN uses digital signals and the role of the ISDN WIC would be to provide a digital-to-digital connection. Some conversion may be required, but it is not modulation or demodulation, and calling this WIC a modem would therefore be incorrect.
However, the following product is a bit harder to classify. Whereas the medium to big enterprise may use a Cisco (or Nortel, or other) router, the small office or home office only wants to plug a few devices into its ISDN line. So, let's look at a US Robotics Courier ISDN modem (omitting the quotation marks around 'modem' while we are making our minds up whether it is indeed a modem).
At the very least, the word modem appears clearly on the faceplate of this piece of equipment. Some readers may also recognise the V.34, which refers to an old analogue modem standard.
Let's look at the rear of the unit in an attempt to figure out what is going on.
The reader should immediately notice the S/T socket. This is where it will be connected to the S/T socket on the NT1. To the left is a fancy socket for the power adapter, which we may ignore. Then there are two more interesting sockets: an RJ-11 socket labelled phone and a DB-25 female plug labelled data.
The RJ-11 socket is intended for an ordinary old-style analogue telephone. This unit will convert the analogue signals from the phone to digital signals before sending them out on the S/T bus, and it will convert digital signals arriving on the S/T bus to analogue signals that will be audible as normal speech on the analogue phone. For this the unit acts in reverse when compared to a normal modem, where digital signals are converted to analogue signals to go out on the phone line. Here the analogue signals of the phone are converted to digital to go out on the digital phone line and vice versa. Does that mean we may call the unit a modem (or is it perhaps a demod)?
As usual there are complications. The telco is really now providing two networks: one analogue and one digital. If you use your fancy ISDN modem to phone someone who is still using the plain old telephone system (POTS) you are sending out digital signals on a digital network and they are waiting for analogue signals on an analogue system. So, somewhere the telco has to interface its digital network to its analogue network and if it sees digital telehone data coming along an ISDN B channel it has to convert it to analogue before placing it on the analogue network, and vice versa. Of course if you are calling someone who has a digital phone on the ISDN network (or who has a similar setup than you) that phone (or the modem there) will 'understand' the digital signals and interpret them correctly without any further involvement from the telco.,
Let's now move our attention to the DB-25 female plug labelled data. This is a serial (or RS-232-C) connection. For the modern reader, an RS-232-C interface is almost like a modern USB or FireWire interface; it's just much slower and much more fiddly. Of course this is where the computer is plugged in. It provides a digital connection between the computer and the modem, so it seems most of our problems disappear. Digital-to-digital is usually simple - we may have to rearrange the bits a bit, add some overhead bits and so on, but it all really amounts to repackaging . Again life is not that simple. It is possible that the party you are communicating with also uses an ISDN line, in which case most of our problems are indeed solved. It's digital to digital to digital - via RS-232-C, then via the ST bus, then via the U loop, then via the telco's ISDN infrastructure, then via a U loop again, via another S/T bus, an RS-232-C link and we are at our destination!
However, suppose you want to communicate with a poor soul who is still using an analogue modem on the POTS. There seem to be two possibilities. The one is that you use the telephone plug - convert your digital data to analogue, send it into the phone interface that will convert it to digital immediately, transmit the digital data to the bridge between the telco's analogue and digital networks, where it will be converted to analogue again - until it reaches the destination modem, and where it will be converted to digital again for consumption by the destination computer. If this sounds a bit cumbersome (and error prone) it does because it is. A better solution would be to keep the data in digital format as it travels from the computer, along the ISDN line, until it gets to the point where it hops over to the POTS network. At this point we have no choice - the data has to be modulated to analogue - but it only has to happen once which is a significant improvement. However, the rate at which data can be carried along an analogue phone line is slower than the 64kbp (and much slower than 128kbps) of ISDN. So, if we want to use this option we have to tell our ISDN to limit speeds that can go over to an analogue network.
To discuss the matter further would require a detailed discussion of the rather complex configuration of the modem. Amongst others it entails telling the data channel what the maximum speed it is allowed to use if it will connect to an analogue modem on the other end. And it entails configuring the analogue B channel such that it knows whether is gets voice or data (or fax) inputs. The interested reader will find the modem's manual online. After working through that documentation the reader should be able to answer the question whether this is a real modem or not.
Let's return to the WIC. As noted, the user of the router can in principle replace the WIC with any other WIC. So, if the user wishes to start using ADSL rather than ISDN BRI, the ISDN WIC can be pulled out and replaced with an ADSL WIC. Of course this means the user has to ask the telco to convert its line to an ADSL line. ADSL will have to wait for a later post. In the meantime, here is an example of an ADSL WIC.
Side by side one can see that the two WICs look rather similar. The ADSL one uses an RJ-11 plug - like normal phones do, while the ISDN uses an RJ-45. Other than that the status indicators are different (and the placement of the socket obviously differs).
To conclude, here are the three devices featured in this post together (and two matchsticks have been added so indicate size).
In general the lines coming into a company are plugged into some networking device, such as a router. A medium-sized company may, for example, have lines coming in from various offices - they may run a copper cable to their building next-door, have leased lines to their bigger branch offices and then use (or have used) ISDN to connect to a number of their smaller offices. This means their router (or other network device) has to be able to connect to a range of possible media. And nobody wants to replace an expensive piece of technology the moment other technology changes - for example replacing the ISDN line to the telco with an optical fibre to the ISP should not require a new router. The solution was obvious: put the interface to the media on an interface card that could be replaced when necessary. We have seen such solutions in mainframes, minicomputers and personal computers. A number of products that are currently being built ignore that lesson - they are engineered for obsolescence because often the battery is built into the unit. When the battery dies, so does the unit. The unit will not survive until new technology comes along.
But, back to interface cards. The card below provides an ISDN interface for a range of Cisco routers. It is a Cisco ISDN BRI S/T 1 port module for the 17XX / 26XX / 36XX series routers. As the S/T indicates, it is intended to be plugged into the S/T bus (or the S/T bus into it?). In most contexts one would simply take an appropriate cable with two RJ-45 plugs on each end, and plug the one end into the NT1 and the other end into this interface card.
In the picture, the S/T socket is clearly labelled as such. There are three tiny lights behind the holes in the cover plate. Those holes are labelled B1, B2 and OK. Obviously the OK light glows if the interface card operates correctly, and the B1 and B2 lights indicate activity on each of the two B channels.
This particular module is the Cisco WIC-1B S/T. WIC is an abbreviation for WAN interface card. The intention is to feature several others WICs on this site at a later stage.
The word 'modem' was placed in quotation marks above because one normally uses a modem to connect to a telephone line and ISDN BRI is, in some sense, a glorified telephone line. However, where normal telephone lines use analog signals, ISDN uses digital signals and the role of the ISDN WIC would be to provide a digital-to-digital connection. Some conversion may be required, but it is not modulation or demodulation, and calling this WIC a modem would therefore be incorrect.
However, the following product is a bit harder to classify. Whereas the medium to big enterprise may use a Cisco (or Nortel, or other) router, the small office or home office only wants to plug a few devices into its ISDN line. So, let's look at a US Robotics Courier ISDN modem (omitting the quotation marks around 'modem' while we are making our minds up whether it is indeed a modem).
At the very least, the word modem appears clearly on the faceplate of this piece of equipment. Some readers may also recognise the V.34, which refers to an old analogue modem standard.
Let's look at the rear of the unit in an attempt to figure out what is going on.
The reader should immediately notice the S/T socket. This is where it will be connected to the S/T socket on the NT1. To the left is a fancy socket for the power adapter, which we may ignore. Then there are two more interesting sockets: an RJ-11 socket labelled phone and a DB-25 female plug labelled data.
The RJ-11 socket is intended for an ordinary old-style analogue telephone. This unit will convert the analogue signals from the phone to digital signals before sending them out on the S/T bus, and it will convert digital signals arriving on the S/T bus to analogue signals that will be audible as normal speech on the analogue phone. For this the unit acts in reverse when compared to a normal modem, where digital signals are converted to analogue signals to go out on the phone line. Here the analogue signals of the phone are converted to digital to go out on the digital phone line and vice versa. Does that mean we may call the unit a modem (or is it perhaps a demod)?
As usual there are complications. The telco is really now providing two networks: one analogue and one digital. If you use your fancy ISDN modem to phone someone who is still using the plain old telephone system (POTS) you are sending out digital signals on a digital network and they are waiting for analogue signals on an analogue system. So, somewhere the telco has to interface its digital network to its analogue network and if it sees digital telehone data coming along an ISDN B channel it has to convert it to analogue before placing it on the analogue network, and vice versa. Of course if you are calling someone who has a digital phone on the ISDN network (or who has a similar setup than you) that phone (or the modem there) will 'understand' the digital signals and interpret them correctly without any further involvement from the telco.,
Let's now move our attention to the DB-25 female plug labelled data. This is a serial (or RS-232-C) connection. For the modern reader, an RS-232-C interface is almost like a modern USB or FireWire interface; it's just much slower and much more fiddly. Of course this is where the computer is plugged in. It provides a digital connection between the computer and the modem, so it seems most of our problems disappear. Digital-to-digital is usually simple - we may have to rearrange the bits a bit, add some overhead bits and so on, but it all really amounts to repackaging . Again life is not that simple. It is possible that the party you are communicating with also uses an ISDN line, in which case most of our problems are indeed solved. It's digital to digital to digital - via RS-232-C, then via the ST bus, then via the U loop, then via the telco's ISDN infrastructure, then via a U loop again, via another S/T bus, an RS-232-C link and we are at our destination!
However, suppose you want to communicate with a poor soul who is still using an analogue modem on the POTS. There seem to be two possibilities. The one is that you use the telephone plug - convert your digital data to analogue, send it into the phone interface that will convert it to digital immediately, transmit the digital data to the bridge between the telco's analogue and digital networks, where it will be converted to analogue again - until it reaches the destination modem, and where it will be converted to digital again for consumption by the destination computer. If this sounds a bit cumbersome (and error prone) it does because it is. A better solution would be to keep the data in digital format as it travels from the computer, along the ISDN line, until it gets to the point where it hops over to the POTS network. At this point we have no choice - the data has to be modulated to analogue - but it only has to happen once which is a significant improvement. However, the rate at which data can be carried along an analogue phone line is slower than the 64kbp (and much slower than 128kbps) of ISDN. So, if we want to use this option we have to tell our ISDN to limit speeds that can go over to an analogue network.
To discuss the matter further would require a detailed discussion of the rather complex configuration of the modem. Amongst others it entails telling the data channel what the maximum speed it is allowed to use if it will connect to an analogue modem on the other end. And it entails configuring the analogue B channel such that it knows whether is gets voice or data (or fax) inputs. The interested reader will find the modem's manual online. After working through that documentation the reader should be able to answer the question whether this is a real modem or not.
-o0o-
Let's return to the WIC. As noted, the user of the router can in principle replace the WIC with any other WIC. So, if the user wishes to start using ADSL rather than ISDN BRI, the ISDN WIC can be pulled out and replaced with an ADSL WIC. Of course this means the user has to ask the telco to convert its line to an ADSL line. ADSL will have to wait for a later post. In the meantime, here is an example of an ADSL WIC.
Side by side one can see that the two WICs look rather similar. The ADSL one uses an RJ-11 plug - like normal phones do, while the ISDN uses an RJ-45. Other than that the status indicators are different (and the placement of the socket obviously differs).
To conclude, here are the three devices featured in this post together (and two matchsticks have been added so indicate size).
05 July 2011
ISDN BRI
Integrated Services Digital Network (ISDN) - as the name indicates - is a digital network (provided by telecommunications companies) that may be used for various (integrated) services. The services that may be 'integrated' in this manner include (voice) telephony, fax, (computer) data and anything else that may be represented as 1s and 0s. ISDN comes in two flavours: Basic Rate Interface (BRI) and Primary Rate Interface (PRI). PRI will take a E1 (or T1) line at one end and split it into 30 (or 23) 'data' channels. BRI will take a more-or-less normal telephone cable and split it into two 'data' channels. BRI is the topic of this post.
Below is the NT1 device supplied by Telkom if one had a BRI ISDN line installed at one's home or one's office. (There was an alternative device that will be mentioned in a later post.)
Note that this NT1 device is not an "ISDN modem" - those will be discussed in a later post (to the extent that they exist). The NT1 is the network terminator installed in one's house or office. It used to be part of Telkom's network and thus belonged to Telkom. The user's equipment could be plugged into the other side of the NT1.
Opening the NT1 provides more colour, but not more insight into its operation.
Let's rather look at the four sockets that are provided.
On the left is the socket into which Telkom's line was plugged. This is known as the U interface. The nice thing was that one's ordinary old copper wire running from the exchange could the used. At the exchange they simply removed the link from the normal telephone system and attached it to an 'exchange' network terminator. And, at one's home the telephone was unplugged and the NT1 plugged in. Where the old telephone line could only be used for a single conversation, it now provided two data channels, either of both of which could be used simultaneously to carry data (including digitised voice from a digital telephone).
The not-so-nice consequence of this alternative use of the telephone cable was the following. Normal telephone wires supply 50 volts of electricity. Once the line was connected to the exchange network terminator 100 volts of electricity came down the line. No, it was not able to electrocute someone (because the current was limited), but it was quite capable of sending a phone or modem up in smoke. There are a couple of sad tales of people who found a 'telephone jack', unplugged whatever was plugged into it and plugged a modem in - only to immediately learn that this was no ordinary phone jack...
The next two sockets - like the U interface - are RJ-45 sockets. As noted earlier, this is where the user's equipment would be plugged in. It is easy to infer that each of those sockets would provide one of the two data channels, but such an inference would be wrong. The interface on the user's side is actually a bus (known as the S bus or S/T bus) into which multiple (more than two) devices could be plugged. Those two sockets are merely two access points to the bus. If one had more than two devices, connections to those sockets would be split to enable one to connect multiple devices.
The observant reader may have noticed that there is a part of the cover that can be removed. Once removed it exposes some contacts and some switches. Let's ignore the switches and just look at the contacts. The upper two contacts provide an alternative to attach the NT1 to the copper cable from the telecommunications company. Rather than using a normal phone jack, the incoming line could be inserted into the top two holes. This immediately removes the temptation for anyone to plug a modem into the phone jack, because there no longer is a normal phone jack. Similarly, the bottom four holes provide an alternative attachment point for the S bus (replacing the need to use the two external RJ-45 connectors). If these connectors inside the box were used, it was typical to plug blank RJ-45 plugs into the external RJ-45 sockets.
Below is the NT1 device supplied by Telkom if one had a BRI ISDN line installed at one's home or one's office. (There was an alternative device that will be mentioned in a later post.)
Note that this NT1 device is not an "ISDN modem" - those will be discussed in a later post (to the extent that they exist). The NT1 is the network terminator installed in one's house or office. It used to be part of Telkom's network and thus belonged to Telkom. The user's equipment could be plugged into the other side of the NT1.
Opening the NT1 provides more colour, but not more insight into its operation.
Let's rather look at the four sockets that are provided.
On the left is the socket into which Telkom's line was plugged. This is known as the U interface. The nice thing was that one's ordinary old copper wire running from the exchange could the used. At the exchange they simply removed the link from the normal telephone system and attached it to an 'exchange' network terminator. And, at one's home the telephone was unplugged and the NT1 plugged in. Where the old telephone line could only be used for a single conversation, it now provided two data channels, either of both of which could be used simultaneously to carry data (including digitised voice from a digital telephone).
The not-so-nice consequence of this alternative use of the telephone cable was the following. Normal telephone wires supply 50 volts of electricity. Once the line was connected to the exchange network terminator 100 volts of electricity came down the line. No, it was not able to electrocute someone (because the current was limited), but it was quite capable of sending a phone or modem up in smoke. There are a couple of sad tales of people who found a 'telephone jack', unplugged whatever was plugged into it and plugged a modem in - only to immediately learn that this was no ordinary phone jack...
The next two sockets - like the U interface - are RJ-45 sockets. As noted earlier, this is where the user's equipment would be plugged in. It is easy to infer that each of those sockets would provide one of the two data channels, but such an inference would be wrong. The interface on the user's side is actually a bus (known as the S bus or S/T bus) into which multiple (more than two) devices could be plugged. Those two sockets are merely two access points to the bus. If one had more than two devices, connections to those sockets would be split to enable one to connect multiple devices.
The observant reader may have noticed that there is a part of the cover that can be removed. Once removed it exposes some contacts and some switches. Let's ignore the switches and just look at the contacts. The upper two contacts provide an alternative to attach the NT1 to the copper cable from the telecommunications company. Rather than using a normal phone jack, the incoming line could be inserted into the top two holes. This immediately removes the temptation for anyone to plug a modem into the phone jack, because there no longer is a normal phone jack. Similarly, the bottom four holes provide an alternative attachment point for the S bus (replacing the need to use the two external RJ-45 connectors). If these connectors inside the box were used, it was typical to plug blank RJ-45 plugs into the external RJ-45 sockets.
The last remark about four points to connect the S bus may yet again lead the reader to the wrong conclusion. It is not the case that they provide two holes for each of the two S sockets. Looking at the picture above one may (correctly) infer that each of the RJ-45 S sockets uses four wires. Two wires are used for sending information and two wires for receiving information. Therefore the four holes seen earlier just provide access to the four lines of the S bus. They would be split as required.
We said earlier that BRI provides two 'data channels'. Technically those channels are known as bearer channels, or B channels. Each B channel operates at a (guaranteed) rate of 64kbps. And then there is a control channel, known as a D channel, operating at 16kbps. BRI is therefore also often denoted as 2B+D.
If any device on the S bus wants to communicate it would send a request via the D channel. A B channel would then be allocated to it (or, if requested, both B channels could be allocated to it providing a guaranteed 128kbps connection). If one device uses one B channel, another may use the other. Though multiple pieces of equipment could be connected to the S bus, at most two B channels could be in use at any time - and it is possible that one device could be using both. For incoming calls it was possible to let any device answer it, or, based on various schemes, to let a specific device answer the call. If one had four digital phones on the S bus it possibly did not matter who answered, but if one had a fax machine, telephone and computer connected, who answers could be important. Even when using only telephones, it could be important exactly which phone rang.
64kbps sounds slow by today's standards. However, it should be kept in mind that the bandwidth is guaranteed. Even a megabit per second ADSL line may slow down to almost no throughput - something which is not supposed to ever happen on an ISDN line.
We are now in a position to discuss the function of the NT1. On the one side (the U side) is a single copper loop carrying three channels (2B+D) in two directions. These six streams of data need to be multiplexed and demultiplexed by the two network terminators. In addition the NT1 has to manage the S bus: if a device puts data on the 'send' pair of the S bus, the NT1 should figure out on which channel it belongs and then multiplex it accordingly. Similarly, if data arrives from the U interface, the NT1 should figure out for which device it is intended and then send it out on the S bus with the appropriate addressing information on the receive pair of wires of the S bus.
Just in case their is any doubt left in the reader's mind: An ordinary phone cannot be plugged into either of the S sockets. One needs a digital phone that can put the appropriate addressing information on the S bus and respond when its address appears on the S bus.
Oh, yes - we never discussed the fourth plug. It is a normal figure-8 connector that is used to provide electricity to the NT1.
11 June 2011
Thicknet
Originally LANs were built using a rather thick variety of coaxial cable. Later, when a thinner version was adopted, the original was colloquially referred to as thicknet and the later variety as thinnet.
A cross-section through thicknet looks more or less as one would expect.
Nobody can deny the inherent beauty in such cables.
As always a sense of scale might be useful.
A more realistic comparison is one with related cables.
The coax on the left is thicknet. Officially it is known as RG-8/U or, in Ethernet applications, as 10Base5. The 10Base5 designation stems from the fact that it could be used for baseband transmissions at 10Mbps over distances of up to 500m.
Next to the thicknet is an example that looks like thinnet. This example is RG-59B/U. Real thinnet looks very similar, but has an impedance of 50Ω, compared to the 75Ω of RG59B/U.
The white coax is RG-6/U - commonly used to connect antennas and satellite dishes to TV sets.
The final cable is Cat 5e UTP - commonly used in current network installations.
A cross-section through thicknet looks more or less as one would expect.
Nobody can deny the inherent beauty in such cables.
As always a sense of scale might be useful.
A more realistic comparison is one with related cables.
The coax on the left is thicknet. Officially it is known as RG-8/U or, in Ethernet applications, as 10Base5. The 10Base5 designation stems from the fact that it could be used for baseband transmissions at 10Mbps over distances of up to 500m.
Next to the thicknet is an example that looks like thinnet. This example is RG-59B/U. Real thinnet looks very similar, but has an impedance of 50Ω, compared to the 75Ω of RG59B/U.
The white coax is RG-6/U - commonly used to connect antennas and satellite dishes to TV sets.
The final cable is Cat 5e UTP - commonly used in current network installations.
Labels:
Copper
03 June 2011
Building the netbook - circa 1998
A small, highly portable laptop that can be used for typing and sending emails seemed necessary to me for as long as I can remember. Whether such a machine was fast or had a big screen did not matter. In other words, I have been craving the netbook long before its inception. However, even though it feels like an eternity, the option to build such machines is a relatively recent one. The laptop with the monochrome screen mentioned in an earlier post was my first such machine. I now found the receipt: 1997! It is less than 15 years old, has 20MB of memory and a 400MB disc...
One thing missing from many (most?) laptops of the time was any real mechanism to network it. Dial-up was one option using some external modem. A later post will talk about this. But to have a truly networkable laptop, one needed a real network interface. So I got a 3Com Etherlink III 3C589C LAN PC card for my 1997 laptop.
As can be see from the photo, the interface consisted of two parts: a dongle and a PCMCIA card (or, as some people insisted to call it: a PC card, which was technically correct).
The dongle is obviously the part that connected to the network. Most networks I wanted to connect to used coax, but it was obvious that UTP was coming. So, I tried to future-proof my investment by buying a dual adapter - one that could connect to coax using a BNC connector, as well as to UTP, using an RJ-45 plug. Alas, the UTP connection was only a 10BaseT, and 10Mbps soon turned out to be too slow.
Here one sees the card and dongle assembled - ready to be inserted into the laptop's PCMCIA slot.
But the need for speed had to be satisfied. And satisfaction came in the form of the SMC8040TX PCMCIA 10/100Mbps Fixed-Port Adapter.
The SMC still could work at 10Mbps. But at 100Mbps it was ten times as fast as its predecessor.
Obviously the SMC dates from the year 2000. For those who have not 'lived' the years 2000 to about 2004: Apple's iMac G3 was produced from 1998 onwards in a range of bright translucent colours. Following Apple's lead, everything else in those years was also produced in bright translucent colours. Here is our kettle circa 2000.
There can't be too many fields where one can reminisce about the good old days a mere decade ago...
One thing missing from many (most?) laptops of the time was any real mechanism to network it. Dial-up was one option using some external modem. A later post will talk about this. But to have a truly networkable laptop, one needed a real network interface. So I got a 3Com Etherlink III 3C589C LAN PC card for my 1997 laptop.
As can be see from the photo, the interface consisted of two parts: a dongle and a PCMCIA card (or, as some people insisted to call it: a PC card, which was technically correct).
The dongle is obviously the part that connected to the network. Most networks I wanted to connect to used coax, but it was obvious that UTP was coming. So, I tried to future-proof my investment by buying a dual adapter - one that could connect to coax using a BNC connector, as well as to UTP, using an RJ-45 plug. Alas, the UTP connection was only a 10BaseT, and 10Mbps soon turned out to be too slow.
Here one sees the card and dongle assembled - ready to be inserted into the laptop's PCMCIA slot.
But the need for speed had to be satisfied. And satisfaction came in the form of the SMC8040TX PCMCIA 10/100Mbps Fixed-Port Adapter.
The SMC still could work at 10Mbps. But at 100Mbps it was ten times as fast as its predecessor.
Obviously the SMC dates from the year 2000. For those who have not 'lived' the years 2000 to about 2004: Apple's iMac G3 was produced from 1998 onwards in a range of bright translucent colours. Following Apple's lead, everything else in those years was also produced in bright translucent colours. Here is our kettle circa 2000.
There can't be too many fields where one can reminisce about the good old days a mere decade ago...
31 May 2011
Wired: 1919 - from Shorpy
Shorpy is a great source of images from the distant past. Quite a number of them deal with topics of interest to networking enthusiasts.
Here is one such example that dates from circa 1919 and takes a "behind the scenes look at communications tech some 80 years after the telegraph tapped out its first message."
To really appreciate the detail one should look at the large version of the picture available from the original Shorpy post. The comments left by Shorpy readers are usually also worth reading to gain a deeper insight into the details depicted in the photo.
Here is one such example that dates from circa 1919 and takes a "behind the scenes look at communications tech some 80 years after the telegraph tapped out its first message."
![]() |
Wired: 1919 (Used with kind permission of Shorpy) |
Labels:
Copper
STP (Shielded Twisted Pairs)
As the name indicates, STP (Shielded Twisted Pairs) consists of pairs of wire that are shielded against electromagnetic interference.
Note the silver strands that 'wrap' the entire cable, as well as the silver foil that 'wraps' (or shields) each pair.
The connector (which is physically compatible with an RJ-45 socket) is also shielded from three sides.
This is an example of Cat 6 STP (Category 6 Shielded Twisted Pairs).
Note the silver strands that 'wrap' the entire cable, as well as the silver foil that 'wraps' (or shields) each pair.
The connector (which is physically compatible with an RJ-45 socket) is also shielded from three sides.
This is an example of Cat 6 STP (Category 6 Shielded Twisted Pairs).
Labels:
Copper
29 May 2011
Patch panel
In a typical current Ethernet installation cables will run from each of the network points in an office, building or even (small) organisation to a central point where they all can be connected. In a very small installation this central point may consist of a switch or, in years gone by, a hub. However, the moment the installation becomes somewhat bigger all these cables will converge at a patch panel. A patch panel simply consists of a series of (RJ-45) sockets to which cables may be attached from the rear. A 24-port patch panel is depicted below.
At the rear one finds the typical slots in to which wires may be pushed down. In this case the colour coding makes provision for both T568A and T568B as explained in an earlier post on UTP cable.
After installation the network points may be connected with a switch, hub, or other device using patch cables. In the picture below the patch panel is on the bottom and blue and green patch cables are used to connect points to the switch at the top.
At the rear one finds the typical slots in to which wires may be pushed down. In this case the colour coding makes provision for both T568A and T568B as explained in an earlier post on UTP cable.
After installation the network points may be connected with a switch, hub, or other device using patch cables. In the picture below the patch panel is on the bottom and blue and green patch cables are used to connect points to the switch at the top.
Labels:
Copper
28 May 2011
UTP
Here is a picture of unshielded twisted pair (UTP) cable. It is clear that each pair of wires is twisted around one another. It is not entirely clear from this picture that the rate at which each pair is twisted is different. It is also not obvious from this picture that the twisted pairs are then twisted around the other pairs. Even though it may not be obvious, it happens to be true.
At the ends of such cables one expects plugs or sockets. RJ-45 plugs are the ones to use with the cable depicted above. Below is a picture of two unused RJ-45 plugs (from the top and bottom). For the sake of comparison an RJ-11 telephone plug (attached to a telephone cable) is shown on the left.
To attach the cable one would separate the individual wires, push them into the plug in the correct order and then make the connection permanent by crimping it. Crimping pushes the pieces of copper (that can be seen on the pug in the centre of the picture above) through the wire inserted below it. This keeps the wire in place and provides an external contact via the copper strip that still protrudes slightly. Crimping also pushes the sleeve (on the other end of the plug as the copper) in so that it helps to hold the cable in place.
The order in which wires are arranged depends on the wiring scheme used at a particular installation. The following diagram depicts the two alternatives. T568A starts with the green and white wire in position 1 and ends with the solid brown wire in position 8. In contrast, T568B starts with the orange and white wire in position 1, but also ends with the solid brown wire in position 8.
The 'strange' use of blue in both standards in positions 4 and 5 is intended to ensure compatibility with telephone wiring. Although the RJ-11 plug has four pins, ordinary telephone connections only use the middle two. An RJ-11 plug physically fits into an RJ-45 socket and hence installations that use either of these wiring schemes can use the same wiring for telephone or network services. (In some cases it may even be and/or.)
The next picture shows an RJ-45 socket from the rear.
The 'A' stamped on it indicates that it has been colour coded for the T568A wiring scheme. In order to install it (using T568A) one merely places each wire into the groove next to its corresponding colour - and then pushes it down into the groove with something known as a pushdown tool. As the wire is pushed down the copper contacts of the socket cut through the insulation of the wire. In addition, the contacts are shaped in such a manner that they will retain the wire in the groove and maintain the contact.
At the ends of such cables one expects plugs or sockets. RJ-45 plugs are the ones to use with the cable depicted above. Below is a picture of two unused RJ-45 plugs (from the top and bottom). For the sake of comparison an RJ-11 telephone plug (attached to a telephone cable) is shown on the left.
To attach the cable one would separate the individual wires, push them into the plug in the correct order and then make the connection permanent by crimping it. Crimping pushes the pieces of copper (that can be seen on the pug in the centre of the picture above) through the wire inserted below it. This keeps the wire in place and provides an external contact via the copper strip that still protrudes slightly. Crimping also pushes the sleeve (on the other end of the plug as the copper) in so that it helps to hold the cable in place.
The order in which wires are arranged depends on the wiring scheme used at a particular installation. The following diagram depicts the two alternatives. T568A starts with the green and white wire in position 1 and ends with the solid brown wire in position 8. In contrast, T568B starts with the orange and white wire in position 1, but also ends with the solid brown wire in position 8.
T568A T568B
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
The next picture shows an RJ-45 socket from the rear.
The 'A' stamped on it indicates that it has been colour coded for the T568A wiring scheme. In order to install it (using T568A) one merely places each wire into the groove next to its corresponding colour - and then pushes it down into the groove with something known as a pushdown tool. As the wire is pushed down the copper contacts of the socket cut through the insulation of the wire. In addition, the contacts are shaped in such a manner that they will retain the wire in the groove and maintain the contact.
Labels:
Copper
Subscribe to:
Posts (Atom)