From owner-freebsd-questions Tue Jun 29 7: 2: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gate.ldn.wdr.com (gate.ldn.wdr.com [193.82.179.18]) by hub.freebsd.org (Postfix) with ESMTP id 9984014C39 for ; Tue, 29 Jun 1999 07:02:03 -0700 (PDT) (envelope-from Clem.Dye@wdr.com) Received: (from smap@localhost) by gate.ldn.wdr.com (8.8.8/8.8.8) id OAA25454; Tue, 29 Jun 1999 14:57:07 +0100 (BST) From: Clem.Dye@wdr.com Received: from inside(192.168.0.1) by gate via smap (V2.0) id xma025281; Tue, 29 Jun 1999 14:56:33 +0100 Received: from ln4p1129.ldn.swissbank.com (ln4p1129.ldn.swissbank.com [172.16.234.32]) by ln4p1013pos.ldn.swissbank.com (8.8.8/8.8.8) with ESMTP id OAA11707; Tue, 29 Jun 1999 14:55:37 +0100 (BST) Received: from localhost (root@localhost) by ln4p1129.ldn.swissbank.com (8.8.6 (PHNE_14041)/8.8.6/WDR alpha evision: 1.7 $) with SMTP id OAA13952; Tue, 29 Jun 1999 14:55:36 +0100 (BST) X-OpenMail-Hops: 1 Date: Tue, 29 Jun 1999 14:55:33 +0100 Message-Id: Subject: RE: ping MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org, rsodah@index.com.jo Content-Type: text/plain; charset=US-ASCII; name="BDY.TXT" Content-Disposition: inline; filename="BDY.TXT" Content-Transfer-Encoding: 7bit X-Processed-By: BrianWare hpomsmf V2.3.40, 19 May 1999 X-WDR-Disclaimer: Version $Revision: 1.13 $ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG OK, I'm pretty new to this routing stuff, but I thought that the .1 address was normally reserved for a gateway. If so, shouldn't the BSD box have it's own IP address and a gateway address? With that in place, the Win box has an IP address of .2 and a default gateway address of .1. The BSD box would have say .3. I'm not sure where you configure the gateway stuff on the BSD box though - I haven't got that far! HTH Clem -----Original Message----- From: rsodah Sent: 29 June 1999 23:34 To: freebsd-questions Cc: rsodah Subject: ping Andre LeClaire wrote: > Rami Soudah wrote: > > > > 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 > > Hello, > I'm using the same setup on my home network, so I know it can work. In > Windoze, make sure you've enabled DNS Why should i enable the DNS? i am not running my own DNS... > and set the IP address of your NIC > to 192.168.0.2 in Start/Settings/Control > Panel/Network//Properties/IP Address. Also, I did, > Microsoft TCP/IP > seems to work better if you set "File and Printer Sharing" both to "ON" ok as you told me, i enabled the File and Printer Sharing > > and make sure TCP/IP is set as the default protocol in "Advanced". > > Andre One thing more, i cant run mIRC at my Win-box Thanks again for your help :-) -pons To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message