<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [215] systemd-network: bridge with static settings does not work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81979">81979</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>[215] systemd-network: bridge with static settings does not work
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vmlinuz386@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=103767" name="attach_103767" title="SYSTEMD_LOG_LEVEL=debug of systemd-networkd">attachment 103767</a> <a href="attachment.cgi?id=103767&action=edit" title="SYSTEMD_LOG_LEVEL=debug of systemd-networkd">[details]</a></span>
SYSTEMD_LOG_LEVEL=debug of systemd-networkd
Setting up a bridge with systemd-networkd does not works for me. I can not
reach other hosts on the same network (i.e. ping the default gateway).
Doing things manually with iproute2 works fine.
The output of "ip addr" looks same in both cases.
-- br0.netdev --
[NetDev]
Name=br0
Kind=bridge
----
-- br0.network --
[Match]
Name=br0
[Network]
Address=192.168.0.77/24
Gateway=192.168.0.1
----
-- enp0s16.network --
[Match]
Name=enp0s16
[Network]
Bridge=br0
----
This is are the steps I am doing for the same thing, that works:
----
ip link add name br0 type bridge
ip addr add 192.168.0.77/24 broadcast + dev br0
ip link set dev enp0s16 master br0
ip link set dev br0 up
ip link set dev enp0s16 up
ip route add default via 192.168.0.1
----
In both cases the output of "ip addr" is:
----
2: enp0s16: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
master br0 state UP group default qlen 1000
link/ether 00:17:31:bb:44:19 brd ff:ff:ff:ff:ff:ff
inet6 fe80::217:31ff:febb:4419/64 scope link
valid_lft forever preferred_lft forever
8: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UP group default
link/ether 00:17:31:bb:44:19 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.77/24 brd 192.168.0.255 scope global br0
valid_lft forever preferred_lft forever
inet6 fe80::217:31ff:febb:4419/64 scope link
valid_lft forever preferred_lft forever
----
and output of "bridge fdb":
----
01:00:5e:00:00:01 dev enp0s16 self permanent
33:33:00:00:00:01 dev enp0s16 self permanent
33:33:ff:bb:44:19 dev enp0s16 self permanent
00:19:3e:ea:c5:54 dev enp0s16 vlan 0
00:21:29:98:d4:f3 dev enp0s16 vlan 0
00:17:31:bb:44:19 dev enp0s16 vlan 0 permanent
----
If after start networkd, I set br0 to promisc executing "ip
link set br0 promisc on", network works fine, but of course now "br0"
shows PROMISC under "ip link".
OS: Arch Linux (x86_64) running on Linux 3.10.50, systemd-215-4
If more info is needed please let me know.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>