*BSD News Article 67888


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!zombie.ncsc.mil!news.mathworks.com!news.kei.com!newsfeed.internetmci.com!newsserver.jvnc.net!newsreader.jvnc.net!lazlo
From: jlucas@uvi.edu (John Lucas)
Subject: Re: TCP/IP Question
Message-ID: <Dr1GAJ.79r@tigger.jvnc.net>
Sender: news@tigger.jvnc.net (Zee News Genie)
Organization: University of the Virgin Islands
X-Newsreader: News Xpress 2.0 Beta #0
References: <4mml37$pp8@pilot.njin.net>
Date: Tue, 7 May 1996 13:59:17 GMT
Lines: 47

In article <4mml37$pp8@pilot.njin.net>, btjones@pilot.njin.net (David) wrote:
>        I'm having a bit of a problem setting something up.  Any comments
>or suggestions would be greatly appreciated.
>
>        I want to connect my Windows 95 machine to my FreeBSD system via SLIP 
>or PPP so I can use both systems whenever necessary.  These computers are,
>as of now, connected to each other by a null modem serial cable, and a dialup
>on FreeBSD is active.
>
>        When I connect (with, at first, difficulty) and login with either 
>SLIP or PPP (with a script) all goes well and the connection is established
>alright.  However, when I try to telnet out from the Windows 95 machine to
>anywhere outside of the server (the BSD system) it just hangs there.  Once
>or twice I have been able to get it to telnet, for reasons unknown, out of
>this area - but then all hosts thought I was the BSD machine, and when I tried
>to use the network from the BSD machine it didn't work!  I'm not sure where
>to go with this.  My BSD computer is connected to the internet by means of SLIP
>as well, if that helps at all.
>
>        My ISP gave me another IP address to use, though I don't think they
>configured anything further for it.  My server IP is 206.137.16.151, and the
>Windows 95 client machine is supposed to be 206.137.16.152.  My ISP's router
>is 206.137.16.1.  Does anyone have any clue what I should have done or
>should do?  Do I need gateD?  
>
>        Please email any responses if possible.
>

Sounds like you need to set FreeBSD up to forward packets from one interface 
to another. I think you may find what you need at http://www.freebsd.org/

You may need to alter your kernal to allow forwarding as well as run "gated" 
with appropriate routes established. 

I checked the output of sysctl on my box and it has:

        net.inet.ip.forwarding = 0

You'll have to get the specifics from someone who has done this, but I think 
that is what you need to change (along with establishing proper routes).

Sorry I can't be of further help.

| John Lucas                               jlucas@uvi.edu |
| Academic Computing                   NIC Handle: JL423  |
| University of the Virgin Islands        (809) 693-1216  |
| St. Thomas, VI 00802     http://www.uvi.edu/jlucas.html |