Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 1999 10:06:57 -0500
From:      Nathan Ahlstrom <nrahlstr@winternet.com>
To:        freebsd-questions@FreeBSD.org
Subject:   tun0 and ppp keeping previous ip info even after redial?
Message-ID:  <19990412100657.H27934@winternet.com>

next in thread | raw e-mail | index | archive | help

Anyone know why tun0 seems to be keeping ip info from a previous ppp login?

portage% ifconfig tun0
tun0: flags=8151<UP,POINTOPOINT,RUNNING,PROMISC,MULTICAST> mtu 1500
        inet 204.246.67.217 --> 204.246.71.12 netmask 0xffffff00 
        inet 204.246.67.109 --> 204.246.71.10 netmask 0xffffff00 
        inet 204.246.67.70 --> 204.246.71.9 netmask 0xffffff00 
        inet 204.246.67.194 --> 204.246.71.11 netmask 0xffffff00 
        inet 204.246.67.3 --> 255.255.255.255 netmask 0xffffffff 
        inet 204.246.67.235 --> 255.255.255.255 netmask 0xffffffff 
        inet 204.246.67.247 --> 204.246.71.13 netmask 0xffffff00 
        inet 204.246.67.24 --> 255.255.255.255 netmask 0xffffffff 
        inet 204.246.67.33 --> 255.255.255.255 netmask 0xffffffff 
        inet 204.246.67.36 --> 204.246.71.8 netmask 0xffffff00 
        inet 204.246.67.17 --> 255.255.255.255 netmask 0xffffffff 
        inet 204.246.67.10 --> 204.246.71.7 netmask 0xffffff00 

I am running ppp like this: ppp -alias -ddial winter
My ppp config file looks like this:

ppp.conf:

default:
 set log Phase Chat command
 allow users nrahlstr
 set device /dev/cuaa1
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 
OK \\dATDT\\T TIMEOUT 40 CONNECT"

winter:
 set phone 3339999
 set authkey PASSWORD
 set login "TIMEOUT 15 sername:-\\r-sername: nrahlstr.ppp assword: \\P"
 set timeout 60
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 delete ALL
 add default HISADDR
 dial

portage% uname -a
FreeBSD portage.winternet.com 3.1-STABLE FreeBSD 3.1-STABLE #3: Thu Apr  1 
19:55:12 CST 1999 root@inferno.winternet.com:/net/portage/usr/src_kernel/sys
/compile/PORTAGE i386

Thanks!
Nathan

-- 
Nathan Ahlstrom                        FreeBSD: http://www.FreeBSD.org/
nrahlstr@winternet.com                 PGP Key ID: 0x67BC9D19


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?19990412100657.H27934>