2008/10/15 Can Erkin Acar <[EMAIL PROTECTED]>:
> I have previously used two PPPoE links succesfully. The
> sys/net/if_pppoe.c:pppoe_find_softc_by_session() is correct as long as the
> devices are attached to different ethernet devices.
Someone kindly wrote me this patch:-
--- if_pppoe.c.orig 2008-10-14 19:06:21.000000000 +0100
+++ if_pppoe.c 2008-10-14 19:06:07.000000000 +0100
@@ -310,12 +310,9 @@
LIST_FOREACH(sc, &pppoe_softc_list, sc_list) {
if (sc->sc_state == PPPOE_STATE_SESSION
- && sc->sc_session == session) {
- if (sc->sc_eth_if == rcvif)
- return (sc);
- else
- return (NULL);
- }
+ && sc->sc_session == session
+ && sc->sc_eth_if == rcvif)
+ return (sc);
}
return (NULL);
}
This fixed the problem.
> Since you have not provided any information about your configuration, I can
> only make a guess. I would say that you are using the same ISP and
> credentials (username/password) for both pppoe interfaces. If this is the
> case, most probably your ISP prevents more than one connection from a given
> account. If this is not the case, please provide more information about your
> setup.
As per my original email: "Two ethernet interfaces connected directly
to two adsl bridge modems".
Yes, same ISP, different credentials. My ISP is more than happy with
bonded connections, they're not your typical ISP. I can even configure
my netblock routing via a web interface!