Date: Thu, 11 Sep 1997 07:35:36 +0100 From: Brian Somers <brian@awfulhak.org> To: Antonio Bemfica <bemfica@militzer.me.tuns.ca> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD box as a router using ppp Message-ID: <199709110635.HAA05357@awfulhak.demon.co.uk> In-Reply-To: Your message of "Wed, 10 Sep 1997 22:28:19 -0300." <Pine.BSF.3.96.970910214202.27475A-100000@militzer.me.tuns.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
> I have a FreeBSD box at home which connects via user ppp to the net. It > all works fine, I can reach and be reached. I use a fixed IP for dialing > out. > > I also have a Win95 machine at home, and I would like to have it use the > FreeBSD box to access the net. I got network cards for both PC's and they > can ping eachother, I can telnet to the Unix side from the Windows PC. > > I understand that I have to set gateway_enable="YES" on the FreeBSD side, > and also set: > > ifconfig_ed1="inet A.B.C.D netmask 255.255.255.0" > ifconfig_lo0="inet 127.0.0.1" > ifconfig_tun0="inet X.Y.W.Z X.Y.W.1 netmask 0xffffff00" Read the handbook. It explains why your ifconfig_tun0 line is bogus. You can get at all the ppp docs from http://www.awfulhak.org/ppp.html. > On the Windows side I would set the IP to A.B.C.E and set the Gateway to > be the IP I assigned for ed1, A.B.C.D - the problem is I don't have two IP > addresses on a different network. I read the FAQ and the handbook but > couldn't figure how to do it. Any help would be appreciated. Use 10.0.0 as A.B.C. Check /etc/hosts for the IPs that are reserved for internal use. > Antonio > -- -------------------------------------------------------------------------- > Antonio Bemfica, DalTech, Dalhousie U. | Hay épocas hechas para diezmar los > => Support free software, use FreeBSD | rebaños, confundir las lenguas > => http://www.FreeBSD.org | y dispersar las tribus. A.C. > > -- Brian <brian@awfulhak.org>, <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709110635.HAA05357>