From owner-freebsd-questions Wed Feb 2 12:26:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from chi1.nucleusconsulting.com (chi1.nucleusconsulting.com [207.250.168.11]) by builder.freebsd.org (Postfix) with ESMTP id 8F1B13E36 for ; Wed, 2 Feb 2000 12:26:26 -0800 (PST) Received: from labntserver1.nucleusconsulting.com by chi1.nucleusconsulting.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1461.56) id DSZAYTP1; Wed, 2 Feb 2000 14:25:52 -0600 Message-Id: <3.0.5.32.20000202142629.0081f830@midwest.net> X-Sender: parrothd@midwest.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 02 Feb 2000 14:26:29 -0600 To: Barry Tigner , FreeBSD-questions@FreeBSD.ORG From: "Jonathan E. Lyons" Subject: Re: Using FreeBSD as a router ? In-Reply-To: <38988F5C.44C8AA4A@pa.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 1. Easy way, add -alias option to ppp...(ppp -alias -auto isp), make sure all your win9X clients can ping 192.168.1.1, and set the gateways in the /control panel/network/tcpip/ to 192.168.1.1. Disable all the natd stuff/ IPdivert/firewall options in your kernel. Make sure the gateway_enable="YES" # Set to YES if this host will be a gateway in /etc/rc.conf. 2. Hard way, use natd... :) At 03:11 PM 2/2/00 -0500, 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 > > Jonathan E. Lyons parrothd@midwest.net Nucleus Consulting ICQ # 14226912 www.nucleusconsulting.com Cell # 773-251-1967 A+, MCSE, CCNA, FreeBSD! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message