*BSD News Article 68343


Return to BSD News archive

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!news.wildstar.net!newsfeed.direct.ca!imci2!news.internetMCI.com!newsfeed.internetmci.com!uwm.edu!math.ohio-state.edu!jussieu.fr!oleane!francenet.fr!itesec!keltia.frmug.fr.net!sidhe.frmug.fr.net!not-for-mail
From: roberto@keltia.freenix.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2 Problems (NFS/GATED)
Date: 10 May 1996 16:57:43 GMT
Organization: Herve Schauer Consultants
Lines: 42
Message-ID: <4mvsi7$oo7@sidhe.freenix.fr>
References: <4mqagl$dma@nntp2.backbone.olemiss.edu>
NNTP-Posting-Host: localhost
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Keywords: nfs forwarding gateway sysconfig

 [courtesy cc of this posting sent to cited author via email]

In article <4mqagl$dma@nntp2.backbone.olemiss.edu>,
Kurt Schwind <kschwind@dsu.seas.ucla.edu> wrote:
> What I can't do, is telnet from a PC to anywhere else.  For some reason
> the packets aren't being routed from one card to the other.  I've got 
> options GATEWAY in my KERNEL.  Am I missing something?

You don't mention which version of FreeBSD so I will assume 2.1.10-RELEASE.

What is the value of the sysctl variable named net.inet.ip.forwarding ?
 
$ sysctl net.inet.ip.forwarding

to see its value.

209 [18:56] roberto@keltia:~> sysctl net.inet.ip.forwarding
net.inet.ip.forwarding: 1

If it is  not at 1, then  you're definitely not forwarding packets  between
interfaces. To manually set it, use

# sysctl -w net.inet.ip.forwarding=1

Look into /etc/sysconfig  for most configuration parameters  including this
one. 

> 	Also.  I'm trying to NFS mount a drive from the PCs to the
> FreeBSD machine.  It's offered as a choice to the PC, but when I go
> to mount it, I get an error message.

Which one ? What is the NFS server on the "PC" side ?

> 	Any help would be greatly appreciated and any responses
> by email are even more greatly appreciated due to the lack of 
> stability in my NEWS server.

Remember that when you  want E-mail answers  only, you can put  "poster" in
the Followup-To: header line...
-- 
Ollivier ROBERT  -=-=-  FreeBSD 2.x FAQ maintainer -=-=-  roberto@freebsd.org
-=-=-=-=-=- Support The Free UNIX Systems !  FreeBSD Linux NetBSD -=-=-=-=-=-