I have given ip to all the three ports of different subnets .Then one by one when i ping
these ports from laptop.i get reply from all the three ports.
However when I give ip to these ports of same subnet, then i am able to get reply only
from eth0.
Also note that first ethernet port is controlled by one phy, and rest two ports by other
phy.
I can't come to a possible conclusion for this behavior. Any insight from this behavior
anybody?
When you are pinging your ports individually, you can get their ip address. When you are connecting all together, collision occurs. hence, you have to go for hubs or switch techniques.
On most OS, you can´t assign IP on same subnets to different ports - at least not as a normal behavior (maybe there is some trick to do so). You must have different subnets IP on each port (for example, eth0 = 192.168.0.1:ffffff00, eth1 = 172.16.0.1:ffff0000, eth2 = 10.0.0.1:ff000000)