[systemd-bugs] [Bug 81979] New: [215] systemd-network: bridge with static settings does not work
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jul 31 13:50:14 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=81979
Priority: medium
Bug ID: 81979
Assignee: systemd-bugs at lists.freedesktop.org
Summary: [215] systemd-network: bridge with static settings
does not work
QA Contact: systemd-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: vmlinuz386 at gmail.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: general
Product: systemd
Created attachment 103767
--> https://bugs.freedesktop.org/attachment.cgi?id=103767&action=edit
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.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140731/de5fd7b4/attachment.html>
More information about the systemd-bugs
mailing list