Warning: The actions described below are dangerous and can cause loosing of remote access to the server. It is recommended to have direct access to the server in order to revert the changes back in case of emergency.
- Connect to the slave KVM node via SSH
Disable Network Manager as it may interfere with the bridge.
Additionally, it makes sense to review the network configuration file, e.g. /etc/sysconfig/network-scripts/ifcfg-eth0 and verify that it is disabled there as well
Install bridge-utils package:
The example of the network configuration file is below:
Create a copy of the network interface:
Note: It is recommended move non-used configuration files out of the network-scripts/ sub-directory. Be aware that configuration files that starts from ifcfg-* files will be applied, including ifcfg-eth0.backup file.
Create the bridge file:
Copy network configuration settings from ifcfg-eth0 to ifcfg-br0 file to make it look like below:
Edit the ifcfg-eth0 as below:Warning: All parameters should be written with capitalized characters, e.g. BRIDGE=br0 and NOT Bridge=br0
Restart the network service to apply the changes: