Configure Centos 7 with multiple ip in bridge mode br0 Rumi, October 3, 2025 Configuring CentOS 7 with multiple IP addresses on a network bridge involves creating a bridge interface, adding a physical interface to it, and then assigning multiple IP addresses to the bridge. 1. Create the Bridge Interface: nmcli con add type bridge con-name br0 ifname br0 2. Configure the Bridge Interface: nmcli con modify br0 bridge.stp no # Disable Spanning Tree Protocol (optional, but common for simple setups) nmcli con modify br0 ipv4.method manual ipv4.addresses "192.168.1.10/24,192.168.1.11/24" ipv4.gateway 192.168.1.1 ipv4.dns "8.8.8.8,8.8.4.4" Replace 192.168.1.10/24, 192.168.1.11/24, 192.168.1.1, and 8.8.8.8,8.8.4.4 with your desired IP addresses, gateway, and DNS servers. You can add as many IP addresses as needed, separated by commas. 3. Add a Physical Interface to the Bridge: nmcli con add type ethernet con-name eth0-br ifname eth0 master br0 Replace eth0 with the actual name of your physical network interface. 4. Activate the Connections: nmcli con up br0 nmcli con up eth0-br 5. Verify the Configuration: ip a This command should show the br0 interface with the assigned IP addresses and the eth0 interface as a slave to br0. Note: If you are using network scripts instead of nmcli, you would create configuration files in /etc/sysconfig/network-scripts/ for the bridge and the physical interface, and then restart the network service. For example, for adding multiple IPs to the bridge, you would add IPADDR1, IPADDR2, etc., lines in the ifcfg-br0 file. Administrations Configurations (Linux) br0Bridge InterfaceCentOSCentOS 7