Note, networkd does not mention PortPriority under netdev Bridge section,
however, PathCost is mentioned. It appears networkd is missing an implementation.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: systemd 232-18ubuntu1
ProcVersionSignature: Ubuntu 4.10.0-8.10-generic 4.10.0-rc8
Uname: Linux 4.10.0-8-generic x86_64
ApportVersion: 2.20.4-0ubuntu2
Architecture: amd64
Date: Mon Feb 27 17:11:32 2017
Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-8-generic root=UUID=900c1e3f-f682-4455-949c-ebdbf60ac6f5 ro console=ttyS0
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.10.1-1ubuntu1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-i440fx-zesty
dmi.modalias: dmi:bvnSeaBIOS:bvr1.10.1-1ubuntu1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-zesty:cvnQEMU:ct1:cvrpc-i440fx-zesty:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.version: pc-i440fx-zesty
dmi.sys.vendor: QEMU
1. root@ubuntu: /run/systemd/ network# lsb_release -rd
Description: Ubuntu Zesty Zapus (development branch)
Release: 17.04
2. root@ubuntu: /run/systemd/ network# apt-cache policy systemd archive. ubuntu. com/ubuntu zesty/main amd64 Packages dpkg/status
systemd:
Installed: 232-18ubuntu1
Candidate: 232-18ubuntu1
Version table:
*** 232-18ubuntu1 500
500 http://
100 /var/lib/
3. Using a networkd config like this:
# cat 10-netplan- eth1.network 52:54:00: 12:34:02
[Match]
MACAddress=
Name=eth1
[Network] sing=no
Bridge=br0
LinkLocalAddres
IPv6AcceptRA=no
[Bridge]
Cost=50
Priority=28
% cat /sys/class/ net/br0/ brif/eth1/ priority
28
4. % cat /sys/class/ net/br0/ brif/eth1/ priority
32
When using ifupdown and /etc/network/ interfaces to configure a bridge
users are able to specify a bridge port priority:
auto br0
iface br0 inet static
address 192.168.1.1
bridge_ports eth1 eth2
bridge_portprio eth1 28
bridge_portprio eth2 14
Which results in the bridge hook scripts running:
brctl setportprio br0 eth1 28
which is visible via:
/sys/class/ net/br0/ brif/eth2/ priority
Note, networkd does not mention PortPriority under netdev Bridge section,
however, PathCost is mentioned. It appears networkd is missing an implementation.
ProblemType: Bug ature: Ubuntu 4.10.0-8.10-generic 4.10.0-rc8 /boot/vmlinuz- 4.10.0- 8-generic root=UUID= 900c1e3f- f682-4455- 949c-ebdbf60ac6 f5 ro console=ttyS0 version: pc-i440fx-zesty bvr1.10. 1-1ubuntu1: bd04/01/ 2014:svnQEMU: pnStandardPC( i440FX+ PIIX,1996) :pvrpc- i440fx- zesty:cvnQEMU: ct1:cvrpc- i440fx- zesty: version: pc-i440fx-zesty
DistroRelease: Ubuntu 17.04
Package: systemd 232-18ubuntu1
ProcVersionSign
Uname: Linux 4.10.0-8-generic x86_64
ApportVersion: 2.20.4-0ubuntu2
Architecture: amd64
Date: Mon Feb 27 17:11:32 2017
Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.10.1-1ubuntu1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.
dmi.modalias: dmi:bvnSeaBIOS:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.
dmi.sys.vendor: QEMU