[systemd-devel] The Bridge on the River PID EINS

Umut Tezduyar umut at tezduyar.com
Mon Mar 10 13:12:38 PDT 2014


Hi,

I tried out a similar configuration and couldn't get the bridge up. I
tried it on Arch with systemd 210.

bridge.netdev
[NetDev]
Name=bridge0
Kind=bridge

u.network
[NetDev]
Name=bridge0
Kind=bridge

Further debugging, seems like networkd never receives the RTM_NEWLINK
for the bridge. Since bridge is never considered up, u.network never
gets enslaved.

ip a
3: enp0s8: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group
default qlen 1000
    link/ether 08:00:27:e2:95:20 brd ff:ff:ff:ff:ff:ff
4: bridge0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
    link/ether 0a:4c:02:c2:2a:09 brd ff:ff:ff:ff:ff:ff

On Sun, Mar 9, 2014 at 5:58 AM, poma <pomidorabelisima at gmail.com> wrote:
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> STATIC OK!
>
> $ ll /etc/systemd/network/
> ... enp3s0.network
>
> $ cat /etc/systemd/network/enp3s0.network
> [Match]
> Name=enp3s0
>
> [Network]
> Address=192.168.2.2/24
> Gateway=192.168.2.1
> DNS=192.168.2.1
>
> # journalctl -b -u systemd-networkd
> -- Logs begin at ...
> ... systemd-networkd[630]: enp3s0: carrier on
> ... systemd-networkd[630]: enp3s0: link configured
>
> $ ifconfig enp3s0
> enp3s0: flags=...
>         inet 192.168.2.2  netmask 255.255.255.0  broadcast 192.168.2.255
>         inet6 ...
>         ether ...
>         ...
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> BRIDGED !?
>
> $ ll /etc/systemd/network/
> ... bridge0.netdev
> ... enp3s0.network
>
> $ cat /etc/systemd/network/enp3s0.network
> [Match]
> Name=enp3s0
>
> [Network]
> Address=192.168.2.2/24
> Gateway=192.168.2.1
> DNS=192.168.2.1
> Bridge=bridge0
>
> $ cat /etc/systemd/network/bridge0.netdev
> [NetDev]
> Name=bridge0
> Kind=bridge
>
> # journalctl -b -u systemd-networkd.service
> -- Logs begin at ...
>
> $ ifconfig enp3s0
> enp3s0: flags=...
>         ether ...
>         ...
>
> $ brctl show
> bridge name     bridge id               STP enabled     interfaces
> bridge0         8000.000000000000       no
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> /var/log/messages
> Mar  2 11:58:23 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 12:17:48 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 15:30:22 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 15:43:30 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 16:20:23 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 16:59:46 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 17:07:11 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 17:21:28 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 17:25:10 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 17:31:31 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 17:45:50 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 22:01:00 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 22:04:25 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 22:07:43 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 22:13:41 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 22:16:01 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 22:18:01 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 22:22:34 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  2 22:26:21 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  3 12:41:36 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  3 14:00:57 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  3 14:05:28 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  3 14:11:01 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  3 14:13:55 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  3 19:13:29 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  3 22:50:51 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  3 23:13:24 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  3 23:49:55 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  3 23:55:36 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  3 23:55:36 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 00:01:02 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 01:30:19 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 02:01:35 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 10:53:55 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 10:57:12 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 11:00:52 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 11:03:38 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 11:24:47 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 11:36:35 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 11:52:22 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 11:57:44 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 12:01:37 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 13:08:03 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 13:54:37 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 14:52:27 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 14:52:27 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 16:28:29 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 16:43:03 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 17:30:47 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 17:34:10 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 17:43:09 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 17:50:01 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 17:55:57 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  4 18:00:50 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 00:49:40 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 00:59:40 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 11:27:32 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 11:45:15 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 11:45:15 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 15:49:29 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 17:13:08 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 17:53:36 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 17:59:11 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 19:16:28 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 20:28:28 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 20:58:29 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 21:02:54 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 21:05:41 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 21:08:18 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 21:11:22 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 21:17:12 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 21:35:08 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 21:42:58 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 22:01:19 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 22:17:19 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 22:38:00 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 23:05:38 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 23:09:27 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 23:12:53 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 23:12:53 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  5 23:19:26 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 04:40:09 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 11:23:34 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 11:38:19 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 11:50:25 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 11:54:29 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 12:17:14 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 13:43:06 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 15:44:07 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 15:57:49 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 16:06:39 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 17:20:28 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 17:36:57 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 17:54:10 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 18:39:17 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 18:44:08 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 18:54:37 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 18:57:25 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 19:12:52 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 19:20:04 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 19:26:05 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 19:35:23 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 20:44:18 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 21:00:23 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 21:05:25 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 21:10:14 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 21:26:58 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 21:31:40 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  6 22:05:22 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 01:55:05 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 02:19:11 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 02:25:39 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 04:02:35 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 04:09:57 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 04:40:06 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 04:49:05 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 04:56:29 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 04:59:41 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 15:05:23 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 15:51:19 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 16:01:00 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 16:04:54 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 18:01:44 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 18:03:35 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 18:45:52 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 19:07:14 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 19:07:14 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 19:14:50 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 22:05:06 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 22:34:44 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 22:54:53 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 22:58:34 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 23:02:28 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 23:06:33 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 23:14:42 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 23:33:48 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  7 23:40:05 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  8 00:01:59 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  8 00:08:09 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  8 00:14:08 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 01:34:36 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 02:10:45 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 02:13:47 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 01:34:36 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 02:10:45 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 02:13:47 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 02:27:55 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 02:31:56 localhost systemd-udevd[394]: Could not apply link
> config to bridge0
> Mar  9 02:33:39 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 02:39:45 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 03:23:49 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 03:27:34 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 03:33:56 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 03:48:37 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 04:03:52 localhost systemd-udevd[381]: Could not apply link
> config to bridge0
> Mar  9 04:11:44 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 04:15:56 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 05:02:04 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 05:05:15 localhost systemd-udevd[396]: Could not apply link
> config to bridge0
> Mar  9 05:11:14 localhost systemd-udevd: Could not apply link config to
> bridge0
> Mar  9 05:14:26 localhost systemd-udevd: Could not apply link config to
> bridge0
>
> What "link config"!? :)
>
>
> Introduction to networkd, network managment from systemd
> https://coreos.com/blog/intro-to-systemd-networkd/
>
>
> poma
>
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list