From owner-freebsd-questions Mon Jul 7 01:45:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA03324 for questions-outgoing; Mon, 7 Jul 1997 01:45:26 -0700 (PDT) Received: from punt-2.mail.demon.net (punt-2a.mail.demon.net [194.217.242.5]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id BAA03319 for ; Mon, 7 Jul 1997 01:45:22 -0700 (PDT) Received: from awfulhak.demon.co.uk ([158.152.17.1]) by punt-2.mail.demon.net id aa0519628; 7 Jul 97 8:51 BST Received: from awfulhak.demon.co.uk (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.6/8.8.5) with ESMTP id IAA19375; Mon, 7 Jul 1997 08:42:59 +0100 (BST) Message-Id: <199707070742.IAA19375@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: "Mike O'Brien" cc: Nathan Dorfman , freebsd-questions@freebsd.org Subject: Re: Serious problems with iijppp demand dial In-reply-to: Your message of "Sun, 06 Jul 1997 09:50:52 PDT." <199707061650.JAA15895@anpiel.aero.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 07 Jul 1997 08:42:59 +0100 From: Brian Somers Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk [.....] > I forgot to mention that I have a 'ppp.linkup' file with this in > it. The contents are: > > delete ALL > add 0 0 HISADDR Ok, that answers my last question ;-I > This is giving me fits. Note that as nearly as I can tell, the 'add' > command in the ppp.conf file is only there to provide a temporary > gateway route in order to cause outgoing packets to be routed to the > tun0 device, so that iijppp wakes up in the first place and establishes > the connection. Again, as nearly as I can tell, the 'add' command in > 'ppp.linkup' is the one that creates the route that actually gets used. > And, according to 'netstat -rn', this route DOES get created. The daemon > IS doing everything (as far as I can see) correctly to set up the full > connection, it's just that no packets get passed once this is done. > > GAAAAHHHH! Do routes have associated netmasks? Can 'netstat' be > convinced to show them? What else could POSSIBLY be wrong? > > The thing that really gets me is that, at least according to 'netstat -rn', > the routes created by 'automatic dialing' (which works just fine) > and demand dialing (which doesn't) are IDENTICAL. If there are > any differences in the routing table, 'netstat -rn' doesn't show them. > > Mike O'Brien If you "set log +tcp/ip" (or "set debug TCP/IP" in older versions), do you see any outgoing packets ? -- Brian , Don't _EVER_ lose your sense of humour....