[Touch-packages] [Bug 1738058] Re: vlan usage requires an intermediate step
This seems to be working nowadays. I cannot reproduce using the config provided in the description: $ netplan apply $ ip a 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: vlan10@eth0: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 00:16:3e:f5:92:b3 brd ff:ff:ff:ff:ff:ff inet 10.0.0.5/24 brd 10.0.0.255 scope global vlan10 valid_lft forever preferred_lft forever inet6 fe80::216:3eff:fef5:92b3/64 scope link tentative valid_lft forever preferred_lft forever 3: vlan1@eth0: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 00:16:3e:f5:92:b3 brd ff:ff:ff:ff:ff:ff inet 192.168.0.10/23 brd 192.168.1.255 scope global vlan1 valid_lft forever preferred_lft forever inet6 fe80::216:3eff:fef5:92b3/64 scope link tentative valid_lft forever preferred_lft forever 84: eth0@if85: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 00:16:3e:f5:92:b3 brd ff:ff:ff:ff:ff:ff link-netnsid 0 inet6 fe80::216:3eff:fef5:92b3/64 scope link valid_lft forever preferred_lft forever $ networkctl IDX LINK TYPE OPERATIONAL SETUP 1 lo loopback carrier unmanaged 2 vlan10 vlan routableconfigured 3 vlan1 vlan routableconfigured 84 eth0 etherroutableconfigured 4 links listed. Please re-open if this is still an issue. ** Changed in: nplan (Ubuntu) Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1738058 Title: vlan usage requires an intermediate step Status in nplan package in Ubuntu: Won't Fix Status in systemd package in Ubuntu: Invalid Bug description: If I try to apply vlans directly: network: version: 2 renderer: networkd ethernets: eth0: {} vlans: vlan1: id: 1 link: eth0 addresses: [ 192.168.0.10/23 ] vlan10: id: 10 link: eth0 addresses: [ 10.0.0.5/24 ] The vlan devices never come up, they are left in degraded state by networkd. If I define an address for eth0, then eth0 and all of the vlans will have the same address. Needless to say, this doesn't work. If I use an intermediary device instead, such as a bond: network: version: 2 renderer: networkd ethernets: eth0: {} bonds: vmaster: interfaces: [ eth0 ] vlans: vlan1: id: 1 link: vmaster addresses: [ 192.168.0.10/23 ] vlan10: id: 10 link: vmaster addresses: [ 10.0.0.5/24 ] Then the vlans are correctly applied and brought up by systemd. I think this is either a systemd bug or a netplan bug; it's possible we don't generate the config quite in the way that systemd expects it (even though it looks straightforward enough). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1738058/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1738058] Re: vlan usage requires an intermediate step
please reopen if this is still an issue ** Changed in: systemd (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1738058 Title: vlan usage requires an intermediate step Status in nplan package in Ubuntu: Confirmed Status in systemd package in Ubuntu: Invalid Bug description: If I try to apply vlans directly: network: version: 2 renderer: networkd ethernets: eth0: {} vlans: vlan1: id: 1 link: eth0 addresses: [ 192.168.0.10/23 ] vlan10: id: 10 link: eth0 addresses: [ 10.0.0.5/24 ] The vlan devices never come up, they are left in degraded state by networkd. If I define an address for eth0, then eth0 and all of the vlans will have the same address. Needless to say, this doesn't work. If I use an intermediary device instead, such as a bond: network: version: 2 renderer: networkd ethernets: eth0: {} bonds: vmaster: interfaces: [ eth0 ] vlans: vlan1: id: 1 link: vmaster addresses: [ 192.168.0.10/23 ] vlan10: id: 10 link: vmaster addresses: [ 10.0.0.5/24 ] Then the vlans are correctly applied and brought up by systemd. I think this is either a systemd bug or a netplan bug; it's possible we don't generate the config quite in the way that systemd expects it (even though it looks straightforward enough). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1738058/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1738058] Re: vlan usage requires an intermediate step
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: systemd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1738058 Title: vlan usage requires an intermediate step Status in nplan package in Ubuntu: Confirmed Status in systemd package in Ubuntu: Confirmed Bug description: If I try to apply vlans directly: network: version: 2 renderer: networkd ethernets: eth0: {} vlans: vlan1: id: 1 link: eth0 addresses: [ 192.168.0.10/23 ] vlan10: id: 10 link: eth0 addresses: [ 10.0.0.5/24 ] The vlan devices never come up, they are left in degraded state by networkd. If I define an address for eth0, then eth0 and all of the vlans will have the same address. Needless to say, this doesn't work. If I use an intermediary device instead, such as a bond: network: version: 2 renderer: networkd ethernets: eth0: {} bonds: vmaster: interfaces: [ eth0 ] vlans: vlan1: id: 1 link: vmaster addresses: [ 192.168.0.10/23 ] vlan10: id: 10 link: vmaster addresses: [ 10.0.0.5/24 ] Then the vlans are correctly applied and brought up by systemd. I think this is either a systemd bug or a netplan bug; it's possible we don't generate the config quite in the way that systemd expects it (even though it looks straightforward enough). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1738058/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1738058] Re: vlan usage requires an intermediate step
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: nplan (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1738058 Title: vlan usage requires an intermediate step Status in nplan package in Ubuntu: Confirmed Status in systemd package in Ubuntu: Confirmed Bug description: If I try to apply vlans directly: network: version: 2 renderer: networkd ethernets: eth0: {} vlans: vlan1: id: 1 link: eth0 addresses: [ 192.168.0.10/23 ] vlan10: id: 10 link: eth0 addresses: [ 10.0.0.5/24 ] The vlan devices never come up, they are left in degraded state by networkd. If I define an address for eth0, then eth0 and all of the vlans will have the same address. Needless to say, this doesn't work. If I use an intermediary device instead, such as a bond: network: version: 2 renderer: networkd ethernets: eth0: {} bonds: vmaster: interfaces: [ eth0 ] vlans: vlan1: id: 1 link: vmaster addresses: [ 192.168.0.10/23 ] vlan10: id: 10 link: vmaster addresses: [ 10.0.0.5/24 ] Then the vlans are correctly applied and brought up by systemd. I think this is either a systemd bug or a netplan bug; it's possible we don't generate the config quite in the way that systemd expects it (even though it looks straightforward enough). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1738058/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1738058] Re: vlan usage requires an intermediate step
That sounds like a bug. I have only previously used vlans on top of bonds. ** Changed in: systemd (Ubuntu) Assignee: (unassigned) => Dimitri John Ledkov (xnox) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1738058 Title: vlan usage requires an intermediate step Status in nplan package in Ubuntu: New Status in systemd package in Ubuntu: New Bug description: If I try to apply vlans directly: network: version: 2 renderer: networkd ethernets: eth0: {} vlans: vlan1: id: 1 link: eth0 addresses: [ 192.168.0.10/23 ] vlan10: id: 10 link: eth0 addresses: [ 10.0.0.5/24 ] The vlan devices never come up, they are left in degraded state by networkd. If I define an address for eth0, then eth0 and all of the vlans will have the same address. Needless to say, this doesn't work. If I use an intermediary device instead, such as a bond: network: version: 2 renderer: networkd ethernets: eth0: {} bonds: vmaster: interfaces: [ eth0 ] vlans: vlan1: id: 1 link: vmaster addresses: [ 192.168.0.10/23 ] vlan10: id: 10 link: vmaster addresses: [ 10.0.0.5/24 ] Then the vlans are correctly applied and brought up by systemd. I think this is either a systemd bug or a netplan bug; it's possible we don't generate the config quite in the way that systemd expects it (even though it looks straightforward enough). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1738058/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp