Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • There usually are if-up.d, if-down.d, or if-postdown.d, if-preup.d respectively on your system somewhere in /etc. They contain scripts that are called before an interface comes up or after it goes down. Not sure though if it triggers when you simply change the IP address... Commented Oct 6, 2014 at 16:24
  • Those are only present on Debian/Ubuntu IIRC. Definitely not with systemd-networkd (I was talking about adding them the other day, they resisted). Commented Oct 8, 2014 at 6:03
  • That means that, for now, is not possible to do what I'm trying? Commented Oct 8, 2014 at 14:37