Home / Linux / How to Restart Networking Without Rebooting the Server

How to Restart Networking Without Rebooting the Server

Restart networking safely using the correct method for your system (systemd-networkd, NetworkManager, or networking service), with warnings to avoid losing SSH.

Views: 22 Unique: 18 Updated: 2026-03-20

What this is

This guide shows safe ways to restart networking on Linux without rebooting.

What it is for

  • Apply network configuration changes
  • Recover from temporary network issues

Prerequisites (important)

  • SSH access
  • Warning: Restarting networking can disconnect your SSH session. Use console access if available.

Step-by-step

Step 1) Identify which network service you use

systemctl status NetworkManager --no-pager || true
systemctl status systemd-networkd --no-pager || true
systemctl status networking --no-pager || true

Option A: NetworkManager (common on many distros)

sudo systemctl restart NetworkManager

Option B: systemd-networkd (common on servers)

sudo systemctl restart systemd-networkd

Option C: legacy networking service (Debian/Ubuntu older)

sudo systemctl restart networking

Step 2) Verify IP and route

ip a
ip route

Step 3) Verify connectivity

ping -c 4 1.1.1.1
ping -c 4 google.com

Warnings & notes

  • If you lose SSH, use provider console to regain access.
  • Be careful with remote networking changes; plan a maintenance window.

Conclusion

You can restart networking without rebooting, but always assume it may drop SSH. Verify IP, routes and connectivity right after.

Back to category