From owner-freebsd-questions Mon May 31 2:36:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (Postfix) with ESMTP id DEFAF14D9B for ; Mon, 31 May 1999 02:36:33 -0700 (PDT) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.3/8.9.2) with ESMTP id KAA01287; Mon, 31 May 1999 10:25:33 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id KAA63862; Mon, 31 May 1999 10:24:49 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199905310924.KAA63862@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Ben Stuart Cc: "James A. Mutter" , questions@FreeBSD.ORG Subject: Re: natd/ppp problem In-reply-to: Your message of "Mon, 31 May 1999 01:31:15 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 31 May 1999 10:24:49 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Have a look at http://www.FreeBSD.org/FAQ/userppp.html. There's a bit in there about this. Things probably ``don't work'' without the alias switch because you've got a dynamic IP an are expecting the ``first connection'' to work (this is also in the FAQ). > James- > Well, thats a good question. If I don't use the -alias switch ppp > doesnt work at all (same symptoms as my "freezing" problem, no > communcation with remote machines). It does dial, etc, but no > communcation. When ppp does start, it says it is using interface tun0. > Is this correct, or should it be using ppp0? Also, I don't think this is > an isp problem; ive been using this isp for a long time and have never had > this problem before. > > -ben > > On Mon, 31 May 1999, James A. Mutter wrote: > > > > > Why are you using 'natd' and 'ppp -alias'? > > Running ppp with the -alias switch does it's own 'form' of natd. For > > most situations, you won't need both. > > > > On Mon, 31 May 1999, Ben Stuart wrote: > > > > :Hello- > > : I am having a problem that I cannot seem to find any information > > :about. I have setup my 3.1-RELEASE box as a gateway for my lan. I > > :followed the directions in the handbook/man pages for setting up PPP, and > > :it seems to work correctly ( i use the command ppp -background -alias isp > > :to start ppp). I also did the same for natd, which also is > > :(kinda) working. The problem is that after running for hours > > :problem-free, natd and/or ppp will just freeze. I cannot connect to any > > :remote computers (telnet, ftp, http), nor can anyone connect to me. I > > :think it may have something to do with my routes getting messed up, > > :because when i do a "netstat -r" after it freezes, no routes are printed > > :and I have to ctrl+c to get back to a prompt. There doesnt seem > > :to be any particular reason that causes this freeze. Hopefully I > > :explained this somewhat clearly, and I hope someone can help. If you need > > :anymore information (my ppp.conf, etc) let me know. > > : > > :Thanks alot, > > :Ben Stuart -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message