From owner-freebsd-questions Sun Jan 4 04:26:33 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA21256 for questions-outgoing; Sun, 4 Jan 1998 04:26:33 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA21201 for ; Sun, 4 Jan 1998 04:26:23 -0800 (PST) (envelope-from clark@open.org) Received: from opengovt.open.org (opengovt.open.org [199.2.104.1]) by freefall.freebsd.org (8.8.6/8.8.5) with ESMTP id EAA11315 for ; Sun, 4 Jan 1998 04:21:10 -0800 (PST) Received: (from root@localhost) by opengovt.open.org (8.8.7/8.8.7) id EAA11113; Sun, 4 Jan 1998 04:13:40 -0800 (PST) Received: from opengovt17.open.org(199.2.104.17) by opengovt.open.org via smap (V2.0) id xman11061; Sun, 4 Jan 98 04:13:13 -0800 Received: from localhost (clark@localhost) by open.org (8.8.7/8.8.7) with SMTP id OAA00657; Sat, 3 Jan 1998 14:15:20 -0800 (PST) (envelope-from clark@orthanc.off.net) Date: Sat, 3 Jan 1998 14:15:19 -0800 (PST) From: Robert Clark To: Brian Somers cc: Stan Brown , Free BSD Questions list Subject: Re: Dialing inot my network with FreeBSD laptop. In-Reply-To: <199712300306.DAA21035@awfulhak.demon.co.uk> 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 Would another correct approach be to use an address on the home network for the ppp interface, and use the proxyarp functionality? [RC] On Tue, 30 Dec 1997, Brian Somers wrote: > > Ok, I have tried a lot of things, and it still does not work. Here is > > waht I am trying to do: > > > > > > ------------ > > | | > > home network 205.159.77 netmask 25.255.255.0 | FreeBSD |----> ISP > > ----------------------------------------------------| (koala) | (ppp link) > > | | | > > | | | > > ------------------- ----------- > > | | > > | 205.159.77.240 | (grizzly) > > | | > > ------------------- > > | > > | <-------- PPP link > > | > > ------------------- > > | | > > | FreeBSD laptop | > > | | > > ------------------- > > > > What I am trying to do here is to use IJPPP to connect my laptop to my > > hime network, via modem. The box I am connectiong to is an HP > > worksation. I have compile IJPPP on it. HP support assures me that IP > > fowarding is on in it by default. As a matter of fact the tech I spoke > > to was not even certain how to disable it. > > > > I have managed to get to the point where the chat script gets me loged > > in and ppp starts. I can then telnet to gtizzly, but I can't get to any > > other machines on the network. Presently I have arbitrarily picke IP > > adddress of 192.168.0.1 for grizzly's ppp device, and 192.168.1.1 for > > the laptops tun0 device. I have the folowing in grizzlys pp.conf > > > > set ifaddr 192.168.0.1 205.159.77.233 > > > > In the laptops ppp.conf, I have the folowing: > > > > set ifaddr 127.1.1.1/0 127.1.1.2/0 > > add 0 0 127.1.1.2 > > > > Should I be doing somehting different, like giving the laptop an > > address in the local network range fro the tun0 device? > > > > To further complicate things, the laptop is sometimes connected > > directly to the local network using a 3com PCMCIA card. > > > > Guys I'm really at the hair pulling stage her. Could sme nteworking > > guru point me in the correct direction? > > Grizzly needs an `enable proxy' line in the config and should have > `MYADDR' set to 205.159.77.240 (the same as it's NIC). > > Make sure you've got a `delete all' and `add 0 0 hisaddr' in the > laptops ppp.linkup too. > > > -- > > Stan Brown stanb@netcom.com 770-996-6955 > > Factory Automation Systems > > Atlanta Ga. > > -- > > Look, look, see Windows 95. Buy, lemmings, buy! > > Pay no attention to that cliff ahead... Henry Spencer > > (c) 1997 Stan Brown. Redistribution via the Microsoft Network is prohibited. > > -- > Brian , , > > Don't _EVER_ lose your sense of humour.... > > > >