I am running 4.3 GENERIC.MP.

I appear to have hit an issue whereby two adsl modems are presenting
the same LCP session. I believe this is confusing pppoe(4). I am
unable to reconfigure the session presented by the modem (which I
believe likely to be the case on most devices).

Scenario:-

- Two ethernet interfaces connected directly to two adsl bridge modems
(which do pppoa<>pppoe, but pppoe as far as obsd is concerned),
configured as pppoe1 and pppoe2.
- Either pppoe interface will connect as long as the other interface
is set to 'down'.
- If you try and bring the other interface up whilst the other is
active, you get the following :-

Oct 14 18:49:55 hadrian /bsd: pppoe1: session 0x6 connected
Oct 14 18:49:55 hadrian /bsd: pppoe1: lcp open(initial)
Oct 14 18:49:55 hadrian /bsd: pppoe1: lcp initial->starting
Oct 14 18:49:55 hadrian /bsd: pppoe1: phase establish
Oct 14 18:49:55 hadrian /bsd: pppoe1: lcp up(starting)
Oct 14 18:49:55 hadrian /bsd: pppoe1: lcp starting->req-sent
Oct 14 18:49:55 hadrian /bsd: pppoe1: lcp output <conf-req id=0x85
len=10 05-06-32-b5-5d-33>
Oct 14 18:49:55 hadrian /bsd: pppoe1 (8864) state=3, session=0x6
output -> 00:50:7f:37:80:1b, len=18
Oct 14 18:49:56 hadrian /bsd: pppoe1: lcp TO(req-sent) rst_counter = 10
Oct 14 18:49:56 hadrian /bsd: pppoe1: lcp output <conf-req id=0x86
len=10 05-06-32-b5-5d-33>

.. which repeats 10 times and resets, then repeats indefinately.

I believe the issue is with "session=0x6". This is the same session
number that is associated with the interface that is currently up and
working (pppoe2 in this example).

Unfortunately i'm not a developer, but the guy who found this for me
suggested to look at
"sys/net/if_pppoe.c:pppoe_find_softc_by_session()" and hinted that the
behaviour of this should change.

Is anyone aware of this issue? I've never submitted a bug before :-)

Thanks

Reply via email to