From owner-freebsd-questions Wed Feb 2 12:29:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pogo.caustic.org (pogo.caustic.org [208.44.193.69]) by builder.freebsd.org (Postfix) with ESMTP id 3F2CE4124 for ; Wed, 2 Feb 2000 12:29:40 -0800 (PST) Received: from localhost (jan@localhost) by pogo.caustic.org (8.9.3/ignatz) with ESMTP id MAA22913; Wed, 2 Feb 2000 12:29:52 -0800 (PST) Date: Wed, 2 Feb 2000 12:29:52 -0800 (PST) From: "f.johan.beisser" To: Barry Tigner Cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: Using FreeBSD as a router ? In-Reply-To: <38988F5C.44C8AA4A@pa.msu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG under freebsd 3.2 and up, i believe, you need to use ppp -nat. also, IPFW and NATd aren't really needed for what you're trying to do, userland ppp (ppp(8)) can do it all, easily. -- jan On Wed, 2 Feb 2000, Barry Tigner wrote: > > > I have 4 X86 based machines at home on a local net with > 10Base2 wireing. The local network IPs I've set for the > NICs are: > > IP address subnetmask gateway > > 192.168.1.1 255.255.255.0 192.168.1.1 > 192.168.1.2 255.255.255.0 192.168.1.1 > 192.168.1.3 255.255.255.0 192.168.1.1 > 192.168.1.4 255.255.255.0 192.168.1.1 > > All machines have Win98, and FreeBSD 3.4 installed. The networking > and shares between OSes works great. > > The 192.168.1.1 machine has an ISA 56K modem which I use > to dial up to my local ISP. This works in Win98, and in FreeBSD. > I've sucessfully used pppd, user ppp, and the kppp that comes up > on the menu in my KDE desktop under Xfree86 3.3.5. > > I've tried using natd to allow the 3 other machines to connect > to the internet through the 192.168.1.1 "server" with NO success. > > I've read the man pages for ppp, pppd, and natd, and made the > appropriate modifications to the kernel, /etc/rc.conf, /etc/ppp/ppp.conf > > and have not been able to get this to work properly. > > Am I doing something wrong with the subnet mask ? Is there something > I've overlooked that natd needs to have running ? > > I'll be happy to email anyone my current rc.conf, ppp.conf, kernal > settings, > etc. if they think they can help. > > Otherwise , I'll just keep digging until I solve this . > > Many thanks in advance. > > Barry > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > +-----/ f. johan beisser /------------------------------+ email: jan[at]caustic.org web: http://www.caustic.org/~jan "knowledge is power. power corrupts. study hard, be evil." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message