From nobody@FreeBSD.org  Tue Oct 15 13:52:46 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0DC0A37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Oct 2002 13:52:46 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C1A3443E88
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Oct 2002 13:52:45 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9FKqj7R071128
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 15 Oct 2002 13:52:45 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g9FKqjIE071127;
	Tue, 15 Oct 2002 13:52:45 -0700 (PDT)
Message-Id: <200210152052.g9FKqjIE071127@www.freebsd.org>
Date: Tue, 15 Oct 2002 13:52:45 -0700 (PDT)
From: Dave <sir@a319.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: tun0 gets a second ip adress after a disconnect
X-Send-Pr-Version: www-1.0

>Number:         44122
>Category:       bin
>Synopsis:       ppp(8) tun0 gets a second ip adress after a disconnect
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          suspended
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 15 14:00:23 PDT 2002
>Closed-Date:    
>Last-Modified:  Wed May 21 21:56:18 UTC 2008
>Originator:     Dave
>Release:        4.6.2
>Organization:
>Environment:
FreeBSD firewall.lan 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Sun Oct  6 18:20:34 CEST 2002     root@firewall.lan:/usr/obj/usr/src/sys/ALUBOX  i386
    
>Description:
Sometimes when my FreeBSD firewall gets disconnect by my ISP and re-opens  the connection (ppp is running with --ddial) the tun0 device has suddenly 2 wan-ips. I've contacted my ISP to make clear that it is impossible to open 2 connections and to get 2 wan-ips on my DSL-line. 

The output from ifconfig
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
	inet 212.202.xxx.xxx --> 255.255.255.255 netmask 0xffffffff 
	inet 212.202.xxx.xxx --> 212.202.xxx.xxx netmask 0xffffff00 
	Opened by PID 57
>How-To-Repeat:
      
>Fix:
I've killed the ppp daemon and restarted it with ppp -ddial


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: bms 
State-Changed-When: Fri Feb 2 21:37:20 UTC 2007 
State-Changed-Why:  
Significant changes since problem was reported. 
Do you still get this problem with FreeBSD 6.2 ? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44122 

From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To: Bruce M Simpson <bms@FreeBSD.org>
Cc: bug-followup@freebsd.org
Subject: Re: bin/44122: tun0 gets a second ip adress after a disconnect
Date: Sat, 3 Feb 2007 08:01:27 +0000 (UTC)

 I have seen this lately on a 6.2-MUMBLE box.
 I guess it is most likely a ppp IPCP bug that happens under special
 circumstances but I cannot run ppp with full debugging for a longer
 time on that box and it only happens every some weeks.
 
 -- 
 Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT

From: Bruce M Simpson <bms@incunabulum.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/44122: tun0 gets a second ip adress after a disconnect
Date: Mon, 05 Feb 2007 01:45:09 +0000

 My gut feeling is this is a race in ppp(8) where it isn't cleaning up 
 addresses after itself correctly.
State-Changed-From-To: feedback->suspended 
State-Changed-By: bms 
State-Changed-When: Wed Feb 7 22:24:10 UTC 2007 
State-Changed-Why:  
submitter's email bounces; bz@ reports he may have seen the issue 
in 6.2 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44122 
>Unformatted:
