Re: nmcli and system-connections

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

 



On 7/3/24 7:02 PM, Alex wrote:

         > However, I also have virtual interfaces on eth1:1 and others.
        What are the next steps?

        Interface aliases are pretty much deprecated (see the thread
        about ifconfig), you’d just assign multiple IPs/prefixes to eth1.


    I do see that now, after another few hours trying to make this work,
    but do you have any idea why it wouldn't write the config files to
    /etc/NetworkManager/system-connections?


I'm still not sure why the connections weren't migrated from the old format even after it said it did, but I did just get it to work.

I basically deleted all the ifcfg-* interface files, deleted all the connections with 'nmcli c delete xxxx" then started over from scratch. Apparently there's more stored somewhere else than what's just in the files located in /etc/NetworkManager/system-connections.

After deleting everything and rebooting, nmcli/NetworkManager basically created the two interfaces on this server automatically, although it still didn't create the /etc/NetworkManager/system-connections files.

I was then able to create a basic bridge and add "Wired Connection 1" to the bridge:
# nmcli connection modify "Wired Connection 1" master br0

I later renamed it to eno1.

This page was helpful:
https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/configuring-a-network-bridge_configuring-and-managing-networking#configuring-a-network-bridge-by-using-nmcli_configuring-a-network-bridge <https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/configuring-a-network-bridge_configuring-and-managing-networking#configuring-a-network-bridge-by-using-nmcli_configuring-a-network-bridge>

You might want to try installing "nm-connection-editor". It's a nice graphical interface that handles most of the network options.

--
_______________________________________________
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