dslreports logo

Ethernet IEEE 802.3 is the most common local network technology used today. It is based on CSMA/CD(Carrier Sense Multiple Access With Collision Detection) scheme. Think of Ethernet as a telephone party line. Before speaking you listen to see if anyone else is talking. If no one is talking then you start. It is possible that several people may start talking at the same time. That is a collision; no one can understand what is being said. When this occurs everyone stops talking for a while. When the line is idle they try again. Each party waits a different length of time to minimize the chance of colliding again. CDMA/CD imposes a number of design constraints on the network. The minimum packet size must be longer then the end-to-end propagation delay of the system. This insures the transmitter is still transmitting when the collision occurs allowing retries to be done by the network layer. Power levels must be set to allow collision detection.



When Ethernet was developed it used a fat coax cable with taps clamped on at prescribed intervals. Today the most common type of Ethernet wiring is unshielded twisted pair (UTP) copper cable consisting of 4 pairs of wire terminated with 8 conductor jacks similar to those used for telephone wiring. This has dramatically reduced the cost of implementing a LAN.



Media Access Controller (MAC) Address

Each Ethernet interface has a unique address called the MAC address. This allows each interface to be uniquely addressed. This is not the same as the IP address that will be discussed later.



Excerpt from Assigned Ethernet numbers:

Ethernet hardware addresses are 48 bits, expressed as 12 hexadecimal digits (0-9, plus A-F, capitalized). These 12 hex digits consist of the first/left 6 digits (which should match the vendor of the Ethernet interface within the station) and the last/right 6 digits which specify the interface serial number for that interface vendor.



These high-order 3 octets (6 hex digits) are also known as the

Organizationally Unique Identifier or OUI.



Ethernet addresses might be written unhyphenated (e.g., 123456789ABC), or with one hyphen (e.g., 123456-789ABC), but should be written hyphenated by octets (e.g., 12-34-56-78-9A-BC).



These addresses are physical station addresses, not multicast nor

broadcast, so the second hex digit (reading from the left) will be even, not odd.



10Mbps - 100Mbps - 1Gbps - 10Gbps

Initially UTP Ethernet operated at 10 million bits per second (10Mbp/s). Fast Ethernet increased speed to 100 million bits per second over Category 5 wiring 100Mbp/s). Gigabit Ethernet is 10 times faster then Fast Ethernet (1,000Mbp/s). During Gigabit Ethernet development the Cat5 specification was tightened resulting in Cat5e. Work is in progress to increase Ethernet speed by another factor of 10 to 10 Gigabits per second.



Ethernet Hubs and Switches

UTP Ethernet is a point-to-point topology electrically even though logically it is a party line. Each Ethernet interface must be directly connected to another Ethernet Interface. Hubs regenerate Ethernet signals and allow devices to talk to each other, remember the party line analogy. Cable must run directly between the outlet and the hub it cannot be spliced or daisy chained. CDMA/CA scheme used by Ethernet places a limit on the number of wire segments and how many hubs can be used. For 10Mbps Ethernet use the 5-4-3 rule, maximum of 5 wire segments and 4 hubs between devices, however only 3 of those hubs can have devices attached. Because 100Mbps Ethernet is faster the rules are more stringent. A maximum of two Class II hubs, and the distance between hubs is limited to less then 5 meters. Class I hubs cannot connect directly to another hub. For all intents and purposes 100Mbps Ethernet networks are limited to a single hub.



Where hubs need to be cascaded the solution is to use an Ethernet switch. Switches do not simply repeat incoming packets on all ports. A switch examines each incoming packet, reads the destination address and passes it directly to the proper port. A switch allows multiple conversations to occur simultaneously as opposed to being limited to only one with a hub. This allows total switch bandwidth to be greater then a hub. A 100Mbp/s hub shares 100Mbp/s among all devices. A switch segments traffic betweens pairs of ports. A non-blocking 16-port 100Mbp/s Ethernet switch has a maximum throughput capacity of 800Mbp/s. This assumes 8 pairs of connections evenly divided between the 16 ports; each one operating at full 100Mbps. A switch has another advantage it eliminates collisions allowing full duplex communication. This means individual computers can be transmitting at the same time they are receiving. This doubles throughput of our hypothetical 16-port 100Mbp/s switch to 1.6Gbp/s as compared to 100Mbp/s for a hub. In actual use the advantage will not be as great but switches offer tremendous performance advantage



The switch selects the proper port based on MAC address. Every Ethernet controller has a MAC address. The switch reads packets as they arrive and associates a port with a specific MAC address. When the switch does not know which port to use it broadcasts the incoming packet to all ports, much like a hub. When the device responds the switch knows which port it is connected to.





Ethernet Tip Use 10/100 autosensing hub or switch. This allows a mix of 10 and 100Mbp/s computers. Internally the hub combines all low-speed ports together and all high-speed ports. If a packet goes between different speed ports the hub does a store and forward. The packet is completely assembled at the incoming speed then sent out at the outgoing speed.



Managed vs Unmanaged Hubs and Switches

Ethernet hubs and switches come in both managed or unmanaged versions. Managed devices allow the administrator to control various parameters and observe traffic. These features are valuable in a corporate network but are overkill in a home network. Unmanaged devices are considerable less expensive.



Preferred Topology

For maximum flexibility a switch should be used in the wiring closet. This maximizes total network bandwidth. Using a central switch allows hubs to be used in each room if additional Ethernet drops are needed. Switches used to be very expensive, but recently switch prices have been dramatically reduced, making a switch the preferred choice.


Feedback received on this FAQ entry:
  • Ethernet IEEE 802.3 used CSMA/CD .It is not based on CDMA/CA (Collision Detection Multiple Access Collision Avoidance) scheme

    2009-03-24 13:07:47



Expand got feedback?

by tschmidt See Profile edited by SYNACK See Profile
last modified: 2009-03-24 13:43:13