From owner-freebsd-net Mon Jun 28 16:10:37 1999 Delivered-To: freebsd-net@freebsd.org Received: from mail0.index.com.jo (mail0.index.com.jo [212.38.128.13]) by hub.freebsd.org (Postfix) with ESMTP id 2E82715341 for ; Mon, 28 Jun 1999 16:10:11 -0700 (PDT) (envelope-from rsodah@index.com.jo) Received: from index.com.jo ([212.38.128.140]) by mail0.index.com.jo (Netscape Messaging Server 3.62) with ESMTP id 454 for ; Tue, 29 Jun 1999 01:07:22 +0200 Message-ID: <37787EE8.9A37E767@index.com.jo> Date: Tue, 29 Jun 1999 01:08:08 -0700 From: "Rami Soudah" X-Mailer: Mozilla 4.51 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-net@FreeBSD.org Subject: ping Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greetings I made my BSD box so that it dials to my ISP, at the moment I have 1 Win computer connected to the BSD box, like the following: ISP <-----modem--->BSD (earth) | Win (metro) WIN-Hostname = metro = 192.168.0.2 BSD-Hostname = earth = 192.168.0.1 I configured the BSD as Gateway for my Win box. I was able to dial-up from the BSD and browse via netscape at both machienes... etc :-) To verify the above, I did ping but I recorded one strange behaviour: I could ping 'earth' 'metro' and 'localhost' from the BSD box, and and I did the same at Win box, I was able to ping 'earth' 'localhost' from the Win box without having any troubles, but _not_ 'metro'. c:\windows>ping metro Pinging metro [4.0.0.3] with 32 bytes of data: Reply from 192.168.0.1: Destination host unreachable. Reply from 192.168.0.1: Destination host unreachable. Reply from 192.168.0.1: Destination host unreachable. Reply from 192.168.0.1: Destination host unreachable. Ping statistics for 4.0.0.3: Packets: Sent 4, Received = 4 ... bla bla blaaa *) I was wondering from where 4.0.0.3 comes?? *) Why I keep getting 'Reply from 192.168.0.1'? i am not pinging 192.168.0.1 it should be 192.168.0.2. What could be wrong? my /etc/hosts (BSD) 127.0.0.1 localhost 192.168.0.1 earth earth.my.domain 192.168.0.2 metro metro.my.domain c:\windows\hosts (Win) 127.0.0.1 localhost 192.168.0.1 earth earth.my.domain 192.168.0.2 metro metro.my.domain Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 30 lo0 192.168 link#1 UC 0 0 ed1 192.168.0.1 0:c0:df:e6:7b:51 UHLW 0 100 lo0 192.168.0.2 0:0:e8:61:2:39 UHLW 2 2536 ed1 1188 192.168.0.255 ff:ff:ff:ff:ff:ff UHLWb 2 154 ed1 bash-2.02$ Thanks in advance. -Pons P.S. If I ping the IP's I dont have any troubles in both machines. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message