When reconfiguring the network (e.g., changes in /etc/network/interfaces), many people restart the server to make sure the new configuration takes effect.
Spoiler: That’s usually not necessary!
You can simply reload the network:
invoke-rc.d networking force-reload
invoke-rc.d network-manager force-reload
✅ Advantage: Saves time and avoids unnecessary downtime.
If you’re connected via SSH and have changed the IP address …
👉 Yes, you’ll need to reconnect.
Plan ahead, or you’ll be left out in the cold. 😉
H@ppy H@cking! 🐧⚡