Re: Bridges and Keyfiles



After looking at Poma's configuration, this appears to be a bug in
NetworkManager. Apparently, bridges can only be created with a DHCP
address when using the keyfile plugin. Bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1080643

What's the deal with the keyfile plugin? I've been under the
impression for several years that it would ultimately become the
default plugin for NetworkManager. Yet, I seem to consistently run
into parsing and configuration problems with it, and the documentation
is woeful. Plus, it seems like the parameters have changed somewhat
recently to be inconsistent, which is notable by the removal of the
"ignore" option for the ipv4 method, but is still there for the ipv6
method.

Thanks,

Justin

On Tue, Mar 25, 2014 at 12:37 AM, poma <pomidorabelisima gmail com> wrote:

# NetworkManager --version
0.9.9.1-4.git20140319.fc20

Bridge DHCP:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/etc/NetworkManager/conf.d/keyfile-plugin.conf:
[main]
plugins=keyfile

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/etc/NetworkManager/system-connections/bridge0:
[connection]
id=bridge0
uuid=440288b2-b01e-4ca2-8c2e-1ac5104d9de2
interface-name=bridge0
type=bridge

[ipv6]
method=ignore

[ipv4]
method=auto

[bridge]
interface-name=bridge0
stp=false

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/etc/NetworkManager/system-connections/base0:
[ethernet]
duplex=full
mac-address=00:12:34:56:78:30

[connection]
id=base0
uuid=48725c7d-dc71-4821-8a99-71ea985c6538
type=ethernet
master=440288b2-b01e-4ca2-8c2e-1ac5104d9de2
slave-type=bridge

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ nmcli device
DEVICE   TYPE      STATE         CONNECTION
bridge0  bridge    connected     bridge0
enp3s0   ethernet  connected     base0

$ nmcli connection
NAME     UUID                                  TYPE            DEVICE
bridge0  440288b2-b01e-4ca2-8c2e-1ac5104d9de2  bridge          bridge0
base0    48725c7d-dc71-4821-8a99-71ea985c6538  802-3-ethernet  enp3s0

$ brctl show
bridge name     bridge id               STP enabled     interfaces
bridge0         8000.001234567830       no              enp3s0


poma


_______________________________________________
networkmanager-list mailing list
networkmanager-list gnome org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


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