Netgraph mpd as a PPPoE access concentrator

Motonori Shindo mshindo at mshindo.net
Sun Jul 24 03:06:10 GMT 2005


Gleb,

From: Gleb Smirnoff <glebius at FreeBSD.org>
Subject: Re: Netgraph mpd as a PPPoE access concentrator
Date: Mon, 18 Jul 2005 15:06:36 +0400

> On Sun, Jul 10, 2005 at 04:51:28PM +0900, Motonori Shindo wrote:
> M> I'm trying to use Netgraph (mpd) as a PPPoE access concentrator
> M> (i.e. PPPoE server). It is working OK but with one minor potential
> M> problem which I haven't been able to solve.
> M> 
> M> The following is the mpd log file (replacing ip addresses with
> M> XXX.XXX.XXX.XXX) and configuration files. As we see in this log, the
> M> first incoming request succeeds and operates normally. However,
> M> "device" seems to be getting an attempt to bring it up again right
> M> after the first call is disconnected. This attempt never succeeds and
> M> is repeated indefinitely.
> 
> Can you try:
> 
>         set link max-redial -1
> 
> in bundle configuration?

Thanks for your advice! Adding 'set link max-redial -1' to mpd.conf
solved the problem. Looks like lcp on mpd side was trying to redial
but kept failing because PPPoE session wasn't present. Unn, it makes
sense..

The only problem I am seeing is proxy arp entry still left on the host
after PPPoE session is terminated. I think it should be automatically
removed when IPCP goes down.

Regards,

Motonori Shindo
Fivefront Corporation



More information about the freebsd-net mailing list