Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 1997 12:24:39 +0930
From:      Greg Lehey <grog@lemis.com>
To:        David Kulp <dkulp@neomorphic.com>
Cc:        Doug White <dwhite@resnet.uoregon.edu>, freebsd-questions@FreeBSD.ORG
Subject:   Re: lp0 laplink gateway?
Message-ID:  <19971015122439.05390@lemis.com>
In-Reply-To: <199710150134.SAA00288@diz.pt.scruznet.com>; from David Kulp on Tue, Oct 14, 1997 at 06:34:55PM -0700
References:  <34434E5E.41C67EA6@neomorphic.com> <Pine.BSF.3.96.971014100123.2456H-100000@gdi.uoregon.edu> <199710150134.SAA00288@diz.pt.scruznet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 14, 1997 at 06:34:55PM -0700, David Kulp wrote:
> Thanks, Doug.  You were right, I was missing the
>
> gateway=YES
>
> line in my /etc/sysconfig, but it didn't solve the problem just the
> same.  I turned off routed per your comment, and so far no success.

That's not enough by itself.  You also should do either:

1.  Reboot (bad idea)
2.  Enable *now* (good idea):

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

> All the ip's are in my subnet.  To be concrete, here is the netstat,
> ifconfig, route, and ping results.  If someone has the patience to
> look at this, I'd appreciate any feedback.
>
> m1 (205.179.170.68) is trying to connect to m3 (205.179.170.65) via m2
> (205.179.170.66):
>
> m1 > ifconfig -a
> lp0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> 	inet 205.179.170.68 --> 205.179.170.66 netmask 0xffffff00

You should set the net mask to 0xffffffff.  But this isn't your problem.

I don't see anything wrong with the rest.

Greg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971015122439.05390>