encounter a strange problem when ping an IP

From: Paul. Vanchope (cuihh6@HOTMAIL.COM)
Date: Thu Feb 26 2004 - 21:55:25 EST


I have configure 2 ip addresses for the host:
#:/>netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
en0 1500 link#2 0.6.29.c3.27.26 9773 0 1629 0
0
en0 1500 10.10.176.1 10.10.176.196 9773 0 1629 0
0
en3 1500 link#3 0.6.29.c3.a7.78 12068 0 26 0
0
en3 1500 10.10.176 10.10.176.101 12068 0 26 0
0
lo0 16896 link#1 3635 0 3654 0
0
lo0 16896 127 127.0.0.1 3635 0 3654 0
0
lo0 16896 ::1 3635 0 3654 0
0

#:/>netstat -nr
Routing tables
Destination Gateway Flags Refs Use If PMTU Exp
Groups

Route Tree for Protocol Family 2 (Internet):
default 10.10.176.201 UGc 0 0 en0 - -
10.9.212.29 10.10.176.201 UGHW 5 1512 en0 1500 -
10.10.176/25 10.10.176.101 U 0 20 en3 - -
10.10.176.128/25 10.10.176.196 U 3 3578 en0 - -
127/8 127.0.0.1 U 0 72 lo0 - -

Route Tree for Protocol Family 24 (Internet v6):
::1 ::1 UH 0 0 lo0 16896 -

I find the following stange problems:
When i ping 10.10.176.128 from the host, 10.10.176.193 echoes to my ping.
#:/>ping 10.10.176.128
PING 10.10.176.128: (10.10.176.128): 56 data bytes
64 bytes from 10.10.176.193: icmp_seq=0 ttl=255 time=0 ms
64 bytes from 10.10.176.193: icmp_seq=1 ttl=255 time=0 ms
64 bytes from 10.10.176.193: icmp_seq=2 ttl=255 time=0 ms
64 bytes from 10.10.176.193: icmp_seq=3 ttl=255 time=0 ms
----10.10.176.128 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0/0/0 ms

 I think that when i ping 10.10.176.128 , 10.10.176.128 should echoes to my
ping, not 10.10.176.193.

Why would the problem happened ?
In addition, when i traceroute to 10.10.176.128, it is still 10.10.176.193
to which the traceroute ends.
#:/>traceroute 10.10.176.128
trying to get source for 10.10.176.128
source should be 10.10.176.196
traceroute to 10.10.176.128 (10.10.176.128) from 10.10.176.196
(10.10.176.196), 30 hops max
outgoing MTU = 1500
 1 10.10.176.193 (10.10.176.193) 2 ms 0 ms 0 ms

Thanks in advance.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:38 EDT