Skip to main content

Adding a Second NIC

If you wish to add a second network interface, you must create a new file in /etc/sysconfig/network-scripts/<name of new interface> and configure the IP address and other settings. After a network restart or reboot, the new interface appears in the web interface.

To modify the sysconfig network scripts:

  1. Start the VM.

  2. SSH into the Haivision server:
    ssh hvroot@<IP or FQDN> -t "bash -l"

  3. Elevate to root:
    sudo su -

  4. Copy an existing config for the new NIC:
    cd /etc/sysconfig/network-scripts
    cp ifcfg-eth0 ifcfg-eth1

  5. Use your favorite text editor to edit the new config file:
    vi ifcfg-eth1

Note

Ensure you remove the GATEWAY line, else the new NIC overwrites the system’s default gateway.

  1. Ensure the SELinux context is properly set, by checking:
    ls -Z ifcfg-eth1

  2. If it needs correcting, set it with:
    chcon system_u:object_r:httpd_config_t:s0 ifcfg-eth1

  3. Restart the VM.

The second NIC appears in the web interface.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.