From owner-freebsd-questions Tue Jan 20 22:26:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA18455 for questions-outgoing; Tue, 20 Jan 1998 22:26:29 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.numachi.com (numachi.numachi.com [198.175.254.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id WAA18424 for ; Tue, 20 Jan 1998 22:26:16 -0800 (PST) (envelope-from reichert@numachi.numachi.COM) Received: (qmail 12263 invoked by uid 1001); 21 Jan 1998 06:26:14 -0000 Message-ID: <19980121012614.53293@numachi.com> Date: Wed, 21 Jan 1998 01:26:14 -0500 From: Brian Reichert To: freebsd-questions@FreeBSD.ORG Subject: Re: PPP and IP forwarding References: <19980120015503.36830@numachi.com> <199801202235.WAA01028@awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801202235.WAA01028@awfulhak.org>; from Brian Somers on Tue, Jan 20, 1998 at 10:35:47PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Tue, Jan 20, 1998 at 10:35:47PM +0000, Brian Somers wrote: > 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. Nope, I got me a whole class C net here. And I'm _not_ running routed, or any weird IP aliasing packages. > > 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). Actaully, I am trying a recent version: ppp-971105. According to the manpage, the log option was supposed to be 'TCP/IP', which didn't seem to do anything. But I tried your suggestion above [lower case], and got some results: My netblock is 198.175.254.0. My gateway is, as by convention, 198.175.254.1. I tried telnetting out from another of my boxes (198.175.254.7) offsite, which failed with a timeout. # grep 254.7 /var/log/ppp.log Jan 21 01:11:05 numachi ppp[12123]: TCP/IP: OUT TCP: 198.175.254.7:4714 ---> 199.0.65.125:23 SYN seq:21e2ce00 ack:0 (0/40) Jan 21 01:11:11 numachi ppp[12123]: TCP/IP: OUT TCP: 198.175.254.7:4714 ---> 199.0.65.125:23 SYN seq:21e2ce00 ack:0 (0/40) Jan 21 01:11:23 numachi ppp[12123]: TCP/IP: OUT TCP: 198.175.254.7:4714 ---> 199.0.65.125:23 SYN seq:21e2ce00 ack:0 (0/40) Jan 21 01:11:47 numachi ppp[12123]: TCP/IP: OUT TCP: 198.175.254.7:4714 ---> 199.0.65.125:23 SYN seq:21e2ce00 ack:0 (0/40) It _looks_ to me that my PPP process _is_ getting the packets, but never sees anything come back. I'll poke at my ISP to double-check thier routing, but if have any further suggestions, by all means, please send 'em down... -- Brian Reichert reichert@numachi.com 37 Crystal Ave. #303 Derry NH 03038-1713 USA Intel architecture: the left-hand path