Marcos Dione | 1 Jun 18:03 2006
Picon

(unknown)


  hi all. first of all, I'm not suscribed to this list, so please cc: me in
the answers. I hope my preventive cc: to myself does the work for you; just
«reply-to-all».

  I'm setting up a machine with 4 ADSL lines connected to the same nic via a
switch. I'm not sure this is `supported´ or if I should add the 3 extra nics
it `should´ have.

  this setup semms to give me problems, but before going the one-nic-per-line,
I wanted to ask here. the problem is that sometimes, when I try to bring the 4
lines up, I get logs like this:

Jun  1 12:21:16 pigmea pppd[14214]: Received bad configure-ack:  05 06 35 a7 70
57 07 02

  it goes like this on and on. this is mostly haoppening for 2 of the pppd at
the same time. it logs that for a long while, then it logs this:

Jun  1 12:10:37 pigmea pppd[14155]: PAP authentication succeeded
Jun  1 12:10:37 pigmea pppd[14155]: Cannot determine ethernet address for proxy
ARP
Jun  1 12:10:37 pigmea pppd[14155]: local  IP address 200.82.94.132
Jun  1 12:10:37 pigmea pppd[14155]: remote IP address 200.3.60.3
Jun  1 12:10:37 pigmea pppd[14155]: Connect time 0.0 minutes.
Jun  1 12:10:37 pigmea pppd[14155]: Sent 0 bytes, received 0 bytes.
Jun  1 12:10:57 pigmea pppoe[14216]: Session 21522 terminated -- received PADT
from peer
Jun  1 12:10:57 pigmea pppoe[14216]: Sent PADT
Jun  1 12:10:57 pigmea pppd[14155]: Modem hangup
(Continue reading)

Bill Unruh | 1 Jun 18:44 2006
Picon
Picon

Re: your mail

On Thu, 1 Jun 2006, Marcos Dione wrote:

>
>  hi all. first of all, I'm not suscribed to this list, so please cc: me in
> the answers. I hope my preventive cc: to myself does the work for you; just
> «reply-to-all».
>
>  I'm setting up a machine with 4 ADSL lines connected to the same nic via a
> switch. I'm not sure this is `supported´ or if I should add the 3 extra nics
> it `should´ have.

No idea what it is that you are trying to accomplish. By switch, do you
mean a physical rotary type switch, or an ethernet switch.
The adsl lines I assume come into modems. Then you have an ethernet
connection from the modem to the "switch". Why? Why would you want 4 ADSL
lines? How are you going to route them?

Then are you running pppoe on those lines? Is that what the relationship to
ppp is?

>
>  this setup semms to give me problems, but before going the one-nic-per-line,
> I wanted to ask here. the problem is that sometimes, when I try to bring the 4
> lines up, I get logs like this:
>
> Jun  1 12:21:16 pigmea pppd[14214]: Received bad configure-ack:  05 06 35 a7 70
> 57 07 02
>
>  it goes like this on and on. this is mostly haoppening for 2 of the pppd at
> the same time. it logs that for a long while, then it logs this:
(Continue reading)

James Carlson | 1 Jun 18:52 2006

Re: your mail

Bill Unruh writes:
> > Jun  1 12:10:37 pigmea pppd[14155]: local  IP address 200.82.94.132
> > Jun  1 12:10:37 pigmea pppd[14155]: remote IP address 200.3.60.3
> 
> Not surprising you cannot do proxyarp. The machines MUST be on the same
> subnet to do proxyarp.

That's not quite true.  Instead, for proxy ARP to wrok, the remote IP
address on the PPP link must be within a subnet defined by some
broadcast-type (e.g., Ethernet) interface on the local system.  The
local IP on the PPP link doesn't matter.

On top of that, given CIDR, there's just no way to look at an IP
address and determine what might be or not be in the same subnet.  You
need the subnet mask to make that call.

In any event, this is all a nit and likely has nothing to do with the
originally reported problem.

--

-- 
James Carlson         42.703N 71.076W         <carlsonj <at> workingcode.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

James Carlson | 2 Jun 04:49 2006

Re:

Marcos Dione writes:
>   I'm setting up a machine with 4 ADSL lines connected to the same nic via a
> switch. I'm not sure this is `supported´ or if I should add the 3 extra nics
> it `should´ have.

I'll assume you're using PPPoE.

That should work, though it's tough for the client implementation to
get it right because of design flaws in the PPPoE protocol itself.
Namely, it's asymmetric, and it uses a single session ID assigned by
the server.  Since you're talking to multiple servers and each can
assign its own session ID to you, there's the possibility of overlap
(two servers picking the same session ID number).  When this happens,
the client must demultiplex based on Ethernet address.  It's a bit
messy.

You can tell if this is the problem by getting packet traces on the
Ethernet.  Specifically, you'll see PPPoE PADS (session confirmation)
messages with the same SESSION_ID number but with different source
Ethernet addresses.  If that happens, and if the client isn't clever,
you can get some serious trouble.

(The implementation I did for Solaris handles this case, but I don't
know about other implementations.)

> Jun  1 12:21:16 pigmea pppd[14214]: Received bad configure-ack:  05 06 35 a7 70
> 57 07 02

You should gather logs with debug enabled and post the _entire_ log
here.
(Continue reading)

KENT ANDERSON | 2 Jun 17:00 2006
Picon

EMPLOYMENT MAIL

From The Desk of:

Kent Anderson PhD
L. G. A. (Woodworking Machinery) Ltd,
1 Rutland Court,EH3 8EY,
London.

Dear Sir/Madam,

We will be very glad if you can be our representative in your country 
and earn 10% of every payment made through you to us.

For more information, contact us through email. Note that you shall not 
be liable to make any upfront payment.

Thanks in advance.

Kind Regards,
Kent Anderson (CEO)

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Marcos Dione | 2 Jun 18:20 2006
Picon

Re:

Quoting James Carlson <carlsonj <at> workingcode.com>:
> I'll assume you're using PPPoE.

  yes, sorry, I forgot to mention that.

> You can tell if this is the problem by getting packet traces on the
> Ethernet.  Specifically, you'll see PPPoE PADS (session confirmation)
> messages with the same SESSION_ID number but with different source
> Ethernet addresses.  If that happens, and if the client isn't clever,
> you can get some serious trouble.
>
> (The implementation I did for Solaris handles this case, but I don't
> know about other implementations.)

  implementation of pppoe?

> You should gather logs with debug enabled and post the _entire_ log
> here.

  coming soon.

> That sounds like an ID collision.  I guess I can't say it for certain
> without seeing the packet traces, but it seems likely.

  how can I gather packet traces? tcpdump, or enabling debug is enought?

>>   I'm starting to think that those are configure-acks `routed´ to the wrong
>> pppd, because if I bring up one line at a time, all establish the connection
>> succesfully. I just wanted to make sure I was reaching to the correct
>> conclusion.
(Continue reading)

