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...

Cloud Broadcasting - Resilience

In the last article on Cloud Broadcasting we looked at the concept of “Cloud Washed” and “Cloud Born” and the considerations vendors must look at when delivering true cloud systems. In this article, we look more at resilience and cloud…

Articles You May Have Missed

How is your IP? Consultant Tony Orme has just completed an 18-part series of tutorials on IP and broadcast technology. He will soon begin a series of cloud technology articles. In order to help readers prepare for those cloud-focused tutorials,…

Cloud Broadcasting - Cloud Washed or Cloud Born?

Implementation of software in public clouds might not be as straightforward as it seems. Outdated software licensing models restrict one of the fundamental advantages of cloud systems, that is their ability to grow and shrink as the dynamics of the…

Making Light Work of Fiber Optics

Engineers facing the need to upgrade a facility have a choice, copper or fiber. There may be good reasons to choose either. However, as this tutorial reveals, the key benefit of installing fiber optic links include its wide bandwidth, which…

Articles You May Have Missed

As the media industry clusters at the CES 2017 show, look for announcements about IP, delivery technology and more viewer options. To support these trends, content makers and broadcasters need to carefully examine how IP solutions can develop enhanced workflows and…