<div dir="ltr"><div style="border-left:none;padding:0px;display:flex"><div style="margin:0px;padding:0px 0px 20px;width:1576.67px"><div id="m_1121092775142410180gmail-:1qb" style="direction:ltr;margin:8px 0px 0px;padding:0px"><div id="m_1121092775142410180gmail-:1qa" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:1.5"><div dir="ltr">I'm trying to be a good boy and migrate as much functionality as I can to networkd. <div style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small">I'm happy with how networkd manages "internal" and "external" interfaces and vlans for just setting up IPv4 addresses, but I still find support for IPv6 to be woefully inadequate, at least for my environment; netfilter/ipfilter support is also too rudimentary. What would be the "correct" (whatever that means!) way to run scripts after networkd has finished coming up, and before it has started going down? Essentially, I want to emulate the up/down feature of ifupdown. </div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br></div><div>Adding a service with<br><font face="monospace">[Unit]</font></div><div><font face="monospace">After=systemd-networkd-wait-online.serv</font><span style="font-family:monospace">ice</span></div><div><font face="monospace">Before=network.target<br></font><span style="font-family:monospace;font-size:small">#more stuff<br></span><div style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small">seems to do the trick, but maybe it's affecting the rest of the networking systemd dependencies in ways that will come and bite me later.</div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small"><div><div>FWIW, this is on Debian Buster (10) on intel hardware, with:<br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">$ systemd --version</span><br>systemd 241 (241)<br>+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS<br>+KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid<br></span></div></div></div></div><br>Thanks,<br><br>/ji</div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small"></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small"></div></div></div><div style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium;border-bottom-left-radius:1px;border-bottom-right-radius:1px;padding:0px;width:auto;background:rgb(242,242,242);margin:0px"></div></div><div style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium;clear:both"></div></div><div style="font-size:0.875rem;padding:0px;width:auto;border-bottom-left-radius:0px;border-bottom-right-radius:0px;border-top:none;margin:0px;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif"><div style="border-top:0px;padding:0px"><div style="clear:both;margin:0px;padding:16px 0px;border-top:none"><br></div></div></div></div>