• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Question Network routing issue after update (loss of default route source IP / DNS failure on Ubuntu 24.04)

bigbear67

New Pleskian
Server operating system version
Ubuntu 24.04.4 LTS
Plesk version and microupdate number
Plesk Obsidian v18.0.79_build1800260722.17
Hello everyone,

This is the second time that a system/environment update has broken my server by completely cutting off outgoing Internet access (DNS resolution timing out with Could not resolve host).

The root cause is that the default route loses the src <Server_IP> attribute during network reloads, which blocks outgoing traffic and causes heavy Ajax-dependent modules (like pm_advancedpack) to timeout, spiral out of control, and choke the server.

ip route replace default via <Gateway_IP> dev eth0 src <Server_IP>


How to make it permanent under systemd-networkd (when no netplan config is present):
Create a systemd service file at /etc/systemd/system/custom-route.service:

[Unit]

Description=Set custom default route with source IP

After=network.target



[Service]

Type=oneshot

ExecStart=/usr/sbin/ip route replace default via <Gateway_IP> dev eth0 src <Server_IP>

RemainAfterExit=yes



[Install]

WantedBy=multi-user.target

Then run:
systemctl daemon-reload

systemctl enable custom-route.service

systemctl start custom-route.service

Has anyone else experienced this loss of the source IP on the default route after system updates? It's quite critical in a production environment.
 
Back
Top