[systemd-devel] systemd.network and IPv6 addrlabel

Christian Brunotte cbrunotte at netcologne.de
Mon Apr 13 07:03:34 PDT 2015


Hello

I'm playing around with systemd's network configuration and try to convert the
following Debian configuration.

 iface eth1 inet6 auto
     # Static IP and random dynamic IPs for external targets
     autoconf 1
     use_tempaddr 2
     privext 1
     # My static IP
     up ip addr add 2001:1111:0:222:33::/64 dev eth1
     # Label 1 is predefined as ::/0
     # Label 666 is for my static IP and networks I want to use it with
     up ip addrlabel add prefix 2001:1111:0:222:33::/128 label 666    
     up ip addrlabel add prefix 2001:1111::/32           label 666

Can I do this with systemd.network? Is there some kind of hoook to
start shell scripts like the up/pre-up/down/post-down hooks in the
Debian configuration?

Best Regards

-christian-


More information about the systemd-devel mailing list