Archive for the ‘Ethernet’ Category

Cabling

Tuesday, April 1st, 2008

Twisted-pair Ethernet standards are such that the majority of cables can be wired ’straight-through’ (pin 1 to pin 1, pin 2 to pin 2 and so on), but others may need to be wired in the ‘crossover’ form (receive to transmit and transmit to receive).

10BASE-T and 100BASE-TX only require two pairs to operate, pins 1 and 2 (transmit or TX), and pins 3 and 6 (receive or RX). Since 10BASE-T and 100BASE-TX need only two pairs and Category 5 cable has four pairs, it is possible, but not standard, to run two network connections (or a network connection and two phone lines) over a cat 5 cable by using the normally unused pairs in these 10 and 100 Mbit/s configurations. This is not possible with 1000BASE-T since it requires all four pairs to operate, pins 1 and 2, 3 and 6 — as well as 4 and 5, 7 and 8.

It is conventional to wire cables for 10 or 100 Mbit/s Ethernet to either the T568A or T568B standards. Since these standards only differ in that they swap the positions of the two pairs used for transmitting and receiving (TX/RX), a cable with TIA-568A wiring at one end and TIA-568B wiring at the other will be a crossover cable. The terms used in the explanations of the 568 standards, tip and ring, refer to older communication technologies, and equate to the positive and negative parts of the connections.

A 10BASE-T node (such as a PC) that transmits on pins 1/2 and receives on pins 3/6 to a network device is most often on a “straight-through” cable in the “MDI” wiring pattern where RX goes to RX and TX goes to TX. A straight-through cable is usually used to connect a node to its network device. In order for two network devices or two nodes to communicate with each other (such as a switch to another switch or computer to computer) a crossover cable is often required at speeds of 10 or 100. If available, connections can be made with a straight-through cable by means of an “MDI-X” port, also known as an “internal crossover” or “embedded crossover” connection. Hub and switch ports with such internal crossovers are usually labelled as such, with “uplink” or “X”. For example, 3Com usually labels their ports 1X, 2X, and so on.

To connect two PCs directly together without a switch, an Ethernet crossover cable is often used. Although many modern Ethernet host adapters can automatically detect another PC connected with a straight-through cable and then automatically introduce the required crossover, if needed; if one or neither of the PC does not, then a crossover cable is required. If both devices being connected support 1000BASE-T according to the standards, they will connect regardless of the cable being used or how it is wired.

To connect two hubs or switches directly together, a crossover cable can be used, but some hubs and switches have an “uplink” port used to connect network devices together, or have a way to manually select MDI or MDI-X on a single port so that a straight-through cable can connect that port to another switch or hub. Most newer switches have automatic crossover (”auto MDI-X” or “auto-uplink”) on all ports, eliminating the uplink port and the MDI/MDI-X switch, and allowing all connections to be made with straight-through cables.

100BASE-TX follows the same wiring patterns as 10BASE-T but is more sensitive to wire quality and length, due to the higher bit rates.

1000BASE-T uses all four pairs bi-directionally and the standard includes auto MDI-X, however implementation is optional. With the way that 1000BASE-T implements signaling, how the cable is wired is immaterial in actual usage. The standard on copper twisted pair is IEEE 802.3ab for Cat 5e UTP, or 4D-PAM5; 4 D
Dmensions using PAM (pulse amplitude modulation) with 5 voltages, -2, -1, 0, +1, and +2
Unlike earlier Ethernet standards using broadband and coaxial cable, such as 10BASE5 (thicknet) and 10BASE2 (thinnet), 10BASE-T does not specify the exact type of wiring to be used but instead specifies certain “characteristics” which a cable must meet. This was done in anticipation of using 10BASE-T in existing twisted pair wiring systems that may not conform to any specified wiring standard. Some of the specified characteristics are attenuation, characteristic impedance, timing jitter, propagation delay, and several types of noise. Cable testers are widely available to check these parameters to determine if a cable can be used with 10BASE-T. These characteristics are expected to be met by 100 meters of 24 gauge unshielded twisted-pair cable, and 100 meters is the stated maximum length for baseband signal runs. However, with high quality cabling, cable runs of 150 meters or longer are often obtained and are considered viable by most technicians familiar with the 10baseT specification, though — as with all CSMA/CD network environments — the absolute limit on run length is determined by the size of the collision domain and cable quality. In reality, what meets the standards may not work, and those that don’t meet the standards might work.

100BASE-TX and 1000BASE-T both require a minimum of Category 5 cable (5e or 6 with 1000) and also specify a maximum cable length of 100 meters. Furthermore while 10BASE-T is more tolerant of poor wiring such as split pairs, poor terminations and even use of short sections of flat cable, 100BASE-T is not as much so, and 1000BASE-T is less tolerant still. Since testing of cable is often limited to checking if it works with Ethernet, running faster speeds over existing cable is often problematic. This problem is made worse by the fact that Ethernet’s autonegotiation takes account only of the capabilities of the end equipment not of the cable in between.

Ethernet over twisted pair

Tuesday, April 1st, 2008

There are several standards for Ethernet over twisted pair or copper-based computer networking physical connectivity methods. The currently most widely used of these are 10BASE-T, 100BASE-TX, and 1000BASE-T(Gigabit Ethernet), running at 10 Mbit/s, 100 Mbit/s, and 1000 Mbit/s (1 Gbit/s) respectively. These three standards all use the same connectors. Higher speed implementations nearly always support the lower speeds as well, so that in most cases different generations of equipment can be freely mixed. They use 8 position modular connectors, usually (but incorrectly) called RJ45 in the context of Ethernet over twisted pair. The cables usually used are four-pair Category 5 or above twisted pair cable. Each of the three standards support both full duplex and half-duplex communication. According to the standards, they all operate over distances of ‘up to 100 meters’.

The common names of the standards are derived from several aspects of the physical media. The number refers to the theoretical maximum transmission speed in Megabits per second (Mbit/s). The BASE is short for baseband, meaning that there is no frequency division multiplexing (FDM) or other frequency shifting modulation in use; each signal has full control of wire, on a single frequency. The T designates twisted pair cable, where the pairs of wires are twisted together for purposes of reducing crosstalk (FEXT and NEXT) when the pulsing direct current goes across the wires and creates electromagnetic induction effects. Where there are several standards for the same transmission speed, they are distinguished by a letter or digit following the T, such as TX. Some higher-speed standards use twin-axial cable, designated by CX.

Ethernet flow control

Tuesday, April 1st, 2008

Ethernet flow control is a mechanism for temporarily stopping the transmission of data on an Ethernet computer network.

Ethernet is a specific computer network protocol. Flow control in Ethernet resides on the data link layer. A situation may arise where a sending station (computer) may be transmitting data faster than some other part of the network (including the receiving station) can accept it. The overwhelmed network element will send a PAUSE frame, which halts the transmission of the sender for a specified period of time.

PAUSE is a flow control mechanism on full duplex Ethernet link segments defined by IEEE 802.3x and uses MAC Control frames to carry the PAUSE commands. The MAC Control opcode for PAUSE is 0X0001 (hexadecimal). Only stations configured for full-duplex operation may send PAUSE frames.

When a station wishes to send a PAUSE command, it sends the MAC Control frame to the 48-bit destination multicast MAC address of 01-80-C2-00-00-01. This particular address has been reserved for use in PAUSE frames. The use of a well-known address simplifies the flow control process by making it unnecessary for a station at one end of the link to discover and store the address of the station at the other end of the link.

Another advantage of using this multicast address arises from the use of flow control between network switches. The particular multicast address used is selected from a range of address which have been reserved by the IEEE 802.1D standard (which specifies the operation of switches). Normally, a frame with a multicast destination that is sent to a switch will be forwarded out all other ports of the switch. However, this range of multicast address is special and will not be forwarded by an 802.1D-compliant switch. Instead, frames sent to this address are understood by the switch to be frames meant to be acted upon within the switch.

A PAUSE frame includes the period of pause time being requested, in the form of two byte unsigned integer (0 through 65535). This number is the requested duration of the pause. The pause time is measured in units of pause “quanta”, where each unit is equal to 512 bit times.

Fully switched network

Tuesday, April 1st, 2008

An Ethernet network is usually composed of routers, hubs, and workstations. These workstations share the Ethernet connection with each other. In a fully switched network all of the hubs that would usually reside on an Ethernet network are replaced with one or more switches. These switches allow for a dedicated connection to each workstation. A switch allows for many conversations to occur simultaneously. Before switches existed data could only be transmitted in one direction at a time, this was called half-duplex. By using a switch the network is able to maintain full-duplex Ethernet. This means that data can now be transmitted in both directions at the same time. A good analogy for this would be traveling on a highway with traffic flowing in both directions.

