Re: The Bridge on the River Dream House Of Net
- From: poma <pomidorabelisima gmail com>
- To: Dan Williams <dcbw redhat com>
- Cc: Network Manager <networkmanager-list gnome org>
- Subject: Re: The Bridge on the River Dream House Of Net
- Date: Wed, 08 Apr 2015 10:30:01 +0200
On 07.04.2015 22:18, Dan Williams wrote:
On Tue, 2015-04-07 at 18:47 +0200, poma wrote:
On 07.04.2015 18:26, poma wrote:
$ nmcli networking
enabled
$ nmcli networking connectivity
full
$ brctl show
bridge name bridge id STP enabled interfaces
bridge0 8000.001234567830 no enp3s0
$ nmcli device
DEVICE TYPE STATE CONNECTION
bridge0 bridge connected bridge0
enp3s0 ethernet connected base0
...
$ nmcli networking off
$ nmcli networking
disabled
$ nmcli networking connectivity
none
$ brctl show
bridge name bridge id STP enabled interfaces
bridge0 8000.000000000000 no
$ nmcli device
DEVICE TYPE STATE CONNECTION
bridge0 bridge connected bridge0
enp3s0 ethernet unmanaged --
...
Yes, you have found some inconsistencies with the Enabled property and
behavior. I also see some open questions in the code about how to treat
software devices during enable/disable. I've filed
https://bugzilla.gnome.org/show_bug.cgi?id=747477 to track it.
Thanks!
Dan
$ systemctl reboot
.
.
.
$ nmcli networking
disabled
$ nmcli networking connectivity
none
$ brctl show
bridge name bridge id STP enabled interfaces
bridge0 8000.000000000000 no
$ nmcli device
DEVICE TYPE STATE CONNECTION
bridge0 bridge unmanaged --
enp3s0 ethernet unmanaged --
...
$ nmcli networking on
$ nmcli networking
enabled
$ nmcli networking connectivity
none
$ brctl show
bridge name bridge id STP enabled interfaces
bridge0 8000.000000000000 no
$ nmcli device
DEVICE TYPE STATE CONNECTION
enp3s0 ethernet disconnected --
bridge0 bridge unmanaged --
...
$ su
Password:
# nmcli networking
enabled
# nmcli networking connectivity
none
# nmcli networking off
# nmcli networking
disabled
# nmcli networking on
# nmcli networking
enabled
# nmcli networking connectivity
none
# lsmod | grep bridge
bridge 107941 1 ebtable_broute
stp 12868 1 bridge
llc 13941 2 stp,bridge
# modprobe -rv ebtable_broute
rmmod ebtable_broute
rmmod bridge
rmmod stp
rmmod llc
# lsmod | grep bridge
# modprobe -v ebtable_broute
insmod /lib/modules/3.18.11-200.fc21.x86_64/kernel/net/llc/llc.ko.xz
insmod /lib/modules/3.18.11-200.fc21.x86_64/kernel/net/802/stp.ko.xz
insmod /lib/modules/3.18.11-200.fc21.x86_64/kernel/net/bridge/bridge.ko.xz
insmod /lib/modules/3.18.11-200.fc21.x86_64/kernel/net/bridge/netfilter/ebtable_broute.ko.xz
# lsmod | grep bridge
bridge 107941 1 ebtable_broute
stp 12868 1 bridge
llc 13941 2 stp,bridge
# exit
exit
$ nmcli networking
enabled
$ nmcli networking connectivity
none
$ brctl show
bridge name bridge id STP enabled interfaces
$ nmcli device
DEVICE TYPE STATE CONNECTION
enp3s0 ethernet disconnected --
...
$ nmcli networking off
$ nmcli networking
disabled
$ nmcli networking on
$ nmcli networking
enabled
$ nmcli networking connectivity
full
$ brctl show
bridge name bridge id STP enabled interfaces
bridge0 8000.001234567830 no enp3s0
$ nmcli device
DEVICE TYPE STATE CONNECTION
bridge0 bridge connected bridge0
enp3s0 ethernet connected base0
...
$ NetworkManager --version
You must be root to run NetworkManager!
$ NetworkManager --help
You must be root to run NetworkManager!
$ su
Password:
# NetworkManager --version
1.0.0-8.fc21
Disabled 'networking', reboot and bridge connection will start working *only* after kernel module reload.
Bug or feature?
Update to 1.1.0 development snapshot
https://bugzilla.redhat.com/show_bug.cgi?id=1209785
$ nmcli networking off
$ systemctl reboot
.
.
.
$ nmcli networking
disabled
$ nmcli networking connectivity
none
$ brctl show
bridge name bridge id STP enabled interfaces
bridge0 8000.000000000000 no
$ nmcli device
DEVICE TYPE STATE CONNECTION
bridge0 bridge unmanaged --
enp3s0 ethernet unmanaged --
...
$ nmcli networking on
$ nmcli networking
enabled
$ nmcli networking connectivity
full
$ brctl show
bridge name bridge id STP enabled interfaces
bridge0 8000.001234567830 no enp3s0
$ nmcli device
DEVICE TYPE STATE CONNECTION
bridge0 bridge connected bridge0
enp3s0 ethernet connected base0
...
$ NetworkManager --version
1.1.0-1.git20150407.7914a6b.fc21
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]