Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-07-15 Thread poma
This sometimes works, sometimes not. :) https://bugzilla.redhat.com/show_bug.cgi?id=1119481 poma ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-07-15 Thread poma
On 15.07.2014 09:01, poma wrote: This sometimes works, sometimes not. :) https://bugzilla.redhat.com/show_bug.cgi?id=1119481 Resolved. https://bugzilla.redhat.com/attachment.cgi?id=918197 https://bugzilla.redhat.com/attachment.cgi?id=918198 poma

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-07-15 Thread Tom Gundersen
On Tue, Jul 15, 2014 at 6:33 PM, poma pomidorabelis...@gmail.com wrote: On 15.07.2014 09:01, poma wrote: This sometimes works, sometimes not. :) https://bugzilla.redhat.com/show_bug.cgi?id=1119481 Resolved. https://bugzilla.redhat.com/attachment.cgi?id=918197

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-06-16 Thread poma
Whether predictable EHA may be applicable to bonding also? To remind myself without caffeine, heh. https://www.kernel.org/doc/Documentation/networking/bonding.txt 15. Frequently Asked Questions 8. Where does a bonding device get its MAC address from? When using slave devices that

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-06-16 Thread poma
MACA ddress in addition to /etc/systemd/network/bridge0.netdev: [NetDev] Name=bridge0 Kind=bridge MACAddress=00:12:34:56:78:90 The rest is here: https://bugzilla.redhat.com/attachment.cgi?id=881142 journal-sd-networkd-214-2.git4997cb9.20140615-3.16.0-0.rc: [ 16.629830] sd[1]: Starting

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-06-16 Thread Tom Gundersen
Hi poma, So do I understand correctly that it all works as expected for you now? Cheers, Tom On Mon, Jun 16, 2014 at 3:05 PM, poma pomidorabelis...@gmail.com wrote: MACA ddress in addition to /etc/systemd/network/bridge0.netdev: [NetDev] Name=bridge0 Kind=bridge

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-06-16 Thread poma
On 06/16/2014 03:09 PM, Tom Gundersen wrote: Hi poma, So do I understand correctly that it all works as expected for you now? Cheers, Tom Yep! poma man: networkd - netdev MAC addition diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml index c17ae9e..931d806 100644 ---

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-06-08 Thread poma
On 05.06.2014 12:05, Tom Gundersen wrote: Thanks for the reminder. I'll revert the revert :) We grew some more features since it was first introduced, so will have to check out how it all works with tunnels, veth devices etc, but should definitely have this back for 314. Cheers, Tom

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-06-05 Thread poma
Bridgetto is in the stable 3.14.5 kernel. https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=4a68caa https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.5 . commit 4a68caa1b3d3f382bde56a6a3d3430bcb53ecf7f Author: Toshiaki Makita makita.toshi...@lab.ntt.co.jp

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-06-05 Thread Tom Gundersen
Thanks for the reminder. I'll revert the revert :) We grew some more features since it was first introduced, so will have to check out how it all works with tunnels, veth devices etc, but should definitely have this back for 314. Cheers, Tom On Thu, Jun 5, 2014 at 12:00 PM, poma

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-05-12 Thread Matthias Schiffer
This should really be added as AFAICT there is currently no way to match on virtual devices like briges, TAP devices, batman-adv devices, etc... which have neither a persistent MAC address nor an ID_PATH to match on. So I think what we should do here is to allow MAC address (and other

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-05-12 Thread Tom Gundersen
On Mon, May 12, 2014 at 10:43 AM, Matthias Schiffer mschif...@universe-factory.net wrote: This should really be added as AFAICT there is currently no way to match on virtual devices like briges, TAP devices, batman-adv devices, etc... which have neither a persistent MAC address nor an ID_PATH

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-05-12 Thread poma
On 12.05.2014 12:22, Tom Gundersen wrote: On Mon, May 12, 2014 at 10:43 AM, Matthias Schiffer mschif...@universe-factory.net wrote: This should really be added as AFAICT there is currently no way to match on virtual devices like briges, TAP devices, batman-adv devices, etc... which have

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-05-12 Thread Tom Gundersen
On Mon, May 12, 2014 at 5:27 PM, poma pomidorabelis...@gmail.com wrote: On 12.05.2014 12:22, Tom Gundersen wrote: On Mon, May 12, 2014 at 10:43 AM, Matthias Schiffer mschif...@universe-factory.net wrote: This should really be added as AFAICT there is currently no way to match on virtual

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-05-12 Thread poma
On 05/12/2014 05:45 PM, Tom Gundersen wrote: On Mon, May 12, 2014 at 5:27 PM, poma pomidorabelis...@gmail.com wrote: On 12.05.2014 12:22, Tom Gundersen wrote: On Mon, May 12, 2014 at 10:43 AM, Matthias Schiffer mschif...@universe-factory.net wrote: This should really be added as AFAICT there

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-05-12 Thread poma
On 12.05.2014 20:53, Tom Gundersen wrote: On Mon, May 12, 2014 at 7:44 PM, poma pomidorabelis...@gmail.com wrote: Why am I seeing this commit on git/stable, https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/net/bridge/br_netlink.c?id=30313a3 but not in stable complete

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-04-22 Thread Tom Gundersen
Hi Matthias, On Fri, Apr 18, 2014 at 1:08 AM, Matthias Schiffer mschif...@universe-factory.net wrote: On 04/18/2014 12:14 AM, Matthias Schiffer wrote: On 04/17/2014 11:28 PM, Dave Reisner wrote: On Thu, Apr 17, 2014 at 11:02:11PM +0200, Matthias Schiffer wrote: Hi, I'd like to configure the

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-04-22 Thread Matthias Schiffer
On 04/22/2014 04:07 PM, Tom Gundersen wrote: Hi Matthias, On Fri, Apr 18, 2014 at 1:08 AM, Matthias Schiffer mschif...@universe-factory.net wrote: On 04/18/2014 12:14 AM, Matthias Schiffer wrote: On 04/17/2014 11:28 PM, Dave Reisner wrote: On Thu, Apr 17, 2014 at 11:02:11PM +0200, Matthias

[systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-04-17 Thread Matthias Schiffer
Hi, I'd like to configure the MAC address of a bridge device statically (as bridges tend to change their MAC address depending on the order the ports are added on Linux otherwise), but there doesn't seem to be a way to match for a bridge in a .link unit. This would be very useful for macvlans as

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-04-17 Thread Dave Reisner
On Thu, Apr 17, 2014 at 11:02:11PM +0200, Matthias Schiffer wrote: Hi, I'd like to configure the MAC address of a bridge device statically (as bridges tend to change their MAC address depending on the order the ports are added on Linux otherwise), but there doesn't seem to be a way to match

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-04-17 Thread Matthias Schiffer
On 04/17/2014 11:28 PM, Dave Reisner wrote: On Thu, Apr 17, 2014 at 11:02:11PM +0200, Matthias Schiffer wrote: Hi, I'd like to configure the MAC address of a bridge device statically (as bridges tend to change their MAC address depending on the order the ports are added on Linux otherwise),

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-04-17 Thread Matthias Schiffer
On 04/18/2014 12:14 AM, Matthias Schiffer wrote: On 04/17/2014 11:28 PM, Dave Reisner wrote: On Thu, Apr 17, 2014 at 11:02:11PM +0200, Matthias Schiffer wrote: Hi, I'd like to configure the MAC address of a bridge device statically (as bridges tend to change their MAC address depending on the