Wednesday, February 19, 2014

ping using a specific Ethernet

I was working on RAC env, because this is my virtual machine and has three NICs
One for my machine to connect to node which is eth0
Second for my public interface like scan and listener eth1
Third for my interconnect which is eth2

Sometime I could not ping to newly created recovery catalog machine and rcat1 but it works other time. To diagnose this issue I wanted to ping from RAC node to rcat1 using a specific adapter rather than UNIX determining which to use. To achieve this I ran the following command
ping -I eth1 192.168.56.100or ping -I eth1 rcat1
This was I am sure that I am only using eth1 from rac node to connect to rcat1 host. 

No comments: