Date: Tue, 14 Oct 1997 10:03:41 -0700 (PDT) From: Doug White <dwhite@gdi.uoregon.edu> To: David Kulp <dkulp@neomorphic.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: lp0 laplink gateway? Message-ID: <Pine.BSF.3.96.971014100123.2456H-100000@gdi.uoregon.edu> In-Reply-To: <34434E5E.41C67EA6@neomorphic.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971014100123.2456H-100000>