Bug 93019 - [ppp] ppp and tunX problems: no traffic after restarting ppp
Summary: [ppp] ppp and tunX problems: no traffic after restarting ppp
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 6.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-08 04:30 UTC by Vasiliy K.
Modified: 2018-01-03 05:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vasiliy K. 2006-02-08 04:30:06 UTC
After reboot everything seems fine, and running ppp -ddial someconfig  results no problem and working connection(standart dialup modem or DSL via PPPoE).  After, when doing disconnect using kill `cat /var/run/tun0.pid` and trying to bring up new connection using ppp(ddial or interactive mode, PPPoE or dialup, doesn't matter) ppp progress goes Ok, but after connection nothing can be send even to HISADDR(but MYADDR ping is ok). And if in this situation bring up new ppp connection using ppp -ddial otherconfig(or interactive mode) and tun1 - thru tun1 everything works. I suppose that after reconnecting tun1 it becomes dead too, and if dial thru tun2 - it will work until first disconnect.
But if, as described in fix field, use ppp in interactive mode and dial and down manually, all works after numerous recoonects. I suppose that something goes wrong with tunX when ppp quits. In /var/log/ppp.log all Ok, but after "hard"(quitting ppp) reconnect  there is no TCP/IP messages.
This problem suddenly appeared about two weeks ago, before all works fine on 6.0 and previous 5.0.
Interesting fact: wend ppp dialed after "hard" reconnect, it's unable to log in via ssh - system ask login, passwd, and hangs until timeout or ppp disconnect.

Some logs:
normal state, interactive ppp:
root@a1# ppp dsl
Working in interactive mode
Using interface: tun0
ppp ON a1> dial
ppp ON a1> Warning: deflink: Reducing configured MRU from 1500 to 1492
Ppp ON a1>
PPp ON a1>
PPP ON a1>

wrecked state, interactive ppp after "hard" reconnect:
root@a1# ppp dsl
Working in interactive mode
Warning: iface rm: ioctl(SIOCDIFADDR_IN6, fe80:5::211:2fff:fe7e:f8d6/64): Can't assign requested address
Using interface: tun0
ppp ON a1> dial
ppp ON a1> Warning: deflink: Reducing configured MRU from 1500 to 1492
Ppp ON a1>
PPp ON a1> Warning: ff02:5::/32: Change route failed: errno: Network is unreachable   

root@a1# netstat -m
370/155/525 mbufs in use (current/cache/total)
105/29/134/16832 mbuf clusters in use (current/cache/total/max)
0/3/4464 sfbufs in use (current/peak/max)
302K/96K/399K bytes allocated to network (current/cache/total)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines
          
root@a1# netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            10.2.2.27          UGS         0     8012   tun0
10.2.2.27          86.102.12.87       UH          1        1   tun0
86.102.12.87       127.0.0.1          UH          0       12    lo0
127.0.0.1          127.0.0.1          UH          0        9    lo0
192.168.0          link#2             UC          0        0    sk0
192.168.0.1        00:0c:6e:b3:40:6d  UHLW        1   132231    sk0    601
192.168.0.2        00:11:95:f7:f8:53  UHLW        1       18    lo0
192.168.0.3        00:50:22:96:e0:20  UHLW        1       12    sk0    777
192.168.0.5        00:15:00:05:79:77  UHLW        1      205    sk0    481
192.168.0.255      ff:ff:ff:ff:ff:ff  UHLWb       1       75    sk0
192.168.1          link#1             UC          0        0   nve0

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UH          lo0
fe80::%nve0/64                    link#1                        UC         nve0
fe80::211:2fff:fe7e:f8d6%nve0     00:11:2f:7e:f8:d6             UHL         lo0
fe80::%sk0/64                     link#2                        UC          sk0
fe80::211:95ff:fef7:f853%sk0      00:11:95:f7:f8:53             UHL         lo0
fe80::%ath0/64                    link#3                        UC         ath0
fe80::211:95ff:fee8:e7e7%ath0     00:11:95:e8:e7:e7             UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01::/32                         ::1                           U           lo0
ff02::%nve0/32                    link#1                        UC         nve0
ff02::%sk0/32                     link#2                        UC          sk0
ff02::%ath0/32                    link#3                        UC         ath0
ff02::%lo0/32                     ::1                           UC          lo0
ff02::%tun0/32                    link#5                        UC         tun0

root@a1# ifconfig
nve0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::211:2fff:fe7e:f8d6%nve0 prefixlen 64 scopeid 0x1
        ether 00:11:2f:7e:f8:d6
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
sk0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::211:95ff:fef7:f853%sk0 prefixlen 64 scopeid 0x2
        inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:11:95:f7:f8:53
        media: Ethernet autoselect (100baseTX <full-duplex,flag0,flag1>)
        status: active
ath0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::211:95ff:fee8:e7e7%ath0 prefixlen 64 scopeid 0x3
        ether 00:11:95:e8:e7:e7
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
        status: associated
        ssid free channel 11 bssid 00:11:95:e8:e7:e7
        authmode OPEN privacy OFF txpowmax 36 pureg protmode CTS
        dtimperiod 1 bintval 100
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
        inet 86.102.12.87 --> 10.2.2.27 netmask 0xffffff00
        Opened by PID 609

==============================begin of dmesg output=====================
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE-p4 #0: Wed Feb  8 03:55:32 VLAT 2006
    root@a1.a1.ru:/usr/src/sys/i386/compile/KERN4
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP  1700+ (1464.46-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1 Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400800<SYSCALL,MMX+,3DNow+,3DNow>
real memory  = 528285696 (503 MB)
avail memory = 507637760 (484 MB)
netsmb_dev: loaded
ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
acpi0: <A M I OEMRSDT> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 0 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 0 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 11 on acpi0
pci_link4: <ACPI PCI Link LNKE> irq 11 on acpi0
pci_link5: <ACPI PCI Link LUS0> irq 4 on acpi0
pci_link6: <ACPI PCI Link LUS1> irq 7 on acpi0
pci_link7: <ACPI PCI Link LUS2> irq 5 on acpi0
pci_link8: <ACPI PCI Link LKLN> irq 10 on acpi0
pci_link9: <ACPI PCI Link LAPU> irq 0 on acpi0
pci_link10: <ACPI PCI Link LAUI> irq 0 on acpi0
pci_link11: <ACPI PCI Link LKMO> irq 0 on acpi0
pci_link12: <ACPI PCI Link LKSM> irq 11 on acpi0
pci_link13: <ACPI PCI Link LFWR> irq 0 on acpi0
pci_link14: <ACPI PCI Link LETH> irq 0 on acpi0
pci_link15: <ACPI PCI Link LATA> irq 14 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <NVIDIA nForce2 AGP Controller> mem 0xc0000000-0xdfffffff at device 0.0 on pci0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfe900000-0xfe900fff irq 4 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xfea00000-0xfea00fff irq 7 at device 2.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfeb00000-0xfeb000ff irq 5 at device 2.2 on pci0
ehci0: [GIANT-LOCKED]
usb2: EHCI version 1.0
usb2: companion controllers, 4 ports each: usb0 usb1
usb2: <EHCI (generic) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
nve0: <NVIDIA nForce MCP2 Networking Adapter> port 0xeff0-0xeff7 mem 0xfe800000-0xfe800fff irq 10 at device 4.0 on pci0
nve0: Ethernet address 00:11:2f:7e:f8:d6
miibus0: <MII bus> on nve0
rlphy0: <RTL8201L 10/100 media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
nve0: Ethernet address: 00:11:2f:7e:f8:d6
nve0: [GIANT-LOCKED]
pcib1: <ACPI PCI-PCI bridge> at device 8.0 on pci0
pci2: <ACPI PCI bus> on pcib1
skc0: <D-Link DGE-530T Gigabit Ethernet> port 0xd800-0xd8ff mem 0xfe000000-0xfe003fff irq 11 at device 6.0 on pci2
skc0: DGE-530T Gigabit Ethernet Adapter rev. (0x1)
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:11:95:f7:f8:53
miibus1: <MII bus> on sk0
e1000phy0: <Marvell 88E1000 Gigabit PHY> on miibus1
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
ath0: <Atheros 5212> mem 0xfe200000-0xfe20ffff irq 11 at device 7.0 on pci2
ath0: Ethernet address: 00:11:95:e8:e7:e7
ath0: mac 7.8 phy 4.5 radio 5.6
atapci0: <nVidia nForce2 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 9.0 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib2
pci1: <display, VGA> at device 0.0 (no driver attached)
acpi_button0: <Power Button> on acpi0
sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0
sio0: type 16550A
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <ISA Option ROM> at iomem 0xce000-0xcf7ff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1464455818 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to accept, logging limited to 150 packets/entry by default
ad0: 114473MB <Seagate ST3120026A 3.06> at ata0-master UDMA100
Trying to mount root from ufs:/dev/ad0s2a
nve0: link state changed to UP
================================end of dmesg output=========================

================================begin of kernel config file=================
machine		i386
cpu		I686_CPU
cpu		I486_CPU
cpu		I586_CPU
ident		KERN4
# maxusers 	0

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
# options		ROOTDEVNAME=\"ufs:ad0s2a\"
#options 	MAXDSIZ="(256*1024*1024)"
#options 	MAXSSIZ="(256*1024*1024)"
#options		DFLDSIZ="(256*1024*1024)"
options		CPU_FASTER_5X86_FPU
options		CPU_ATHLON_SSE_HACK
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_DIRHASH		#Improve performance on big directories
options		UFS_ACL
options 	GEOM_GPT
options 	MD_ROOT			#MD is a potential root device
options 	NFSSERVER
options 	NFSCLIENT
options 	NFS_ROOT		#NFS usable as root device, NFS required
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660
options 	COMPAT_FREEBSD4
options 	PSEUDOFS
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING
options		SCHED_4BSD
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options		NMBCLUSTERS=1024

# To make an SMP kernel, the next two are needed
#options 	SMP			# Symmetric MultiProcessor Kernel
#options 	APIC_IO			# Symmetric (APIC) I/O

device		isa
device		eisa
device		pci
device 		agp


# Floppy drives
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:
#device		fdc0

device		scbus
device		da

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapifd			# ATAPI floppy drives
device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering

# SCSI Controllers

device		atkbdc	
device		atkbd	
device		psm	

device		vga	

# splash screen/screen saver
device	splash

# syscons is the default console driver, resembling an SCO console
device		sc	

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt	at isa?
#options 	XSERVER			# support for X server on a vt console
#options 	FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options 	PCVT_SCANSET=2		# IBM keyboards are non-std

# Floating point support - do not disable.
device		npx	

# Power management support (see LINT for more options)
device		apm    
device 		iicbb
device		iicbus
device		smbus
device 		smb
device 		acpi

# PCCARD (PCMCIA) support

# Serial (COM) ports
device		sio

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da


options		NETSMB
options 	NETGRAPH
options		NETSMBCRYPTO
options		SMBFS
options 	LIBMCHAIN
options 	LIBICONV

# PCI Ethernet NICs.

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
device		rl		# RealTek 8129/8139
device		sk
device		nve
# device		pcm

# ISA Ethernet NICs.
# 'device ed' requires 'device miibus'
device  random
device	loop		# Network loopback
device	ether		# Ethernet support
device	sl		# Kernel SLIP
device	ppp		# Kernel PPP
device	tun		# Packet tunnel.
device	pty		# Pseudo-ttys (telnet etc)
device	md		# Memory "disks"
device	gif		# IPv6 and IPv4 tunneling
device	faith		# IPv6-to-IPv4 relaying (translation)
options		IPFIREWALL
options		IPFIREWALL_VERBOSE
options		IPFIREWALL_FORWARD
options		IPFIREWALL_VERBOSE_LIMIT=150
options		IPFIREWALL_DEFAULT_TO_ACCEPT
options		IPDIVERT
options		IPSTEALTH
options		DUMMYNET
# options		RANDOM_IP_ID
options 	TCP_DROP_SYNFIN
options		BRIDGE


device 		wlan

device		ath
device 		ath_hal
device		ath_rate_onoe


# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device	bpf		#Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci
device		usb		# USB Bus (required)
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		ums		# Mouse
device		uscanner	# Scanners
device		umass
=============================end of kernel config file===================

=============================begin of /etc/rc.conf=======================
# -- sysinstall generated deltas -- # Tue Jan  3 20:36:37 2006
# Created: Tue Jan  3 20:36:37 2006
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
check_quotas="NO"
font8x14="cp866-8x14"
font8x16="cp866b-8x16"
font8x8="cp866-8x8"
keymap="ru.koi8-r"
# keychange="61_^[[K"
gateway_enable="YES"
router_enable="YES"
router="/sbin/routed"
router_flags="-q"
linux_enable="YES"
local_startup="/usr/local/etc/rc.d"
mousechar_start="3"
saver="blank"
scrnmap="koi8-r2cp866"
usbd_enable="YES"
sshd_enable="YES"
inetd_enable="YES"
# ndis_load="YES"
# if_ndis_load="YES"
hostname="a1.a1.ru"
# ifconfig_rl0="inet 192.168.2.1 netmask 255.255.255.0"
ifconfig_sk0="inet 192.168.0.2 netmask 255.255.255.0"
ifconfig_nve0="inet 192.168.1.2 netmask 255.255.255.0"
ifconfig_ath0="ssid free channel 11 mediaopt hostap mode 11g up pureg roaming auto"
natd_enable="YES"
natd_interface="tun0"
natd_flags="-f /etc/natd.conf"
firewall_enable="YES"
firewall_type="open"
squid_enable="yes"
noip_enable="yes"
# ircd-hybrid-ru_enable="yes"
# rpcbind_enable="YES"
# nfs_server_enable="YES"
# mountd_flags="-r"
# ppp_enable="YES"
# ppp_mode="ddial"
# ppp_nat="YES"
# ppp_profile="dsl"
# ppp_user="root"
mysql_enable="YES"
===================================end of /etc/rc.conf========================

===================================begin of /etc/ppp/ppp.conf=================
################################################################
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.2.2.5 2001/07/13 10:55:23 brian Exp $
#################################################################

default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 # Ensure that "device" references the correct serial port
 # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
 #
 set device /dev/cuad0

 set speed 57600
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 40 \
           \"\" AT OK-AT-OK ATZ OK ATZ1 OK \\dATDT\\T TIMEOUT 80 CONNECT"
# set timeout 180                       # 3 minute idle timer (the default)
# enable dns                            # request DNS info (for resolv.conf)
 set redial 2

papchap:
 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #


 set phone PHONE_NUM
 set authname USERNAME
 set authkey PASSWORD

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR                    # Add a (sticky) default route


dsl:
 set device PPPoE:nve0
 set dial
 set login
 set authname blablabla
 set authkey blablabla
 accept PAP CHAP
 nat enable yes
 add default HISADDR
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 enable lqr
 enable dns
# set cd 5
 set redial 0 0
 set log Phase Chat LCP IPCP CCP tun command TCP/IP

prim:
 set phone 8w290200
 set authname guest
 set authkey guest
 accept PAP CHAP
 nat enable yes
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR                    # Add a (sticky) default route
===================================end of /etc/ppp/ppp.conf==================

Fix: 

workaround: run ppp in interactive mode: ppp someconfig , and use dial and down commands
How-To-Repeat: ppp -ddial someconfig
// send/receive some info thru new connection
kill `cat /var/run/tun0.pid`   
ppp -ddial someconfig
ping www.freebsd.org
// here it come
Comment 1 Volker Werth freebsd_committer freebsd_triage 2009-01-14 23:23:25 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net


Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:57 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped