From owner-freebsd-bugs@freebsd.org Mon Apr 10 01:42:23 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1C25D35B97 for ; Mon, 10 Apr 2017 01:42:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8ABF1CF1 for ; Mon, 10 Apr 2017 01:42:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v3A1gN7F082112 for ; Mon, 10 Apr 2017 01:42:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 218517] ppp fails adding route with error Value too large to be stored in data type Date: Mon, 10 Apr 2017 01:42:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: netsick@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2017 01:42:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218517 Bug ID: 218517 Summary: ppp fails adding route with error Value too large to be stored in data type Product: Base System Version: 11.0-RELEASE Hardware: i386 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: netsick@gmail.com I've recently upgraded from FreeBSD 9.1 to FreeBSD 11.0 and took my FreeBSD= 9.1 ppp.conf and relevant rc.conf settings and used it in FreeBSD 11.0 When connecting to my ADSL ISP via /usr/sbin/ppp using pppoe the "add defau= lt HISADDR" setting is not adding the route and failing with error message.. Warning: Add route failed: 0.0.0.0: errno: Value too large to be stored in = data type The only way I can get the route to add correctly is to use the following in /etc/ppp/ppp.linkup shell route del default shell route add default HISADDR
Relevant entries in rc.conf

network_interfaces=3D"em0 lo0"
ifconfig_em0=3D"inet 10.0.0.254 netmask 255.255.255.0"
gateway_enable=3D"yes"
ppp_enable=3D"YES"
ppp_mode=3D"ddial"
ppp_nat=3D"NO"
ppp_profile=3D"iinet"
ppp.conf

default:
 set log Chat Connect Command tun Phase Warning IPCP CCP IPCP LQM Error Ale=
rt
 ident user-ppp VERSION (built COMPILATIONDATE)
 set mru 1492
 set mtu 1492
 enable lqr
 enable echo
 #enable dns=20
 set timeout 0
 set redial 0 0
 nat enable no

iinet:
 set device PPPoE:em0:iinet
 set speed sync
 set ctsrts off
 set authname xxxxx@xxxx.net.au
 set authkey xxxxxxxx
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
uname -a=20

FreeBSD crusty 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #2: Mon Apr  3 10:59=
:13
AEST 2017     root@crusty:/usr/obj/usr/src/sys/CRUSTY  i386
custom kernel options

include PAE

device pf
device pflog
device pfsync
options ALTQ
options ALTQ_CBQ
options ALTQ_RED
options ALTQ_RIO
options ALTQ_HFSC
options ALTQ_PRIQ
options ALTQ_NOPCC

options IPFIREWALL
options IPDIVERT
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_VERBOSE

options IPFILTER
options DUMMYNET
options HZ=3D1000=20=20=20=20

options         NETGRAPH
options         NETGRAPH_ETHER
options         NETGRAPH_PPPOE
options         NETGRAPH_SOCKET
Routing table

Internet:
Destination        Gateway            Flags     Netif Expire
default            150.101.32.92      US         tun0
10.0.0.0/24        link#1             U           em0
10.0.0.254         link#1             UHS         lo0
58.6.220.252       link#5             UHS         lo0
127.0.0.1          link#2             UH          lo0
150.101.32.92      link#5             UHS        tun0

Internet6:
Destination                       Gateway                       Flags     N=
etif
Expire
::/96                             ::1                           UGRS       =
 lo0
::1                               link#2                        UH         =
 lo0
::ffff:0.0.0.0/96                 ::1                           UGRS       =
 lo0
fe80::/10                         ::1                           UGRS       =
 lo0
fe80::%lo0/64                     link#2                        U          =
 lo0
fe80::1%lo0                       link#2                        UHS        =
 lo0
ff02::/16                         ::1                           UGRS       =
 lo0
ff02::%tun0/32                    fe80::223:24ff:fe92:8e73%tun0 UGS        =
tun0
/var/log/ppp.log

