i think you are on the same n/w.Bcuz the 32-bit IP addr is divided into n/w id and host id.
Since the n/w id matches ,u r on same n/w.:)