Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 1999 13:42:18 +0100 (CET)
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        Enoch Wu <wue@eskimo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: User PPP fails to connect with dynamic IP.
Message-ID:  <XFMail.990221134218.asmodai@wxs.nl>
In-Reply-To: <3.0.3.32.19990220191827.0069da3c@mail.eskimo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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      <http://home.wxs.nl/~asmodai>;
*BSD: Powered by Knowledge & Know-how <http://www.freebsd.org>;


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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