From owner-freebsd-questions Sat Oct 19 18:17:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0F9537B401 for ; Sat, 19 Oct 2002 18:17:45 -0700 (PDT) Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C6A043E4A for ; Sat, 19 Oct 2002 18:17:45 -0700 (PDT) (envelope-from zzhang@cs.binghamton.edu) Received: from opal (cs.binghamton.edu [128.226.123.101]) by bingnet2.cc.binghamton.edu (8.11.6/8.11.6) with ESMTP id g9K1Hgb23624 for ; Sat, 19 Oct 2002 21:17:42 -0400 (EDT) Date: Sat, 19 Oct 2002 21:17:42 -0400 (EDT) From: Zhihui Zhang X-Sender: zzhang@opal To: freebsd-questions@freebsd.org Subject: Re: Connect two machines via plip0 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Never mind. I misspell 192 as 129 on one machine. It works now. On Fri, 18 Oct 2002, Zhihui Zhang wrote: > > I tried to connect two machines with a parallel cable. Some > configuration files are as follows: > > In file /etc/rc.conf, add following lines: > > inetd_enable="YES" > hostname="pc1.myhome.org" > ifconfig_lp0="inet 192.168.1.1 192.168.1.2 netmask 255.255.255.0" > > In file /etc/hosts, add the following line: > > 192.168.1.1 pc1.myhome.org pc1 > 192.168.1.2 pc2.myhome.org pc2 > > Of course, I do this on both machines (with necessary changes). > But ping won't work. I have done this with the same machines and cable > many times before. Only this time, I am using 4.6-release. Anything > changes in 4.6-release or am i missing something? Do I have to explicitly > enable ICMP or what? > > Thanks for any suggestions. > > -Zhihui > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message