Hello Everyone,
I am trying to set up a bridged network to use with virt-manager. The end goal is to have my virtual machines accessible from the network so I can run a web server from one of them. The host machine is running Fedora 32 while the virtual machine is running CentOS 8. To create the bridge I used these commands:
nmcli connection add ifname br0 type bridge con-name br0 connection.zone trused
nmcli connection add type bridge-slave ifname enp4s0 master br0
nmcli connection modify br0 bridge.stp no
nmcli connection modify enp4s0 autoconnect no
nmcli connection down enp4s0
nmcli connection up id br0
Then in virt-manager I set up the “Virtual Network Interface” like:
When I reboot the virtual machine it has no network connectivity. So I then rebooted the host and ran an ifconfig which shows the newly created bridge:
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.50.166 netmask 255.255.255.0 broadcast 192.168.50.255
inet6 fe80::d5bf:2680:545f:1f4e prefixlen 64 scopeid 0x20<link>
ether 82:51:60:26:f7:6d txqueuelen 1000 (Ethernet)
RX packets 327 bytes 54957 (53.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 74 bytes 12637 (12.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
However, there still is no joy in the virtual machine as it refuses to connect.
Here is all the information about my system… fpaste
Any help or advice would be greatly appreciated!
All the best,
Jim