Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2008 22:06:01 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-stable@freebsd.org
Subject:   Userland PPP not deleting old IP on disconnect
Message-ID:  <200810092206.02362.doconnor@gsoft.com.au>

next in thread | raw e-mail | index | archive | help
--nextPart1261806.Aj5mrrysA9
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,
I am using userland PPP to do PPPoE and I am finding that it isn't deleting=
 the old IP from tun0 when the link goes down, eg

Oct  9 22:00:01 midget ppp[53728]: tun0: Phase: deflink: logout -> hangup
Oct  9 22:00:01 midget ppp[53728]: tun0: Phase: deflink: Connect time: 950 =
secs: 2711068 octets in, 39993514 octets out

[midget 22:00] ~ >ifconfig tun0
tun0: flags=3D8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
        inet 121.45.251.180 --> 203.16.215.184 netmask 0xffffffff
        Opened by PID 53728

I have the following config..
default:
 set device /dev/cuaa0
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \
           OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set speed 115200
 set ctsrts on
 set server /var/run/ppp/tun%d foobar
 set urgent tcp 22
 set urgent udp 27010 27011 27012 27013 27014 27015 27016 27017 27018 27019=
 27020 27960 14577 14578 14579 14580
 set log Phase Chat IPCP CCP tun command connect
internode:
 set device PPPoE:em0
 set ifaddr 0.0.0.0/0 0.0.0.0/0
 resolv readonly
 disable pap
 enable dns
 set cd 5
 set dial
 set login
 set redial 5+30-120 0
 enable lqr
 enable echo
 set lqrperiod 3
 set reconnect 10 100000
 set authname username
 set authkey password
 add default HISADDR

I don't have any linkup/linkdown scripts..

Any one have an idea why this would be happening?
System is a FreeBSD midget.dons.net.au 7.0-STABLE FreeBSD 7.0-STABLE #1: Su=
n Jun  1 19:20:18 CST 2008     darius@midget.dons.net.au:/data/obj/data/src=
/sys/GENERIC  i386

Thanks.

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--nextPart1261806.Aj5mrrysA9
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iD8DBQBI7eyi5ZPcIHs/zowRAk8SAKCfXIbhy1UP4p6rmwV1lqYrrUaw0gCcCM7C
65PjeFi/45v37HwFPJIHP9A=
=MabC
-----END PGP SIGNATURE-----

--nextPart1261806.Aj5mrrysA9--



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