misc/125079: host routes added by ppp with gateway flag

Aragon Gouveia aragon at phat.za.net
Sat Jun 28 15:00:02 UTC 2008


>Number:         125079
>Category:       misc
>Synopsis:       host routes added by ppp with gateway flag
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 28 15:00:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Aragon Gouveia
>Release:        7.0-STABLE
>Organization:
>Environment:
FreeBSD nelson.infinite 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat Jun 21 17:37:41 SAST 2008     root at nelson.infinite:/usr/obj/usr/src/sys/NELSON  i386
>Description:
I recently migrated a 6.2 system to 7.0-STABLE.  One of the system's
functions was a PPPoE gateway that performed Proxy ARP for its PPP clients.

In 6.2 days when a connection was made the route entry for the PPP client
showed:

192.168.9.245      192.168.9.X        UH          0        1   tun0
192.168.9.245      00:1b:78:37:d1:97  UHLS2       1        0   bge0

192.168.9.X being the PPPoE server's IP, and bge0 being its ethernet device.

On the 7.0 system the route entry looks like this:

192.168.9.248      192.168.9.X        UGH         0        0   bge0
192.168.9.248      00:1f:29:78:25:9d  UHLS2       1        0   bge0

And the PPPoE connection doesn't work.  I have to manually remove the route
entry and recreate it with the -interface argument to get things working.

I'm fairly convinced this is an unintended bug, but couldn't get a response from anyone on freebsd-net to confirm.

>How-To-Repeat:
Use PPP and PPPoE settings similar to:

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

pppoein:
 allow mode direct
 enable lqr echo proxy
 enable chap
 set ifaddr 192.168.9.1 192.168.9.241-192.168.9.254
 accept dns
 set dns 192.168.9.1


<--- grep pppoed /etc/rc.conf --->
pppoed_enable="YES"
pppoed_provider="pppoein"
pppoed_interface="bge0"
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list