Understanding IP Networks - Ethernet

In the last article we looked at VLANs and the problem they’re trying to solve. In this article we continue the theme of looking at a network from a broadcast engineers’ point of view so they can better communicate with the IT department, and take a deeper look at Ethernet.

In the 1970’s Ethernet was in its infancy and competing with two other proprietary networking systems; token ring and token bus. All of these systems were backed by heavy industry and the concept of each employee having a computer on their desk wasn’t considered.

Token ring allowed computers to be connected to each other with coaxial cable in a ring topology. An empty packet of data held the electronic token and was passed between each computer, and only when the computer received the token could it send data. Various timeout protocols existed to stop a computer hogging the token.

Token Ring Unreliable

Token bus uses the token ring protocol and they only differ in that token bus can have an open ended network connection, but token ring has to have the LAN connected in a continuous loop. With token ring, each computer on the network has to know the address of the previous and next computers within the LAN to allow them to pass the token.

Token systems could be unreliable, especially if a computer failed, or it was switched off. Adding extra computers to the network was difficult as it stops all computers on the LAN from communicating. Furthermore, they were highly inefficient as they would have to receive, process and transmit the empty token packet even if they had no data to send.

Shared Bus

Ethernet was adopted by the IEEE in 1980 and given the project number 802. Although ethernet originally used coax as its LAN cable, it soon moved to twisted pair providing a cheaper more flexible alternative with full duplex operation. Coax was limited to either send or receive data, but could not do both at the same time. Hardware buffers within the network interface (NIC) cards allowed the computer to preload memory at CPU speeds and then the NIC would send the data at ethernet line speeds, thus making the whole operation significantly faster.

Diagram showing ethernet frame layout

Diagram showing ethernet frame layout

Ethernet was originally developed with a shared bus system in mind. All computers on the LAN would be either listening, sending or receiving data. To send data, a computer would detect other transmissions, and if it found another communication was taking place it would wait.

Collision Detect

During transmission the network interface of each computer would continue to listen for other traffic on the coax, and if one or more computers started sending data they would all detect this and stop their transmissions. An algorithm in each NIC randomly held back the transmission so statistically one NIC would transmit ahead of the others and stop an infinite race-off condition occurring keeping the system stable.

This collision detection is called “carriers sense multiple access with collision detect”, or CSMA/CD and was adopted by the IEEE as 802.3 and became a full published standard by 1985. CSMA/CD is used on twisted pair networks as multiple computers can be connected together through a hub. These essentially connect all of the transmits together (through buffer circuits) and all of the receives together so CSMA/CD was still required.

Easy Maintenance

With one cable or transmission system, packet collisions would increase as the number of computers increased and communicated more. More collisions result in reduced efficiency and hence lower data rates. Layer 2 switches solved this problem as they greatly reduced the number of devices on each segment and could allow a point to point connection between the computer and port of the switch. Intelligent switches took advantage of input buffering and would decide when to schedule the sending of a packet and avoid collision altogether.

Layer 2 switches can be connected together through bridges to keep maintenance easy and reduce complex cable runs.

Diagram showing point to point requirements for non CSMA/CD CAT8

Diagram showing point to point requirements for non CSMA/CD CAT8

Each Ethernet network interface card has its own unique media access control address programmed during manufacture. Ethernet assumes that the manufacturers of the network interface card have been assigned a MAC address from the IEEE’s registration authority and that it has been programmed properly. A NIC will only respond to two types of received messages; its own MAC address in the destination address header, and the broadcast address in the same part of the header.

Many Protocols

The broadcast address is always “ff-ff-ff-ff-ff-ff” and is used by protocols such as address resolution protocol (ARP) to resolve an IP address to a MAC address. The down side of this is that when one computer sends out a broadcast message every single device on the network will receive it and have to process it. This is inefficient and a waste of valuable bandwidth. The solution to this is to split networks physically using bridges, or VLANs, which coincide with subnets on IP networks.

Ethernet was designed to work with many different protocols, IP is only one of them, and it is possible to send IP datagrams and ARCNET packets at different speeds on the same Ethernet network.

CSMA/CD Dropped

In recent years, speeds of Ethernet networks have increased significantly. In the 1980’s network speeds were running at 100Kbps on CAT1 cabling, CAT5 provided 250Mbps and CAT8 now gives us 40Gbps by splitting the data over multiple pairs within a single cable or using fiber. However, only distances of 30m are achievable over cable.

The most important aspect of 40GBASE-T is that CSMA/CD has been dropped from the IEEE 802 specification and there is no backwards compatibility with CAT6 and earlier. This is fine for camera’s as the output of the camera will connect directly to the high speed non-blocking layer 2 switch. However, we can’t mix other CAT6 devices within the CAT8 segment as they will require CSMA/CD to work correctly.

Faster Switchers

As speeds increase to 40Gbps and 100Gbps the RJ45 ethernet connector has been succeeded by SFP and CXP connectors. The small form-factor pluggable (SFP) is a hot pluggable sub-module allowing connection for fiber or copper. CXP combines multiple copper pairs to provide 100Gbps with twelve 10Gbps pairs, or three 40Gbps links.

To network 2160P120 cameras we would need a seriously fast layer 2 switch to process all of the 24Gbps network streams being sent to it. This would be a switch worthy of a Tier-4 datacenter and certainly wouldn’t be consumer-off-the-shelf.

Let us know what you think…

Log-in or Register for free to post comments…

You might also like...

The Next Step For IP Transmission

While the debate surrounding the need for a complete migration from handling video (and audio) as a baseband SDI signal to IP continues, manufacturers of bonded cellular video transmitters say they got the transition started with their camera-mounted systems and…

Avid at IBC 2016

Building on their NAB introductions, Avid brought new storage systems to IBC 2016, previewed IP components of their MediaCentral Platform, and re-defined the next generation newsroom

Evertz Participates IP Interoperability Demonstrations at IBC

Evertz will be participating in a multiple IP interoperability demonstrations at IBC2016 The company, with its Software Defined Video Networking (SDVN) solutions, continues to demonstrate its commitment to open formats and standards for uncompressed video, audio, and metadata over IP.

Major UHD Adoption in Two Years and IP in Five Years

Significant investment in UHD infrastructure by broadcasters is more than two years away, according to a new survey organised by Imagine Communications. Its 2016 Focus Forward Technology Trends survey also found that nearly 90 percent of media companies have initiated the process…

IBC Makes IP Interoperability a Reality with Dedicated Demonstration Zone

The IBC IP Interoperability Zone was presented for the first time this year through the cooperation of AIMS and the IABM.