The core function of a switch is to allow each workstation to communicate only with the switch instead of with each other. This in turn means that data can be sent from workstation to switch and from switch to workstation simultaneously. The above describes a fully switched network.

The core purpose of a switch is to decongest network flow to the workstations so that the connections can transmit more effectively; receiving transmissions that were only specific to their network address. With the network decongested and transmitting data in both directions simultaneously this can in fact double network speed and capacity when two workstations are trading information. For example if your network speed is 5 Mbit/s, than each workstation is able to simultaneously transfer data at 5 Mbit/s.

Fully switched networks employ either twisted-pair or fiber-optic cabling, both of which use separate conductors for sending and receiving data. In this type of environment, Ethernet nodes can forego the collision detection process and transmit at will, since they are the only potential devices that can access the medium. Simply stated a fully switched network is a collision-free environment.

Automatic crossover

Tuesday, April 1st, 2008

Automatic MDI/MDI-X Configuration is specified as an optional feature in the 1000BASE-T standard, meaning that straight-through cables will usually work between Gigabit capable interfaces. This feature eliminates the need for crossover cables, obsoletes the uplink/normal ports and manual selector switches found on many older hubs and switches, greatly reducing installation errors. Note that although Automatic MDI/MDI-X is generally implemented, a crossover cable would still be required in the occasional situation that neither of the connected devices has the feature implemented and enabled.Even for legacy 10/100 devices, many NICs, switches and hubs automatically apply an internal crossover when necessary. Besides the eventually agreed upon Automatic MDI/MDI-X, this feature may also be referred to by various vendor-specific terms including: Auto uplink and trade, Universal Cable Recognition and Auto Sensing.

Overview of Ethernet CablesE

Tuesday, April 1st, 2008

The 10BASE-T and 100BASE-TX Ethernet standards use one wire pair for transmission in each direction. The Tx+ line from each device connects to the tip conductor and the Tx- line is connected to the ring. This requires that the transmit pair of each device be connected to the receive pair of the device on the other end. When a terminal device is connected to a switch or hub, this crossover is done internally in the switch or hub. A standard straight through cable is used for this purpose where each pin of the connector on one end is connected to the corresponding pin on the other connector.One terminal device may be connected directly to another without the use of a switch or hub, but in that case the crossover must be done externally in the cable. Since 10BASE-T and 100BASE-TX use pairs 2 and 3, these two pairs must be swapped in the cable. This is a crossover cable. A crossover cable must also be used to connect two internally crossed devices (e.g., two hubs) as the internal crossovers cancel each other out. This can also be accomplished by using a straight through cable in series with a modular crossover adapter.Because the only difference between the TIA/EIA-568-A and T568B pin/pair assignments are that pairs 2 and 3 are swapped, a crossover cable may be envisioned as a cable with one connector following T568A and the other T568B. Such a cable will work for 10BASE-T or 100BASE-TX. 1000BASE-T4 (Gigabit crossover) which uses all four pairs requires the other two pairs (1 and 4) to be swapped and also requires the solid/striped within each of those two pairs to be swapped.

Ethernet crossover cable

Tuesday, April 1st, 2008

An Ethernet crossover cable is a type of Ethernet cable used to connect computing devices together directly where they would normally be connected via a network switch, hub or router. For example, one would use a crossover cable to directly connect two personal computers via their network adapters.

Network card

Tuesday, April 1st, 2008

A network card, network adapter, LAN Adapter or NIC (network interface card) is a piece of computer hardware designed to allow computers to communicate over a computer network. It is both an OSI layer 1 (physical layer) and layer 2 (data link layer) device, as it provides physical access to a networking medium and provides a low-level addressing system through the use of MAC addresses. It allows users to connect to each other either by using cables or wirelessly.

Although other network technologies exist, Ethernet has achieved near-ubiquity since the mid-1990s. Every Ethernet network card has a unique 48-bit serial number called a MAC address, which is stored in ROM carried on the card. Every computer on an Ethernet network must have a card with a unique MAC address. No two cards ever manufactured share the same address. This is accomplished by the Institute of Electrical and Electronics Engineers (IEEE), which is responsible for assigning unique MAC addresses to the vendors of network interface controllers.

