[CentOS] Trying to get bride network on CentOS 7 working with virt-manager

Gordon Messmer

gordon.messmer at gmail.com
Mon Jun 8 23:21:51 UTC 2020


On 6/8/20 3:46 PM, Jerry Geis wrote:
> I have these interfaces listed.
>
> virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
>          inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
>
> virbr1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
>          inet 192.168.100.1  netmask 255.255.255.0  broadcast 192.168.100.255


Those interfaces are for NAT networks, not bridged networks.

The easiest way to set up bridged networking on CentOS 7 is:

     virsh iface-bridge eth0 br0 --no-stp

This command will create a new bridge interface, br0.  The existing 
interface, eth0, will be added to the bridge, and its current IP 
configuration will be migrated to the new interface.

(This should work for C8, but I haven't deployed KVM on C8 yet)




More information about the CentOS mailing list