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:
Start the VM.
SSH into the Haivision server:
ssh hvroot@<IP or FQDN> -t "bash -l"Elevate to root:
sudo su -Copy an existing config for the new NIC:
cd /etc/sysconfig/network-scriptscp ifcfg-eth0 ifcfg-eth1Use 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.
Ensure the SELinux context is properly set, by checking:
ls -Z ifcfg-eth1If it needs correcting, set it with:
chcon system_u:object_r:httpd_config_t:s0 ifcfg-eth1Restart the VM.
The second NIC appears in the web interface.