Skip to main content

Configuring Virtual interfaces

Twenty-one encoder currently does not support creating new virtual interfaces in web UI. These interfaces need to be added using ifcfg scripts. Currently, the Twenty-one encoder recognizes bond, bridge and vlan interfaces.

For example, to add vlan 100 to existing ethernet interface eno1:

With sudo add a new file ifcfg-eno1.100 to directory sudo /etc/sysconfig/network-scripts/ (for example with nano or vim)
cd /etc/sysconfig/network-scripts/
sudo nano ifcfg-eno1.100

DEVICE=eno1.100 TYPE=Vlan VLAN=yes VLAN_ID=100 ONBOOT=yes BOOTPROTO=none NM_CONTROLLED=no IPV6INIT=no ZONE=trc-admin-data

Next restart network service, this will interrupt all network traffic to & from the encoder:

sudo systemctl restart network.service

Restart transcoder service
sudo systemctl restart transcoder-base

Wait until Twenty-one encoder starts and in Twenty-one encoder Dashboard run Setup where you can find your new vlan interface. Configure usage and complete setup.