Unable to ping snapshot appliance
book
Article ID: 401897
calendar_today
Updated On:
Products
VMware vSAN
Issue/Introduction
- Pinging (ICMP echo) vSAN's vscan snapshot appliance results in timeouts.
- Many monitoring platforms include ICMP liveness monitoring, but the vscan snapshot appliance does not respond by default.
Cause
The default iptables rules do not allow ICMP to the source of your ping request.
Resolution
Add an iptables rule for the endpoint from which you wish to ping using the following commands:
iptables -A INPUT -p icmp --icmp-type echo-request -s <SOURCE> -j ACCEPT
iptables -A OUTPUT -p icmp --icmp-type echo-reply -d <SOURCE> -j ACCEPT
- Repeat steps 1 and 2 for each required source endpoint
iptables -A INPUT -p icmp --icmp-type echo-request -j DROP
iptables-save > /etc/systemd/scripts/ip4save
Feedback
thumb_up
Yes
thumb_down
No