Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Nov 2000 20:30:58 -0800 (PST)
From:      greg@macquarrie.com.au
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/22930: User ppp assigns wrong interface to added route
Message-ID:  <20001118043058.B889F37B479@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001118043058.B889F37B479>