Re: Bridges and Keyfiles




# 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




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