Date: Mon, 10 Apr 2017 01:42:23 +0000 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 Message-ID: <bug-218517-8@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218517 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 default 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 <pre> Relevant entries in rc.conf network_interfaces="em0 lo0" ifconfig_em0="inet 10.0.0.254 netmask 255.255.255.0" gateway_enable="yes" ppp_enable="YES" ppp_mode="ddial" ppp_nat="NO" ppp_profile="iinet" </pre> <pre> ppp.conf default: set log Chat Connect Command tun Phase Warning IPCP CCP IPCP LQM Error Alert ident user-ppp VERSION (built COMPILATIONDATE) set mru 1492 set mtu 1492 enable lqr enable echo #enable dns 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 </pre> <pre> uname -a 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 </pre> <pre> 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=1000 options NETGRAPH options NETGRAPH_ETHER options NETGRAPH_PPPOE options NETGRAPH_SOCKET </pre> <pre> 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 Netif 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 </pre> <pre> /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 (hook "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 30.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 = CHAP 0x05, mine = none Apr 9 10:16:13 crusty ppp[2690]: tun0: Phase: Chap Input: CHALLENGE (16 bytes 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 30.00 secs Apr 9 10:16:13 crusty ppp[2690]: tun0: Phase: deflink: his = CHAP 0x05, mine = none Apr 9 10:16:13 crusty ppp[2690]: tun0: Phase: Chap Input: CHALLENGE (16 bytes 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) state = 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] 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) state = 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) state = 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) state = 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) state = 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) state = 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 reject closes IPV6CP ! Apr 9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: RecvConfigNak(2) state = 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) state = 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 reject closes IPV6CP ! Apr 9 10:16:13 crusty ppp[2690]: tun0: IPCP: deflink: RecvConfigAck(3) state = 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 = 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 default Apr 9 10:16:13 crusty ppp[2690]: tun0: Command: iinet: shell route add default HISADDR Apr 9 10:16:13 crusty ppp[2690]: tun0: Warning: ff02::: Change route failed: errno: Value too large to be stored in data type Apr 9 10:16:16 crusty ppp[2690]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! </pre> -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218517-8>
