Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 1998 01:26:14 -0500
From:      Brian Reichert <reichert@numachi.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: PPP and IP forwarding
Message-ID:  <19980121012614.53293@numachi.com>
In-Reply-To: <199801202235.WAA01028@awfulhak.org>; from Brian Somers on Tue, Jan 20, 1998 at 10:35:47PM %2B0000
References:  <19980120015503.36830@numachi.com> <199801202235.WAA01028@awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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