Re: Virtual network bridge stopped working after upgrading to F27

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

 



Gordon Messmer writes:

On 11/16/2017 07:50 PM, Sam Varshavchik wrote:
Now, with the crisis averted, I'd like to figure out how to get my Windows VM back on the LAN, with its own static IP address.


Usually, bridged networking can be set up with virsh:

virsh iface-bridge eth0 br0 --no-stp

virt-manager itself can handle this too. But before any of that happens the physical port has to be attached to the bridge, and an IP address has to be assigned to the bridged physical port. That's the step that was not working any more.

It took some aimless poking for a while, and trying things at random, but after adding

NM_CONTROLLED=no

to networks-scripts/ifcfg-vnet0, the config settings for the bridge itself, resulted in "ifup vnet0" work again, and running dhclient to acquire the server's IP address. It was working, without this explicit setting, prior to F27.

I compared all the initscripts between their F26 and F27 versions. There were some differences but I did not immediately see anything that explains the change in behavior. Both the F26 and the F27 versions of ifup-eth were quite insistent on exit 0-ing out before running dhclient, if the device was TYPE=Bridge. I could not figure out which dominoes are responsible for kicking off dhclient for bridge devices, but whatever and wherever it is, it apparently now requires NM_CONTROLLED=no before doing so.

Attachment: pgpBF3Guv2_48.pgp
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[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