Re: Creating a bridge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux