On Mon, 14 Aug 2023 21:54:34 -0400
Alex wrote:

> Hi,
> I've just installed fedora38 over my previous fedora install but didn't
> save my network config that included a bridge to allow for local IPs for my
> virtual machines. Is there a network tool that I can use to create a bridge
> so I can then use the bridge option with virt-manager to assign IPs to my
> Win10 virtual machine?
> 
> I'm used to doing the old-school network-scripts/ifcfg-eth0 stuff by hand,
> but realize that doesn't exist anymore.

Here's my notes from creating a bridge when I finally caved and
went with network manager:


https://www.cyberciti.biz/faq/how-to-add-network-bridge-with-nmcli-networkmanager-on-linux/

nmcli con show
nmcli con add ifname br0 type bridge con-name br0
nmcli con add type bridge-slave ifname eth0 master br0
nmcli con down "Wired connection 1"
nmcli con up br0
nmcli con show

From fedora mailing list:

nmcli con mod br0 ipv4.ignore-auto-dns yes

Also this:

nmcli con mod br0 bridge.mac-address nn:nn:nn:nn:nn:nn
(this makes sure the bridge looks like the same interface
as the physical ethernet interface so DHCP still works).

This all works, but takes forever to start. Found another
web page that says I should turn off stp:

https://bbs.archlinux.org/viewtopic.php?id=207379

The original page mentioned you could do that, but didn't say
why you'd want to. Now I know why :-).

nmcli con modify br0 bridge.stp no

Holy chow! This seems to work, no more delay. I should try this
at work :-).
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to