From owner-freebsd-questions Tue Oct 14 19:55:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA08208 for questions-outgoing; Tue, 14 Oct 1997 19:55:00 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA08201 for ; Tue, 14 Oct 1997 19:54:54 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id MAA06240; Wed, 15 Oct 1997 12:24:39 +0930 (CST) Message-ID: <19971015122439.05390@lemis.com> Date: Wed, 15 Oct 1997 12:24:39 +0930 From: Greg Lehey To: David Kulp Cc: Doug White , freebsd-questions@FreeBSD.ORG Subject: Re: lp0 laplink gateway? References: <34434E5E.41C67EA6@neomorphic.com> <199710150134.SAA00288@diz.pt.scruznet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <199710150134.SAA00288@diz.pt.scruznet.com>; from David Kulp on Tue, Oct 14, 1997 at 06:34:55PM -0700 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, Oct 14, 1997 at 06:34:55PM -0700, David Kulp wrote: > Thanks, Doug. You were right, I was missing the > > gateway=YES > > line in my /etc/sysconfig, but it didn't solve the problem just the > same. I turned off routed per your comment, and so far no success. That's not enough by itself. You also should do either: 1. Reboot (bad idea) 2. Enable *now* (good idea): # sysctl -w net.inet.ip.forwarding=1 > All the ip's are in my subnet. To be concrete, here is the netstat, > ifconfig, route, and ping results. If someone has the patience to > look at this, I'd appreciate any feedback. > > m1 (205.179.170.68) is trying to connect to m3 (205.179.170.65) via m2 > (205.179.170.66): > > m1 > ifconfig -a > lp0: flags=8851 mtu 1500 > inet 205.179.170.68 --> 205.179.170.66 netmask 0xffffff00 You should set the net mask to 0xffffffff. But this isn't your problem. I don't see anything wrong with the rest. Greg