Marcos Dione | 2 Jun 18:10 2006
Picon

Re: 4 adsl lines in one nic

Quoting Bill Unruh <unruh <at> physics.ubc.ca>:
> On Thu, 1 Jun 2006, Marcos Dione wrote:
>>  hi all. first of all, I'm not suscribed to this list, so please cc: me in
>> the answers. I hope my preventive cc: to myself does the work for you; just
>> «reply-to-all».
>>
>>  I'm setting up a machine with 4 ADSL lines connected to the same nic via a
>> switch. I'm not sure this is `supported´ or if I should add the 3 extra nics
>> it `should´ have.
>
> No idea what it is that you are trying to accomplish. By switch, do you
> mean a physical rotary type switch, or an ethernet switch.
> The adsl lines I assume come into modems. Then you have an ethernet
> connection from the modem to the "switch". Why? Why would you want 4 ADSL
> lines? How are you going to route them?

  yes, it's an ethernet switch. the four adsl lines will be connected to one
machine and used in a load balancing scheme, but that? another story. we're
connecting the 4 lines to one nic due to hardware limitations.

> Then are you running pppoe on those lines? Is that what the relationship to
> ppp is?

  I need to run pppoe on these lines to get the service.

> Not surprising you cannot do proxyarp. The machines MUST be on the same
> subnet to do proxyarp.

  it's not my problem. I should have ommited that line.

(Continue reading)

Michal Ostrowski | 2 Jun 18:43 2006
Picon
Picon

Re: Re:

On Fri, 2006-06-02 at 13:20 -0300, Marcos Dione wrote:
> Quoting James Carlson <carlsonj <at> workingcode.com>:

> > You should gather logs with debug enabled and post the _entire_ log
> > here.
> 
>   coming soon.
> 
> > That sounds like an ID collision.  I guess I can't say it for certain
> > without seeing the packet traces, but it seems likely.
> 
>   how can I gather packet traces? tcpdump, or enabling debug is enought?
> 

Ideally, both.   Run  tcpdump dump as:

tcpdump -n -e -i eth????  ether proto 0x8863 or ether proto 0x8864

> >>   I'm starting to think that those are configure-acks `routed´ to the wrong
> >> pppd, because if I bring up one line at a time, all establish the connection
> >> succesfully. I just wanted to make sure I was reaching to the correct
> >> conclusion.
> >
> > Yes, it sounds like that.  If so, then it's a problem in the PPPoE
> > implementation (likely in the kernel) and not in pppd.
> 
>   you mean, a buggy one?
> 

The Linux kernel component identifies PPPoE sessions using (SID,MAC
(Continue reading)

Marcos Dione | 2 Jun 19:04 2006
Picon

Re: 4 adsl lines in one nic

Quoting Michal Ostrowski <mostrows <at> earthlink.net>:
> The Linux kernel component identifies PPPoE sessions using (SID,MAC
> ADDR) pairs.  Thus, it should handle this case correctly.
> (See /proc/net/pppoe for a current listing of active sessions.)

  I have no such file here, not even in the whole /proc tree. kernel version
is 2.6.15-1-686 from debian etch.

--

-- 
Marcos Dione
Departamento de Cómputos
Facultad de Ciencias Químicas - UNC

----------------------------------------------------------------
Facultad de Ciencias Qumicas - Universidad Nacional de Crdoba

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Michal Ostrowski | 2 Jun 20:35 2006
Picon
Picon

Re: 4 adsl lines in one nic

Ah... do you know if you are even using the kernel-assisted pppoe?  I
assume that is not the case. 

On Fri, 2006-06-02 at 14:04 -0300, Marcos Dione wrote:
> Quoting Michal Ostrowski <mostrows <at> earthlink.net>:
> > The Linux kernel component identifies PPPoE sessions using (SID,MAC
> > ADDR) pairs.  Thus, it should handle this case correctly.
> > (See /proc/net/pppoe for a current listing of active sessions.)
> 
>   I have no such file here, not even in the whole /proc tree. kernel version
> is 2.6.15-1-686 from debian etch.
> 
--

-- 
Michal Ostrowski <mostrows <at> earthlink.net>

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane