Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 1998 22:35:47 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Brian Reichert <reichert@numachi.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: PPP and IP forwarding 
Message-ID:  <199801202235.WAA01028@awfulhak.org>
In-Reply-To: Your message of "Tue, 20 Jan 1998 01:55:03 EST." <19980120015503.36830@numachi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Howdy-
> 
> I'm running 2.2.2-R, and userland ppp.
> 
> Here's the question:  are there any obtuse, obscure reasons why my
> FreeBSD box would _stop_ forwarding IP packets?
> 
> I have 'gateway_enable="YES"' in my rc.conf file, which does enable
> IP forwarding in my kernel:
> 
> 	# sysctl net.inet.ip.forwarding
> 	net.inet.ip.forwarding: 1
> 
> I do have 'add 0 0 HISADDR' in my ppp.conf file, which does
> successfully add a default route:
> 
> 	# netstat -rn | grep default
> 	default            205.161.0.7        UGSc        3        1      tun0
> 
> But, despite all of this, my other machines can't get out, and I
> can't ping in to them.
> 
> The silly thing is, I _had_ this working back in November, but
> then, a month ago, it rotted, and now, I can't seem to get it to
> work.
> 
> Obviously, I somehow affected this magically, rather than the
> hardware/software rotting, but, for the life of me, I can't guess
> how I could have such a thing, nor how I would detect the point of
> failure...
> 
> So - a reprise of my question: despite my (seemingly) correct setup, what
> _else_ could be in the way?

Have you only got one IP number ?  If so, you'll need to either run 
ppp with the -alias switch or ``alias enable yes'' in your ppp.conf 
file.

> I'm *this* close to building the bpf device, to try to see if
> packets are even getting to the ppp process....

You can always ``set log +tcp/ip''.  I'm assuming you've got a recent 
version of ppp (see http://www.FreeBSD.org/~brian).

> -- 
> Brian Reichert			          		  reichert@numachi.com
> 37 Crystal Ave. #303
> Derry NH 03038-1713 USA			Intel architecture: the left-hand path

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....





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