Apr  9 10:16:10 crusty ppp[2690]: tun0: Phase: PPP Started (ddial mode).
Apr  9 10:16:10 crusty ppp[2690]: tun0: Phase: bundle: Establish
Apr  9 10:16:10 crusty ppp[2690]: tun0: Phase: deflink: closed -> opening
Apr  9 10:16:10 crusty ppp[2690]: tun0: Phase: deflink: Connected!
Apr  9 10:16:10 crusty ppp[2690]: tun0: Phase: deflink: opening -> dial
Apr  9 10:16:10 crusty ppp[2690]: tun0: Phase: deflink: dial -> carrier
Apr  9 10:16:11 crusty ppp[2690]: tun0: Phase: Received NGM_PPPOE_ACNAME (h=
ook
"qcz5-charlotte")
Apr  9 10:16:11 crusty ppp[2690]: tun0: Phase: Received NGM_PPPOE_SESSIONID
Apr  9 10:16:11 crusty ppp[2690]: tun0: Phase: Received NGM_PPPOE_SUCCESS
Apr  9 10:16:11 crusty ppp[2690]: tun0: Phase: deflink: carrier -> login
Apr  9 10:16:11 crusty ppp[2690]: tun0: Phase: deflink: login -> lcp
Apr  9 10:16:13 crusty ppp[2690]: tun0: LQM: deflink: Will send LQR every 3=
0.00
secs
Apr  9 10:16:13 crusty ppp[2690]: tun0: Phase: bundle: Authenticate
Apr  9 10:16:13 crusty ppp[2690]: tun0: Phase: deflink: his =3D CHAP 0x05, =
mine =3D
none
Apr  9 10:16:13 crusty ppp[2690]: tun0: Phase: Chap Input: CHALLENGE (16 by=
tes
from qcz5-charlotte)
Apr  9 10:16:13 crusty ppp[2690]: tun0: Phase: Chap Output: RESPONSE
(xxx@xxx.net.au)
Apr  9 10:16:13 crusty ppp[2690]: tun0: LQM: deflink: Will send LQR every 3=
0.00
secs
Apr  9 10:16:13 crusty ppp[2690]: tun0: Phase: deflink: his =3D CHAP 0x05, =
mine =3D
none
Apr  9 10:16:13 crusty ppp[2690]: tun0: Phase: Chap Input: CHALLENGE (16 by=
tes
from bng1.bne4)
Apr  9 10:16:13 crusty ppp[2690]: tun0: Phase: Chap Output: RESPONSE
(xxx@xxx.net.au)
Apr  9 10:16:13 crusty ppp[2690]: tun0: Phase: Chap Input: SUCCESS (CHAP
authentication success, unit 6596)
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: Using trigger address 0.0.0.0
Apr  9 10:16:13 crusty ppp[2690]: tun0: CCP: FSM: Using "deflink" as a
transport
Apr  9 10:16:13 crusty ppp[2690]: tun0: CCP: deflink: State change Initial =
-->
Closed
Apr  9 10:16:13 crusty ppp[2690]: tun0: CCP: deflink: LayerStart.
Apr  9 10:16:13 crusty ppp[2690]: tun0: CCP: MPPE: Not usable without CHAP81
Apr  9 10:16:13 crusty ppp[2690]: tun0: CCP: deflink: SendConfigReq(1) stat=
e =3D
Closed
Apr  9 10:16:13 crusty ppp[2690]: tun0: CCP:  DEFLATE[4] win 15
Apr  9 10:16:13 crusty ppp[2690]: tun0: CCP:  PRED1[2]=20
Apr  9 10:16:13 crusty ppp[2690]: tun0: CCP: deflink: State change Closed -=
->
Req-Sent
Apr  9 10:16:13 crusty ppp[2690]: tun0: Phase: deflink: lcp -> open
Apr  9 10:16:13 crusty ppp[2690]: tun0: Phase: bundle: Network
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: FSM: Using "deflink" as a
transport
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: State change Initial=
 -->
Closed
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: LayerStart.
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: SendConfigReq(1) sta=
te =3D
Closed
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP:  IPADDR[6] 0.0.0.0
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with
slot compression
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: State change Closed =
-->
Req-Sent
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: RecvConfigReq(29) st=
ate
=3D Req-Sent
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP:  IPADDR[6] 150.101.32.92
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: SendConfigAck(29) st=
ate
=3D Req-Sent
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP:  IPADDR[6] 150.101.32.92
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: State change Req-Sent
--> Ack-Sent
Apr  9 10:16:13 crusty ppp[2690]: tun0: CCP: deflink: State change Req-Sent=
 -->
Stopped
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: RecvConfigRej(1) sta=
te =3D
Ack-Sent
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with
slot compression
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: SendConfigReq(2) sta=
te =3D
Ack-Sent
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP:  IPADDR[6] 0.0.0.0
Apr  9 10:16:13 crusty ppp[2690]: tun0: Phase: deflink: IPV6CP protocol rej=
ect
closes IPV6CP !
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: RecvConfigNak(2) sta=
te =3D
Ack-Sent
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP:  IPADDR[6] 58.6.220.252
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP:  IPADDR[6] changing address:
0.0.0.0  --> 58.6.220.252
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: SendConfigReq(3) sta=
te =3D
Ack-Sent
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP:  IPADDR[6] 58.6.220.252
Apr  9 10:16:13 crusty ppp[2690]: tun0: Phase: deflink: IPV6CP protocol rej=
ect
closes IPV6CP !
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: RecvConfigAck(3) sta=
te =3D
Ack-Sent
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP:  IPADDR[6] 58.6.220.252
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: State change Ack-Sent
--> Opened
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: LayerUp.
Apr  9 10:16:13 crusty ppp[2690]: tun0: IPCP: myaddr 58.6.220.252 hisaddr =
=3D
150.101.32.92
Apr  9 10:16:13 crusty ppp[2690]: tun0: Warning: Add route failed: 0.0.0.0:
errno: Value too large to be stored in data type
Apr  9 10:16:13 crusty ppp[2690]: tun0: Command: iinet: add default HISADDR
Apr  9 10:16:13 crusty ppp[2690]: tun0: Warning: Add route failed: 0.0.0.0:
errno: Value too large to be stored in data type
Apr  9 10:16:13 crusty ppp[2690]: tun0: Command: iinet: shell route del def=
ault
Apr  9 10:16:13 crusty ppp[2690]: tun0: Command: iinet: shell route add def=
ault
HISADDR
Apr  9 10:16:13 crusty ppp[2690]: tun0: Warning: ff02::: Change route faile=
d:
errno: Value too large to be stored in data type
Apr  9 10:16:16 crusty ppp[2690]: tun0: Phase: deflink: IPV6CP protocol rej=
ect
closes IPV6CP !
--=20 You are receiving this mail because: You are the assignee for the bug.=