ssh命令、ping命令、traceroute 命令所使用的协议

在Node reboot or eviction: How to check if yourprivate interconnect CRS can transmit network heartbeats (文档 ID 1445075.1)中有这么一句话:

The script in here performs the network connectivity check usingssh.  
This check complements ping or traceroute since ssh uses TCP protocol 
while ping uses ICMP and traceroute in Linux/Unix uses UDP (traceroute on Windows use ICMP).

也就是说:

ssh命令使用TCP协议

ping命令使用ICMP协议

traceroute(Linux和Unix下)命令使用UDP协议

traceroute(Windows下)命令使用ICMP协议

这些命令在rac环境的私有网络检查中比較实用。比方在aix rac下,有个节点的crs服务起不来,检查发现:ping对方私网IP地址能通,可是traceroute 对方私网IP不通。于是就让网络管理员检查。等网络管理员修复网络后,该节点的crs服务就能顺利启动了。

原文地址:https://www.cnblogs.com/llguanli/p/7057707.html