From owner-freebsd-questions Sun Feb 11 19:30: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.prod.itd.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 7191D37B401 for ; Sun, 11 Feb 2001 19:30:04 -0800 (PST) Received: from bsdbox.gregory.earthlink.net (1Cust61.tnt3.warrenton.va.da.uu.net [63.15.92.61]) by snipe.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id TAA21501 for ; Sun, 11 Feb 2001 19:30:01 -0800 (PST) Date: Sun, 11 Feb 2001 22:30:00 -0500 (EST) From: freebsduser X-Sender: freebsduser@bsdbox.gregory.earthlink.net To: freebsd-questions@freebsd.org Subject: PPP not clearing tun0 config and route Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG To All, ppp doesn't seem to be removing the network setup when the connection hangs up. Earlier today I restarted ppp so the list is short. In the past I have done an ifconfig and tun0 had over 150 entries. Below is the output from netstat, and ifconfig, and my ppp.conf. Portsentry is running which is why there are a bunch of routes to the blackhole. I'm sure I've forgotten something in ppp.conf. Any assistance in fixing this problem is greatly appreciated. Thanks, thanks, thanks, Scott ************************************************ * Output from netstat -rn ************************************************ Routing tables Internet: Destination Gateway Flags Netif Expire default 206.115.156.105 UGSc tun0 10.0.0.2 10.0.0.1 UH tun0 10.10.10/24 link#1 UC lnc0 => 10.10.10.1 0:80:29:ed:d1:43 UHLW lo0 10.10.10.2 0:60:67:22:94:55 UHLW lnc0 957 10.10.10.10 0:60:8c:87:6a:8d UHLW lnc0 930 10.10.10.102 0:10:5a:a1:d3:cb UHLW lnc0 982 10.10.10.103 0:0:86:52:77:42 UHLW lnc0 1004 24.168.105.12/32 127.0.0.1 UGScB lo0 63.206.224.20/32 127.0.0.1 UGScB lo0 63.208.235.15/32 127.0.0.1 UGScB lo0 64.240.6.2/32 127.0.0.1 UGScB lo0 127.0.0.1 127.0.0.1 UH lo0 151.36.192.130/32 127.0.0.1 UGScB lo0 202.178.185.123/32 127.0.0.1 UGScB lo0 206.115.156.104 63.20.81.179 UH tun0 206.115.156.105 63.20.83.124 UH tun0 206.115.159.192 63.15.92.120 UH tun0 210.95.10.125/32 127.0.0.1 UGScB lo0 210.171.110.100/32 127.0.0.1 UGScB lo0 211.34.31.130/32 127.0.0.1 UGScB lo0 211.106.54.226/32 127.0.0.1 UGScB lo0 211.112.143.2/32 127.0.0.1 UGScB lo0 255.255.255.255 63.15.92.252 UHb tun0 ************************************************ * Output from ifconfig -a ************************************************ lnc0: flags=8843 mtu 1500 inet 10.10.10.1 netmask 0xffffff00 broadcast 10.10.10.255 ether 00:80:29:ed:d1:43 lp0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 ppp0: flags=8010 mtu 1500 sl0: flags=c010 mtu 552 tun0: flags=8051 mtu 1524 inet 10.0.0.1 --> 10.0.0.2 netmask 0xffffff00 inet 63.15.92.252 --> 255.255.255.255 netmask 0xffffffff inet 63.20.81.134 --> 255.255.255.255 netmask 0xffffffff inet 63.20.81.179 --> 206.115.156.104 netmask 0xffffff00 inet 63.15.92.29 --> 255.255.255.255 netmask 0xffffffff inet 63.15.92.120 --> 206.115.159.192 netmask 0xffffff00 inet 63.20.83.112 --> 255.255.255.255 netmask 0xffffffff inet 63.20.83.220 --> 255.255.255.255 netmask 0xffffffff inet 63.20.83.124 --> 206.115.156.105 netmask 0xffffff00 Opened by PID 92642 tun1: flags=8010 mtu 1500 ************************************************ * ppp.conf ************************************************ default: # # Make sure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa0 set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 2 \"\" AT OK-AT-OK ATE1Q0 OK ATL1 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 300 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 iface clear delete ALL add default HISADDR enable dns earthlink: set phone 3491387 set authname ELN/mylogin set authkey mypassword To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message