Re: Bridges and Keyfiles



Pomo,

address1=192.168.2.41/24,192.168.2.1

Awesome, thanks. That works perfectly. It would be nice if the
documentation reflected that. Currently, it reads like it's an array
of three values separated by semicolons. There's no references that
the subnet should use a slash. Also, it's very unclear that the
parameter is called "address#" and that it should be numbered, let
alone singular (i.e. not addresses1).

Do you have any idea on how "master" should be specified on a vlan
interface? I still don't know how to add that interface to the bridge.

Here's my current configs:

[connection]
id=p118p1
uuid=8b639214-5806-4135-8e0a-d243f88e562c
type=802-3-ethernet

[802-3-ethernet]
mac-address=bc:5f:f4:00:2a:0a

[ipv4]
method=disabled

[ipv6]
method=ignore

#####################


[connection]
# VM
id=vlan3
uuid=5aa46e95-8c37-45f1-b683-8b0268818189
type=vlan
master=8b639214-5806-4135-8e0a-d243f88e562c

[vlan]
parent=p118p1
id=3
interface-name=vlan3

[ipv4]
method=disabled

[ipv6]
method=ignore

########################

[connection]
id=vmbr0
interface-name=vmbr0
uuid=105acc55-5bbf-483f-95fe-a9d86a0284f2
type=bridge

[bridge]
interface-name=vmbr0
stp=false

[ipv4]
method=manual
address1=10.3.1.1/24;0.0.0.0

[ipv6]
method=ignore


Thanks,
Justin

On Tue, Mar 25, 2014 at 10:09 PM, poma <pomidorabelisima gmail com> wrote:

# 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


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