From owner-freebsd-questions Sun Feb 21 4:33:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp05.wxs.nl (smtp05.wxs.nl [195.121.6.57]) by hub.freebsd.org (Postfix) with ESMTP id 57FE811715 for ; Sun, 21 Feb 1999 04:33:19 -0800 (PST) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.56.51]) by smtp05.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAA562A; Sun, 21 Feb 1999 13:33:18 +0100 Received: from daemon.ninth-circle.org (daemon.ninth-circle.org [192.168.0.1]) by daemon.ninth-circle.org (8.9.3/8.9.3) with ESMTP id NAA00487; Sun, 21 Feb 1999 13:42:18 +0100 (CET) (envelope-from asmodai@wxs.nl) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3.0.3.32.19990220191827.0069da3c@mail.eskimo.com> Date: Sun, 21 Feb 1999 13:42:18 +0100 (CET) Organization: Ninth Circle Enterprises From: Jeroen Ruigrok/Asmodai To: Enoch Wu Subject: RE: User PPP fails to connect with dynamic IP. Cc: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 21-Feb-99 Enoch Wu wrote: > myisp: > set phone 1234567 > set login "TIMEOUT 180 gin: myuserid ord: mypasswd" > set timeout 300 > set ifaddr 127.0.0.1/0 127.0.0.2/0 > delete ALL > add 127.0.0.1/0 255.255.255.0 204.122.22.0/16 I'm curious why ye would use this add line, since yer ISP could have multiple gateways to use... my ppp.conf ISP: set phone 1234-567890 set login set authname uhhuh set authkey Idontthinkso set timeout 300 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns This will negotiate a dynamic IP and set the default gateway to the ISP and use PAP/CHAP for the authentication. --- Jeroen Ruigrok van der Werven http://www.freebsdzine.org> asmodai(at)wxs.nl This is my Truth, tell me your's... Network/Security Specialist *BSD: Powered by Knowledge & Know-how To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message