*BSD News Article 52676


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!bga.com!ecpi.com!tushar
From: tushar@ecpi.com (Tushar Patel)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Slip: Can't getout on the net
Date: 4 Oct 1995 20:18:11 GMT
Organization: Real/Time Communications - Bob Gustwick and Associates
Lines: 63
Message-ID: <44uq63$6so@giga.bga.com>
NNTP-Posting-Host: ecpi.com
X-Newsreader: TIN [version 1.2 PL2]


Please Help me.

>>I have set up a SLIP account on the server and I can dial into it OK 
>>using chameleon for windows software.  The problem is that I can only 
>>access the server and I cant access any other machine outside of it, 

I have the same problem.

>
>That's because:
>
>A) You haven't set the slip server as a gateway.  You need to type
>   `sysctl -w net.inet.ip.forwarding=1' to enable that functionality
>   (as root) on the server.
>
>B) You haven't set the slip server to be the client's default gateway.
>   Check your windows software - there should be a field for this.
>
>
>-- 
>						Jordan


I did both the suggestion mentioned in the above mail. I did the following
in my slip.loging file.

/sbin/ifconfig sl${slipunit} inet $localaddr $remoteaddr netmask $netmask up
route add default $remoteaddr

I am not able to ping the $remoteaddr.

Slip sever is not running the name server. Do I really need to run this?
Currently I am running the name server provided by my ISP.
So, in my window's trumpet winsock , in the dns entry I specify ip address
of the ISP's name server. Is this correct?

Do I have to really compile the kernerl with the "options GATEWAY"?

I went through archive of this news group and implemented the above mentioned
suggestions. I went through the TCP/IP book by O'riely(sic).
Still I have the same problem.

Part of my /etc/netstart look's like this:

routedflags=-q 
#timedflags=-M  
xntpdflags="NO"
ntpdate="NO"
rwhod=YES
sendmail_flags="-bd -q30m"
amdflags="NO"
nfs_server=NO
name_server=NO
savecore=NO
#kerberos_server=YES
#gated=YES


Can somebody please help me?