Re: [systemd-devel] network configuration
On Mon, Aug 17, 2015 at 2:25 PM, Michał Zegan webczat_...@poczta.onet.pl wrote: Well, actually, are things like ip rules never used? It could be a specific use case, but is this a category of never used stuff, or legacy stuff? I do not use them myself, but I am curious. I kind of wish networkd or NetworkManager could add rules for source-based routing by default – it would make some configurations (like two default routes) much easier to use... -- Mantas Mikulėnas graw...@gmail.com ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] network configuration
Well, actually, are things like ip rules never used? It could be a specific use case, but is this a category of never used stuff, or legacy stuff? I do not use them myself, but I am curious. W dniu 16.08.2015 o 15:09, Lennart Poettering pisze: On Fri, 14.08.15 19:50, Michał Zegan (webczat_...@poczta.onet.pl) wrote: Actually what is a procedure for more complicated network configuration, where you do not have something in networkd? Well, we try to cover a good chunk of the usecases, but we want be conservative when exposing options, to make this not more complex and overwhelming than it already is. For example, options people never actually use or that are clearly legacy don't need to be exposed. Lennart ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] network configuration
On Mon, 17.08.15 13:25, Michał Zegan (webczat_...@poczta.onet.pl) wrote: Well, actually, are things like ip rules never used? That's not what I am saying. All I am saying is that we should our homework and check if it is before exposing it... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] network configuration
On Fri, 14.08.15 19:50, Michał Zegan (webczat_...@poczta.onet.pl) wrote: Actually what is a procedure for more complicated network configuration, where you do not have something in networkd? Well, we try to cover a good chunk of the usecases, but we want be conservative when exposing options, to make this not more complex and overwhelming than it already is. For example, options people never actually use or that are clearly legacy don't need to be exposed. Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] network configuration
On Sun, 09.08.15 18:23, Michał Zegan (webczat_...@poczta.onet.pl) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually everything should be settable that can be done with ip-route and ip-address and stuff... And ip-rule, by the way. But, no. Source= parameter in route sections is for source based routing without adding rules, not to set a preferred source ip address. Checked/tested. We generally try to avoid exposing every possible option, but only the ones that people really use and make sense to support. What you suggest here probably does make sense to add, hence please file an RFE bug in github, and we'll eventually add it. Even better: send a patch! Thanks, Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] network configuration
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually what is a procedure for more complicated network configuration, where you do not have something in networkd? W dniu 2015-08-14 o 19:33, Lennart Poettering pisze: On Sun, 09.08.15 18:23, Michał Zegan (webczat_...@poczta.onet.pl) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually everything should be settable that can be done with ip-route and ip-address and stuff... And ip-rule, by the way. But, no. Source= parameter in route sections is for source based routing without adding rules, not to set a preferred source ip address. Checked/tested. We generally try to avoid exposing every possible option, but only the ones that people really use and make sense to support. What you suggest here probably does make sense to add, hence please file an RFE bug in github, and we'll eventually add it. Even better: send a patch! Thanks, Lennart -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBAgAGBQJVzipJAAoJEHb1CzgxXKwYdtMP/3FsU/o5/GWiWZ7KGPgJMgC5 lAd2O5NjdCIXjwxH6yaCvrDrKGMPVqRUWpqusTMxhgXSId+7MkFuGseJG4+mEYY5 KtxrqIIzZDsrhAra6FduzBifiTnD/N51+uds1r5g4yU0oQDNb5opKjO6uClwpo6K Eth2ebTFMqe2ijGMfScEm02P5l9VvWY8u7pdAXqffjVNlLkLAO+8VdWFLljJhjqc SGEJhX42E9+67x6vS7tYigFEcM1H6PftvOeayAlK/A9NVcRSHo9YnrRFW+Tcig2F lur9dP2/ZVW06DpJWxx4kDvOuKqw5hnM/O+0Xck6mCauGgF8yEoemgsoRWjEOCBB jsHEdlCLWoAPgDQQ6ywwEZ25e2TDkA/53hfrg8lA4o5Hn0oYS+sy6C39v64uJVgD S+8+CRQjzjtGF2Xxu6x3GTRvlhdAKb/jSIC6qCQ7AaHzOqN6yZQ7Bo8rp1mu/eCx jb+JR4P/ext+PX93Q91YqOwmv6sqnCrxLwdUn0qHRyyr0OzLpw7EDz6fIhZkg494 MifKvgCGqwA6Q8u9kZFwOLgyemkQ0fa6A+33YqcmgaUmKcFsrXjGVWeeL6iohlCV Iua85N2Ogl/LfeE5NWp+kFP6e1DgLFO2J4/KVdF3mYfzkNvNCHFrCa3AQYHBAJDp qQ7T8ihJcM3EAmLDWypm =YHEv -END PGP SIGNATURE- ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] network configuration
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually everything should be settable that can be done with ip-route and ip-address and stuff... And ip-rule, by the way. But, no. Source= parameter in route sections is for source based routing without adding rules, not to set a preferred source ip address. Checked/tested. W dniu 2015-08-09 o 18:21, Tomasz Torcz pisze: On Sun, Aug 09, 2015 at 05:58:40PM +0200, Michał Zegan wrote: It seems that systemd-networkd can not handle any kind of advanced network configurations, that is: It cannot handle policy routing and additional routing options like setting a src address, What about this: [Route] Section Options Source= The source prefix of the route. […] It does not ensure address ordering (if I have two addresses on interface, which is first and which is second?) You can file enhancement request on GitHub. I guess you want FLAG from man ip-address to be settable -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBAgAGBQJVx36TAAoJEHb1CzgxXKwYn0AQAKk5SEwpZ7D0XOLMLMUOi/Ih s5tMdWMlChtqzfIdVZio6ntoezl4OfsTAqmuO/r7Q2/9aNik/iwCreNTi8pAF3CL u8IM7IFpwvj+yW900MCpkwaop6FN2oefKUo4B+hn6Vz2bxM8IA2AGOce9acfGmFW IFbqYp1gTCakynIHYRbTinKemWtSGxdM+d3eOFq1HDX77NPZlvYRF/wp7L0R23L8 2HFESnU2yKvzAzTDyULleNb67X7C/0w20i4nBFyJzFLnNOD1rIfpYDz+MjrYHJIT kRySiX5Jhxc4Ae92EJoibsD7uSch8BQ2mjvC42eegZySDJxaAKnnuVcRbdWRwoqv Osl/0XN4a4bt6e/D3q+tGSe922XiL4vhWxCPJUJ1OC2PHUeSPOXJEmCcffBm5D7f WrRuqMNivpUPm54BGEHVezDwHXMRWoUWI8c4JtCNjT+6Cja0Dl8L2aG20zLJOPvN cKxWDZgpMWjYZdbAV6WIq7/Re4FH3/QgAIlEgAuRlH8/Oj8nH+H2CXoYZnUv4F4b Pn2FIZyUSEYKe6vpVUsVrHMvR8p8s0eJsS1puSLEVExI4Bz8pNINUBgmDNMUoL6E wNseLnkVFSXURAaxSbUy6/ifflEYVdy3DLMEgCch4EajBpyRPY0RJyTgXji8OewM l8UPy4ysPOg9Hpg4QWVK =Czl4 -END PGP SIGNATURE- ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] network configuration
On Sun, Aug 09, 2015 at 05:58:40PM +0200, Michał Zegan wrote: It seems that systemd-networkd can not handle any kind of advanced network configurations, that is: It cannot handle policy routing and additional routing options like setting a src address, What about this: [Route] Section Options Source= The source prefix of the route. […] It does not ensure address ordering (if I have two addresses on interface, which is first and which is second?) You can file enhancement request on GitHub. I guess you want FLAG from man ip-address to be settable -- Tomasz Torcz God, root, what's the difference? xmpp: zdzich...@chrome.pl God is more forgiving. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] network configuration
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. It seems that systemd-networkd can not handle any kind of advanced network configurations, that is: It cannot handle policy routing and additional routing options like setting a src address, It does not ensure address ordering (if I have two addresses on interface, which is first and which is second?) -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBAgAGBQJVx3iuAAoJEHb1CzgxXKwYD1sQAJpG+BSlLEU6S5yP3Ibnkm2e arA8I90lvgQmf4HGQ01kDehTZX790eDiwDBPd1WN4TnjJ2W5sZCOwVV5SKxIOVzj sz2tI+0FIMJPnqmrLT9S9HBdvcjAWVrYVBWwgwW1ZkDsfJjwsZFdbY1rZcZzbTK+ Hg+teipEbXsvgIThWfUgjp0wTgruoR/IHqZD/bowdkfl61G6rYfsNSln+nacxqyK pFSLsut9xxJOhmuafLagRUmCyzkXONiQtGbBmcBYWvygfoiDxKwUhjtgUSLoqKFe 71hnHhkSO8m42Y3rbgdW7ZV1OK/iDd15wkIX0EBIn+okpB09+XXujFT5tftdysK+ XTk47+0kJT/pYQ6QiMnth0yCbTOHeU+1WxnhVnAzvvSxQe3q33F2c5wqgQJQJ3nr 0yeV+wwr1po9JCMANFzoVkDD6XQkEg1in06Y789K780wU8OqllOfhxKYOAGOXKQR oNW8jEeHs8413HD0rWKuGfhgOvleuEj5As2TP7+QFYui5Q5vgkQz9gIjekmpEZLt Oex8u61NM+O5oko/yW8nkibXtboBpogMoZd6kEBkpFPL2oPiREIB9u+GXKN5QzUT clXREAj8+iZq/Qft3edfmBLfhHrapzTqT47v6Bx6TaBDYBcpwPgzh6FqawwNqNuk djUSD7Tc6mk0J/y9X9RE =sLom -END PGP SIGNATURE- ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel