From owner-freebsd-bugs Fri Nov 17 20:40: 8 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DAF8837B4C5 for ; Fri, 17 Nov 2000 20:40:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA92124; Fri, 17 Nov 2000 20:40:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id B889F37B479; Fri, 17 Nov 2000 20:30:58 -0800 (PST) Message-Id: <20001118043058.B889F37B479@hub.freebsd.org> Date: Fri, 17 Nov 2000 20:30:58 -0800 (PST) From: greg@macquarrie.com.au To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/22930: User ppp assigns wrong interface to added route Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22930 >Category: misc >Synopsis: User ppp assigns wrong interface to added route >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 17 20:40:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Greg Quinlan >Release: 4.1.1-Stable & 3.5-Stable >Organization: Macquarrie Corp. >Environment: FreeBSD dns0.macquarrie.com.au 3.5-STABLE FreeBSD 3.5-STABLE #0: Thu Nov 16 12:3 3:08 EST 2000 greg@dns0.macquarrie.com.au:/usr/src/sys/compile/server i386 >Description: On an incoming ppp connection, ppp assigns the wrong interface name to an added network route. This means that the new newtork can not function. -----8<----- extract from ppp.conf incoming: enable chap disable pap accept dns set ifaddr 10.1.7.1 10.1.7.2 255.255.255.0 set dns 10.1.0.254 set nbns 10.1.0.254 # enable proxyall add 10.1.5.0/24 10.1.7.2 << ------>8-------------- netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 139.130.59.129 UGSc 11 7961 ppp0 10.1/24 link#1 UC 0 0 xl0 10.1.0.17 0:d0:b7:83:f7:f2 UHLW 1 16540 xl0 1148 10.1.0.18 0:d0:b7:90:8f:2d UHLW 0 846 xl0 600 10.1.0.251 0:60:8:cd:39:89 UHLW 2 31612 xl0 1172 10.1.0.254 0:0:4c:d1:8e:54 UHLW 0 1885 lo0 10.1.5/24 10.1.7.2 UGSc 0 4 ppp0 << 10.1.6/24 10.1.0.251 UGSc 0 19761 xl0 10.1.7.2 10.1.7.1 UH 1 0 tun0 127.0.0.1 127.0.0.1 UH 1 1399284 lo0 The route must be deleted by hand and re-added giving: 10.1.5/24 10.1.7.2 UGSc 0 4 tun0 >How-To-Repeat: Have one link dialed out using kernel ppp (pppd) and one link dialed in using user ppp. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message