*BSD News Article 96716


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!su-news-feed4.bbnplanet.com!su-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.internetmci.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problem with FreeBSD to Win 95 connection
Date: 2 Jun 1997 14:52:20 GMT
Organization: Awfulhak Ltd.
Lines: 33
Message-ID: <5mumn4$37m@ui-gate.utell.co.uk>
References: <5mqa79$363@news.interlog.com>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42047

In article <5mqa79$363@news.interlog.com>,
	Patrick McConnell <patrick@patrick.interlog.com> writes:
> I'm having a problem getting my FreeBSD 2.2.2-RELEASE machine to connect via 
> TCP/IP to a 
> Windows 95 machine. I followed the tutorial, then went through it again to 
> try and find the problem. I can't make any type of connection (ping, even) 
> between the computers. Since going through the tutorial, I've played around 
> with it to try and get it going...
> 
> There are only three computers on the local 
> network (but one is NetWare so it doesn't count :)). The FreeBSD machine 
> is properly configured for a PPP Internet connection. It is named 
> patrick.interlog.com, and uses the static IP address assigned to me by my ISP. 
> The Windows 95 machine is named patti.interlog.com with IP 192.168.1.1.
> I manually added a route to patti (Win95) on patrick (FBSD) using patrick 
> as the gateway. The gateway option is enabled on patrick. 
[.....]

Your real problem is that you must have a different network on each
of your interfaces.  Try calling your win95 machine "patti.my.net"
and have patrick.interlog.com on tun0 and patrick.my.net on ed0.

You can actually get away with having only one patrick (you should
have a netmask of 0xffffffff on the tun0 side), but IMHO, this is
wrong.

Of course you'll need to run "ppp -alias" on the tun0 side.  Refer
to http://www.awfulhak.org/ppp.html for doc details.

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !