Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Feb 2000 14:26:29 -0600
From:      "Jonathan E. Lyons" <parrothd@midwest.net>
To:        Barry Tigner <tigner@pa.msu.edu>, FreeBSD-questions@FreeBSD.ORG
Subject:   Re: Using FreeBSD as a router ?
Message-ID:  <3.0.5.32.20000202142629.0081f830@midwest.net>
In-Reply-To: <38988F5C.44C8AA4A@pa.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20000202142629.0081f830>