A networking doubt



Hi,

I'm having a doubt regarding routing in Linux. Following is the ASCII
diagram of the scenario.


+----+ +-----------+ +-----------------+
+----------+
| me <--------| SWITCH A |--------> 31 SERVER 32 <-------| SWITCH
B |
+----+ +-----------+ | 192.168.1.0/24 |
+----------+
+-----------------+
As illustrated in the above diagram, the box named "me" (IP address:
192.168.1.118/24) is connected to a network switch "A" . A box named
"SERVER" (IP addresses 192.168.1.31/24 and 192.168.1.32/24) with
interface "eth0" (having address 192.168.1.31/24) connected to switch
"A" and interface "eth1" (having address 192.168.1.32/24) connected to
switch "B" . Now, when I do a "ping 192.168.1.32" from "me" I get a
reply. I wanted to know why I get reply from 192.168.1.32/24 which is
not directly connected to network switch "A" ? I checked ARP cache on
"me" and found that "192.168.1.31/24" and "192.168.1.32/24" are
pointing to the same MAC address.

I'm running CentOS 4.4 (AMD64 architecture).

Thanks in advance,
Ashish Shukla
-
http://wahjava.wordpress.com/

.


Quantcast