Wrong dev in routing table in case of bridge on vlan

Bug #1813835 reported by Matthias Nagl
6
This bug affects 1 person
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
            accept-ra: false
    vlans:
        voffice:
            id: 10
            link: eno1
            accept-ra: false
    bridges:
        broffice:
            interfaces: [ voffice ]
            addresses: [10.200.10.2/24, 10.200.10.3/24 ]
            gateway4: 10.200.10.1
            nameservers:
                addresses: [ "10.200.10.1" ]
            routes:
              - to: 0.0.0.0/0
                via: 10.200.10.1
                table: 10
            routing-policy:
              - from: 10.200.10.0/24
                priority: 10
                table: 10

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

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

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!

Changed in netplan:
status: New → Incomplete
Changed in netplan.io (Ubuntu):
status: New → Incomplete
Changed in systemd (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for systemd (Ubuntu) because there has been no activity for 60 days.]

Changed in systemd (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for netplan because there has been no activity for 60 days.]

Changed in netplan:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for netplan.io (Ubuntu) because there has been no activity for 60 days.]

Changed in netplan.io (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.