我正在使用RHEL6.4,我已经合作了两个以太网端口(eth2和eth3)。我试着测试连接性,我的意思是我想测试eth2和eth3是否正常工作?
一种方法是禁用一个端口(每次一个端口)并执行ping操作,但是如果这是一个单一的故障点,我不想冒失去连接的风险。
因此,我想知道是否有一种方法可以通过特定的端口对其他服务器进行ping,比如#ping 10.0.0.5通过eth2 (测试eth2连接)
谢谢
发布于 2016-07-11 22:53:41
来自ping(8)的精良手册
-I interface address
Set source address to specified interface address. Argument may
be numeric IP address or name of device. When pinging IPv6 link-
local address this option is required.https://unix.stackexchange.com/questions/295250
复制相似问题