Understanding IP Broadcast Production Networks: Part 8 - VLANs

How VLAN’s enable the division of an Ethernet network into multiple smaller logical networks.

VLANs work at the layer 2 level, that is Ethernet. They are similar to subnets but not the same, they provide network security and improved performance.

IP has been successful within the internet and media domain as it is transport stream independent. That is, it can work with Ethernet, ISDN, ATM, serial and a whole plethora of different underlying hardware distribution networks. Video and audio streams provide a comparative analogy as they can both exist independently of SDI or computer networks.

A single Ethernet network can have thousands of devices connected to it using hubs, switches, and bridges.

Hubs are rarely used as they replicate all the traffic on one port to all the ports on the rest of the hub, causing an increased likelihood of congestion and collisions, especially in high bandwidth video and audio applications.

Switches are available in two varieties, managed and un-managed; An un-managed switch learns which devices are connected to each of its physical ports. When an IP camera wants to send video streams to a production switcher with IP address 10.2.1.9, it first sends an address resolution protocol (ARP) query, which says “who has IP address 10.2.1.9 and send me your Ethernet address?” The ARP query is sent to all devices connected to the layer 2 switch using an Ethernet broadcast message.

The production switcher responds with its Ethernet address; the camera then sets its destination Ethernet address to be that of the production switcher answering the ARP query. The un-managed layer 2 switch monitors this interaction and learns which port 10.2.1.9 is connected to, and from then on will only send traffic for the device to the port its connected to, in effect reducing congestion on the rest of the network, thus stopping collisions and improving efficiency.

Un-managed layer 2 switches do not require configuration and cannot be used as VLAN devices. Managed layer-2 switches allow more control over the network such as data rate shaping, quality of service configuration and VLAN ports.

A group of switches defines a network, bridges will link several networks together of the same protocol type, in the case of Ethernet this is a layer 2 bridge. So, if Studio-1 is in one building and Studio-2 in another, a bridge can be used to link the two different networks together at the layer 2 level.

At layer 3, if the IP address of a packet cannot be resolved in the network it is sent to a gateway router, the router has look up tables with destination addresses so that it can forward the packet to another network, which may also be a different protocol such as ATM or DSL.

Ethernet bridges differ from routers as they can only route layer 2 traffic between networks of the same type, for example Ethernet. But if the user wants to send a packet to a network of a different type, for example ADSL, a router must be used.

Figure 1 - Cameras can send video IP packets to Studio 1 Vision Switcher on VLAN10, but cannot send to Studio 2 as they are on a different VLAN.

Figure 1 - Cameras can send video IP packets to Studio 1 Vision Switcher on VLAN10, but cannot send to Studio 2 as they are on a different VLAN.

The fundamental problem with this approach is that within a single Ethernet network, all devices can be seen by all other devices. Camera-1 in studio-1 could send data to the sound console in studio-3, even with a managed switch. This may increase flexibility, but the network becomes congested extremely quickly and security is an obvious issue. Equipment may stop working properly as a sound console would not respond well to having data from many cameras sent to it.

Virtual LAN’s (VLANs) are a solution to both these problems.

Layer 2 switches, when configured to operate in VLAN mode can logically separate an entire Ethernet network into many different logical networks. The key here is “logical”, the devices can still be connected to the same physical switcher, but the ports can be labelled with different VLAN identifiers (VLAN ID’s), the algorithms within the switches stop Ethernet frames being sent to ports with different VLAN ID’s, thus greatly improving security and congestion handling.

The layer 2 switch inserts the VLAN ID into the header of an Ethernet frame as it enters the switch, sends it to the appropriate port, and just as the frame leaves the switch at the destination end the VLAN ID data is removed. From the point of view of the user the VLAN ID is never seen.

Each port on the switch can be configured as either an access or trunk type. Access ports can have only one VLAN configured in the interface and carry traffic for only one VLAN. Trunk ports can have two or more VLANs configured on the interface and can carry several VLANs simultaneously. Trunk ports are generally used to route VLANs to different switches.

Figure 2 -  For the producer to access emails, the network administrator must provide a route from 10.0.11.0/24 to 10.0.90.0/24 using a layer 3 router.

Figure 2 - For the producer to access emails, the network administrator must provide a route from 10.0.11.0/24 to 10.0.90.0/24 using a layer 3 router.

Although each access interface can have only one VLAN, they can all be different VLAN ID’s on the same switch. This is where the logical separation, security and reduction of congestion takes place. If port 1 has VLAN1, port 2 has VLAN2 and port 3 has VLAN3 configured in the switch, then none of the devices connected on each of these ports can see the other devices. So, if camera 1 is connected on VLAN1, microphone 1 is connected to VLAN2, then camera 1 media streams cannot be sent to the microphone on VLAN2.

Sometimes a device may need access to a different VLAN. If the producers’ computer in Studio-1 was attached to VLAN11 and they needed email access which was on VLAN90, then a router would be needed to connect the two networks together. This doesn’t compromise security as the network administrator will be able to configure the router to allow only email traffic to the computer.

Generally speaking, each IP subnet is aligned to a VLAN ID, this makes administration easier and routing between different VLAN’s more intuitive. Some layer 2 switches have layer 3 routers built into them allowing routing between VLANs. If the layer 2 switch does not have a router built into it, then an external layer 3 router must be used.

You might also like...

KVM & Multiviewer Systems At NAB 2024

We take a look at what to expect in the world of KVM & Multiviewer systems at the 2024 NAB Show. Expect plenty of innovation in KVM over IP and systems that facilitate remote production, distributed teams and cloud integration.

NAB Show 2024 BEIT Sessions Part 2: New Broadcast Technologies

The most tightly focused and fresh technical information for TV engineers at the NAB Show will be analyzed, discussed, and explained during the four days of BEIT sessions. It’s the best opportunity on Earth to learn from and question i…

Standards: Part 6 - About The ISO 14496 – MPEG-4 Standard

This article describes the various parts of the MPEG-4 standard and discusses how it is much more than a video codec. MPEG-4 describes a sophisticated interactive multimedia platform for deployment on digital TV and the Internet.

The Big Guide To OTT: Part 9 - Quality Of Experience (QoE)

Part 9 of The Big Guide To OTT features a pair of in-depth articles which discuss how a data driven understanding of the consumer experience is vital and how poor quality streaming loses viewers.

Chris Brown Discusses The Themes Of The 2024 NAB Show

The Broadcast Bridge sat down with Chris Brown, executive vice president and managing director, NAB Global Connections and Events to discuss this year’s gathering April 13-17 (show floor open April 14-17) and how the industry looks to the show e…