Wrong dev in routing table in case of bridge on vlan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Expired
|
Undecided
|
Unassigned | ||
netplan.io (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
systemd (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
network:
version: 2
renderer: networkd
ethernets:
eno1:
dhcp4: no
dhcp6: no
vlans:
voffice:
id: 10
link: eno1
bridges:
broffice:
routes:
- to: 0.0.0.0/0
- from: 10.200.10.0/24
has the following result:
# ip route list table 10
default via 10.200.10.1 dev broffice proto static
10.200.10.0/24 dev voffice scope link src 10.200.10.2
The intended result would be:
# ip route list table 10
default via 10.200.10.1 dev broffice proto static
10.200.10.0/24 dev broffice scope link src 10.200.10.2
That's odd. Let's dig in deeper, as it quite likely might be a systemd bug, but I rather be certain it's not us doing something wrong.
Could you please attach the config files generated in /run/systemd/ network/ so we can confirm that the routes are created for the right devices?
Thanks!