From owner-freebsd-current Mon Aug 20 3:15:41 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailout02.sul.t-online.de (mailout02.sul.t-online.com [194.25.134.17]) by hub.freebsd.org (Postfix) with ESMTP id 88C9437B410 for ; Mon, 20 Aug 2001 03:15:37 -0700 (PDT) (envelope-from D.Rock@t-online.de) Received: from fwd07.sul.t-online.de by mailout02.sul.t-online.de with smtp id 15Ym5c-0005as-03; Mon, 20 Aug 2001 12:15:24 +0200 Received: from server.rock.net (340029380333-0001@[217.224.25.149]) by fmrl07.sul.t-online.com with esmtp id 15Ym5N-2F3FLOC; Mon, 20 Aug 2001 12:15:09 +0200 Received: from t-online.de (server [172.23.7.1]) by server.rock.net (8.11.5/Rock) with ESMTP id f7JNskT51061 for ; Mon, 20 Aug 2001 01:54:46 +0200 (MEST) Message-ID: <3B8051C6.3BC1CBC3@t-online.de> Date: Mon, 20 Aug 2001 01:54:46 +0200 From: Daniel Rock X-Mailer: Mozilla 4.76 [de] (X11; U; SunOS 5.8 i86pc) X-Accept-Language: de, en MIME-Version: 1.0 To: current@freebsd.org Subject: Syntax change in ppp? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Sender: 340029380333-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, after the latest updates I just noticed a different behaviour of ppp. in /etc/ppp/ppp.linkup I had an additional line iface clear for my profile to get rid of stuffed up IP pairs. After the latest update this entry also clears my defaultroute, but only after redialing. I now had to put the "iface clear" into /etc/ppp/ppp.linkdown, but then the old IP pair is still there during the next connection. Were my assumptions wrong (regarding the "iface clear" command) or is something broken in ppp? I have an idea which might cause the accidential removal of the defaultroute after redialing: Before the first connection I have to set a dummy IP pair: set ifaddr 172.23.11.1/0 172.23.11.2/0 255.255.255.255 0.0.0.0 so my defaulroute will be set to 172.23.11.2 After dialing I'm getting a different destination IP address from my provider, and the old route will be deleted: route del $OLDADDR But after that, even if my own address will be different, the destination address will be the same: tun0: flags=8051 mtu 1492 inet6 fe80::2e0:7dff:fe75:fdfb%tun0 prefixlen 64 scopeid 0x6 inet 217.224.28.71 --> 217.5.98.90 netmask 0xffffffff inet 217.224.27.153 --> 217.5.98.90 netmask 0xffffffff so after executing "iface clear" from /etc/ppp/ppp.linkup, ppp will also delete the old route - but this time the old route is the same as the current one. BTW: If I disable IPv6 in the kernel, ppp won't start at all. It will spit out tons of messages Error: iface_Add: socket(): Protocol not supported Daniel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message