Ping between two interfaces on one host

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ping between two interfaces on one host

720 Views
dugurlu
Contributor I

I'm trying to setup a test environment for a network equipment. I need to be able to ping between different interfaces on single host. Unfortunately I am not able to ping from one interface to another with current setup.

My Set-UP

 |          ETH1      | ----------------------------|                          |

 |  IMX                 |                                  |   ETH SWITCH |

 |          ETH2      |-----------------------------|                          |

eth1 -- 192.168.1.1

eth2 -- 192.168.1.2

I tried to ping from eth1 to eth2 using: ping -I eth1 192.168.1.2 and ping -I eth2 192.168.1.1

But it is not successful. 

Thanks for your help

0 Kudos
1 Reply

673 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello  Dogan Ugurlu,

You do not mention which processor you are using (this information may help us understand the situation a bit better), but I think the problem here is how the network is handled and not the hardware configuration. Here you are connecting two interfaces using the same subnet. It’s often a good rule of thumb not to connect multiple ethernet controllers in the same host to the same subnet.

I hope this helps.

Regards,

0 Kudos