From owner-freebsd-questions Sat Oct 20 13: 4:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tholian.securitydynamics.com (mail.rsasecurity.com [204.167.112.129]) by hub.freebsd.org (Postfix) with SMTP id 8875F37B403 for ; Sat, 20 Oct 2001 13:04:27 -0700 (PDT) Received: from sdtihq24.securitydynamics.com by tholian.securitydynamics.com via smtpd (for hub.FreeBSD.org [216.136.204.18]) with SMTP; 20 Oct 2001 20:01:02 UT Received: from ebola.securitydynamics.com (ebola.securid.com [192.168.7.4]) by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id QAA23474 for ; Sat, 20 Oct 2001 16:04:26 -0400 (EDT) Received: from spirit.dynas.se (localhost [127.0.0.1]) by ebola.securitydynamics.com (8.9.3+Sun/8.9.1) with SMTP id QAA03702 for ; Sat, 20 Oct 2001 16:04:24 -0400 (EDT) Received: (qmail 1349 invoked from network); 20 Oct 2001 20:04:22 -0000 Received: from explorer.rsa.com (HELO mikko.rsa.com) (10.81.217.59) by spirit.dynas.se with SMTP; 20 Oct 2001 20:04:22 -0000 Received: (from mikko@localhost) by mikko.rsa.com (8.11.6/8.11.6) id f9KK4JQ88823; Sat, 20 Oct 2001 13:04:19 -0700 (PDT) (envelope-from mikko) Date: Sat, 20 Oct 2001 13:04:19 -0700 (PDT) From: Mikko Tyolajarvi Message-Id: <200110202004.f9KK4JQ88823@mikko.rsa.com> To: mrkocol@cv.org Cc: questions@freebsd.org Subject: Re: ppp, tun0, and 2 IP addresses Newsgroups: local.freebsd.questions References: <3BD0DBB6.58FD16D7@cv.org> X-Newsreader: NN version 6.5.6 (NOV) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In local.freebsd.questions you write: >I am running FreeBSD 4.4-STABLE, using ppp with a DSL router. I run ppp >in ddial mode, using tun0 as the device. My DSL service provides me >with a dynamic IP address. >Whenever I get disconnected somehow (most likely by the ISP or switch I >am connected to), and ppp reconnects, tun0 ends up binding to 2 >different IP addresses - the one it was using prior to disconnecting and >the new one. >Has anyone ever experienced this problem and has a way to solve it? It >happens to me regularly. Please let me know if you need any more >information. Try something like this in "/etc/ppp/ppp.linkdown": MYADDR: iface clear $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message