Thank you, actually, I had already tried to put my script inside if-up.d, but it executed BEFORE the IP assignment. The right answer would be to put the script in the /etc/dhcp/dhclient-enter-hooks.d/, but for some reason, scripts in that directory are not triggered. Eventually, I've put my script i...