From owner-freebsd-net Fri Feb 11 17: 8:19 2000 Delivered-To: freebsd-net@freebsd.org Received: from awfulhak.org (dynamic-84.max4-du-ws.dialnetwork.pavilion.co.uk [212.74.9.212]) by builder.freebsd.org (Postfix) with ESMTP id 7AE7E3EA7 for ; Fri, 11 Feb 2000 17:08:10 -0800 (PST) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id AAA16474; Sat, 12 Feb 2000 00:32:36 GMT (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (localhost.lan.Awfulhak.org [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id VAA00392; Fri, 11 Feb 2000 21:22:53 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200002112122.VAA00392@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Fisch, Eric" Cc: freebsd-net@FreeBSD.org, brian@hak.lan.Awfulhak.org Subject: Re: PPP Gateway Routing Problem In-Reply-To: Message from "Fisch, Eric" of "Tue, 08 Feb 2000 10:58:28 EST." <8389C74A65EFD111B03800805FA7658F06C04882@USDALEXC01> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 11 Feb 2000 21:22:53 +0000 From: Brian Somers Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I am having what appears to be a routing problem with a PPP gateway and am > hoping someone can shed some light on the issue. I have a small network of > windows/UNIX systems behind a FreeBSD gateway box. The gateway box is > providing DNS and DHCP services to the other systems without any problem. I > have tried to set up the gateway box to do PPP-on-demand for the entire > network with limited success. PPP works flawlessly on the gateway box. > When I am on the "inside", however, I get nothing. I am able to connect to > the gateway, but no further. Interestingly enough, when I "ping" a system > from the inside box, I get proper name resolution, but "Host is Unreachable" > errors as well. This leads me to believe that I have a routing issue from > the gateway to the inside boxes. I think I am missing something in my > rc.conf settings. Heck, if I had any clue what was wrong I would not be > posting. [.....] > gateway_enable="YES" Aww, that was my first suggestion ! Your best bet is probably to run tcpdump on your internal interface to ensure the packets are getting that far. If they're not, you need to add a default route to your dhcpd config. If packets are getting that far, enable tcp/ip logging in ppp and see if the packets are getting that far - proving that you're acting as a gateway. If the packets get that far, enable physical logging to ensure that they're being written to the link. Any eye-openers ? -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message