Whereas network cards used to be expansion cards that plug into a computer bus, the low cost and ubiquity of the Ethernet standard means that most newer computers have a network interface built into the motherboard. These either have Ethernet capabilities integrated into the motherboard chipset, or implemented via a low cost dedicated Ethernet chip, connected through the PCI (or the newer PCI express bus). A separate network card is not required unless multiple interfaces are needed or some other type of network is used. Newer motherboards may even have dual network (Ethernet) interfaces built-in.

The card implements the electronic circuitry required to communicate using a specific physical layer and data link layer standard such as Ethernet or token ring. This provides a base for a full network protocol stack, allowing communication among small groups of computers on the same LAN and large-scale network communications through routable protocols, such as IP.

There are four techniques used to transfer data, the NIC may use one or more of these techniques.

* Polling is where the microprocessor examines the status of the peripheral under program control.
* Programmed I/O is where the microprocessor alerts the designated peripheral by applying its address to the system’s address bus.
* Interrupt-driven I/O is where the peripheral alerts the microprocessor that it’s ready to transfer data.
* DMA is where the intelligent peripheral assumes control of the system bus to access memory directly. This removes load from the CPU but requires a separate processor on the card.

A network card typically has a twisted pair, BNC, or AUI socket where the network cable is connected, and a few LEDs to inform the user of whether the network is active, and whether or not there is data being transmitted on it. The Network Cards are typically available in 10/100/1000 Mbit/s(Mbit/s). This means they can support a transfer rate of 10 or 100 or 1000 Megabits per second.

IEEE 802.3

Tuesday, April 1st, 2008

IEEE 802.3 is a collection of IEEE standards defining the physical layer, and the media access control (MAC) sublayer of the data link layer, of wired Ethernet. This is generally a LAN technology with some WAN applications. Physical connections are made between nodes and/or infrastructure devices (hubs, switches, routers) by various types of copper or fiber cable.

802.3 is a technology that can support the IEEE 802.1 network architecture.

The maximum packet size is 1518 bytes, although to allow the Q-tag for Virtual LAN and priority data in 802.3ac it is extended to 1522 bytes. If the upper layer protocol submits a protocol data unit (PDU) less than 64 bytes, 802.3 will pad the data field to achieve the minimum 64 bytes.

Although it is not technically correct, the terms “packet” and “frame” are used interchangeably. The ISO/IEC 8802-3 ANSI/IEEE 802.3 Standards refer to MAC sub-layer frames consisting of the Destination Address, Source Address, Length/Type, data, and Frame Check Sequence (FCS) fields. The Preamble and Start Frame Delimiter (SFD) are (usually) considered a header to the MAC Frame. This header plus the MAC Frame constitute a “Packet”.

The original Ethernet is called “Experimental Ethernet” today. It was developed by Robert Metcalfe in 1972 (patented in 1978) and was based in part on the wireless ALOHAnet protocol. It is not in use anywhere, but is thought to be the only Ethernet by some purists. The first “Ethernet” that was generally used outside Xerox was the DIX Ethernet. However, as DIX Ethernet was derived from Experimental Ethernet, and as many standards have been developed that are based on DIX Ethernet, the technical community has accepted the term Ethernet for all of them. Therefore, the term “Ethernet” can be used to name networks using any of the following standardized media and functions:

Ethernet Physical Layer

Tuesday, April 1st, 2008

The Ethernet physical layer is the physical layer component of the Ethernet standard.The Ethernet physical layer evolved over a considerable time span and encompasses quite a few physical media interfaces and several magnitudes of speed. The speed ranges from 3 Mbit/s to 10 Gbit/s in speed while the physical medium can range from bulky coaxial cable to twisted pair to optical fiber. In general, network protocol stack software will work identically on most of the following types.The following sections provide a brief summary of all the official Ethernet media types (section numbers from the IEEE 802.3-2002 standard are parenthesized). In addition to these official standards, many vendors have implemented proprietary media types for various reasons—often to support longer distances over fiber optic cabling.Many Ethernet adapters and switch ports support multiple speeds, using autonegotiation to set the speed and duplex for the best values supported by both connected devices. If auto-negotiation fails, a multiple speed device will sense the speed used by its partner, but will assume half-duplex. A 10/100 Ethernet port supports 10BASE-T and 100BASE-TX. A 10/100/1000 Ethernet port supports 10BASE-T, 100BASE-TX, and 1000BASE-T.