From owner-freebsd-questions Tue Oct 14 10:03:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA01081 for questions-outgoing; Tue, 14 Oct 1997 10:03:53 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA01067 for ; Tue, 14 Oct 1997 10:03:46 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.8.5) with SMTP id KAA02513; Tue, 14 Oct 1997 10:03:41 -0700 (PDT) Date: Tue, 14 Oct 1997 10:03:41 -0700 (PDT) From: Doug White Reply-To: Doug White To: David Kulp cc: freebsd-questions@FreeBSD.ORG Subject: Re: lp0 laplink gateway? In-Reply-To: <34434E5E.41C67EA6@neomorphic.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 14 Oct 1997, David Kulp wrote: > I'm having troubles trying to get a machine on one side of > a laplink to go route through the other side. Here's what I've > got: > > machine1 (ip1) is a laptop with a laplink parallel cable. > machine2 (ip2) is a desktop with a laplink connected to machine1 > and an ethernet card connecting to a hub and ultimately to a > router (ip3) that connects to the outside world. OK. I assume that all IPs are valid for your network (ie, you're not using a 10.x.x.x or 192.168.x.x IP for the laptop). > on machine1 I have: > ifconfig_lp0="inet ip1 ip2 netmask 0xffffff00" > defaultrouter="ip2" > > on machine2 I have: > ifconfig_lp0="inet ip2 ip1 netmask 0xffffff00" > ifconfig_de0="inet ip2 netmask 0xffffff00" > defaultrouter="ip3" OK. > I'm running "routed -s" on machine2. Probably not necessary. > on machine1, I can ping ip2 successfully, but i can't ping ip3. > on machine2, I can ping ip1 and ip2. > > shouldn't ip1 be able to reach ip3 and the rest of the LAN and/or > internet? You won't get anywhere to start if you haven't enabled gatewaying in /etc/rc.conf or /etc/sysconfig. I think that should be it, if machine2 and machine1 can reach one another. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major