Re: Bridges and Keyfiles




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

Bridge Static:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

/etc/NetworkManager/system-connections/bridge0static:
[connection]
id=bridge0static
uuid=833faff7-cbbf-4567-be6c-8d215387ab8b
interface-name=bridge0
type=bridge

[ipv6]
method=ignore

[ipv4]
method=manual
dns=192.168.2.1;
address1=192.168.2.41/24,192.168.2.1

[bridge]
interface-name=bridge0
stp=false

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

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

[connection]
id=base0enp3s0
uuid=9e0fafbb-5881-41ba-ab47-98c2f0700915
type=ethernet
master=833faff7-cbbf-4567-be6c-8d215387ab8b
slave-type=bridge

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

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

$ nmcli connection
NAME           UUID                                  TYPE
DEVICE
bridge0static  833faff7-cbbf-4567-be6c-8d215387ab8b  bridge
bridge0
base0enp3s0    9e0fafbb-5881-41ba-ab47-98c2f0700915  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]