Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2001 22:30:00 -0500 (EST)
From:      freebsduser <freebsduser@earthlink.net>
To:        freebsd-questions@freebsd.org
Subject:   PPP not clearing tun0 config and route
Message-ID:  <Pine.BSF.4.05.10102112207100.159-100000@bsdbox.gregory.earthlink.net>

next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 10.10.10.1 netmask 0xffffff00 broadcast 10.10.10.255
	ether 00:80:29:ed:d1:43 
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> 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<POINTOPOINT,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10102112207100.159-100000>