From owner-freebsd-questions Tue Jan 20 14:48:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA14097 for questions-outgoing; Tue, 20 Jan 1998 14:48:16 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA13940 for ; Tue, 20 Jan 1998 14:46:39 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.7/8.8.7) with ESMTP id WAA01028; Tue, 20 Jan 1998 22:35:47 GMT (envelope-from brian@Awfulhak.org) Message-Id: <199801202235.WAA01028@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Brian Reichert cc: freebsd-questions@FreeBSD.ORG Subject: Re: PPP and IP forwarding In-reply-to: Your message of "Tue, 20 Jan 1998 01:55:03 EST." <19980120015503.36830@numachi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 20 Jan 1998 22:35:47 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk > 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 , , Don't _EVER_ lose your sense of humour....