Skip to main content

Unable to Ping Druva Oracle PBS Server: ICMP Echo Requests Disabled in Kernel

Unable to Ping Druva Oracle PBS Server: ICMP Echo Requests Disabled in Kernel

Updated this week

Problem description

Unable to ping the Druva Oracle PBS server from outside the network. Ping/ICMP echo requests are not receiving a response.

Cause

The Linux kernel parameter in Ubuntu 22.04 OS was configured to ignore ICMP echo requests, preventing responses to ping from external systems.

Resolution

To resolve this issue, we have to disable the ICMP echo setting in the OS kernel Parameter.

Steps:

  1. Log in to the PBS Server.

  2. Verify the ICMP echo ignore setting:
    ​sysctl net.ipv4.icmp_echo_ignore_all

  3. If the value is 1, update it to 0 to allow ICMP echo responses:
    sysctl -w net.ipv4.icmp_echo_ignore_all=0

  4. Make the change persistent across reboots by editing /etc/sysctl.conf and adding or updating the line:
    ​net.ipv4.icmp_echo_ignore_all=0

  5. Reload the sysctl configuration:
    ​sysctl -p

  6. Confirm that the server now responds to ping from external hosts.

Verification

  • Test the ping from outside the VM.

  • Do a reboot to check if the configuration persists.

See also

Did this answer your question?