run multiple PPPoe-client on ether1 - IS IT POSSIBLE ??

Hello to all,

I have this problem:

I have the router1 that has PPPoe-server running on ether1, and router2 (rb450) that has two pppoe-clients on the same interface ether1. Here is the configuration of the rb450:

[admin@multiplex-xxx] > interface pppoe-client print
Flags: X - disabled, R - running
0 R name="pppoe-out1" max-mtu=1480 max-mru=1480 mrru=disabled
interface=ether1 user="user1" password="xxxxxx"
profile=default-encryption service-name="" ac-name=""
add-default-route=yes dial-on-demand=no use-peer-dns=yes
allow=pap,chap,mschap1,mschap2

1 X name="pppoe-out2" max-mtu=1480 max-mru=1480 mrru=disabled
interface=ether1 user="user2" password="yyyyyyy"
profile=default-encryption service-name="" ac-name=""
add-default-route=yes dial-on-demand=no use-peer-dns=yes
allow=pap,chap,mschap1,mschap2

My intention is to set up two ip-pools to use on the ether2 and ether3 so two different pppoe customers can surf the internet using both the rb450 as pppoe-client. The rb450 pull up the two pppoeclients to the pppoe server without problems (authenticated ok).

Now the problem: every pppoe account is ok on the radius, and singularry works well. But when I activate both the router stop working... internet is no more reached from the PC connected to the rb450. here are the routing table when only one pppoe client is active:

Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit

DST-ADDRESS PREF-SRC G GATEWAY DISTANCE IN..

0 ADS 0.0.0.0/0 r 172.1.2.1 1 pp..
1 ADC 172.1.2.1/32 172.1.2.2 0 pp..
2 ADC 192.168.2.0/24 192.168.2.1


here are the routes when two pppoe-client are actives:

Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit

DST-ADDRESS PREF-SRC G GATEWAY DISTANCE IN..

0 ADS 0.0.0.0/0 r 172.1.2.1 1 pp..
1 DS 0.0.0.0/0 r 172.1.2.1 1 pp..
2 ADC 172.1.2.1/32 172.1.2.2 0 pp..
3 DC 172.1.2.1/32 172.1.2.10 0 pp..
4 ADC 192.168.2.0/24 192.168.2.1 0 et..


Please help me... I need to authenticate more than one pppoe-client on the same ether1 of the rb450!!!

A.

Any help?

I need to authenticate more than one pppoe-client to the same pppoe-server using only ether1. It it possible with mikrotik?

I try to be more explicit:

server1:
PPPoe server with dinamic interface ip 172.1.2.1 (pppoe) connected on the ether1 interface

|
|
|
|
|
| Cable
|
|
|
|
|
|

server2 (rb450): with two or more PPPoe clients running all in ether1, that is connected to the ether1 of the pppoe server1.
I’ve set up some nat rules to route ether2 addresses (for example 192.168.1.0/24) to the ppoe_out1 interface (that is one user), ether 3 addresses (192.168.2.0/24) to the pppoe_out2 interface (the 2nd user), and so on.

All this matters to have more that one pppoe_user using only one ether interface from one CPE straight to the RB450 that has to route each user traffic in the correct pppoe_out interface…

Is it possible to pass with more than one PPPoe user in one ethernet cable? If I attach a simple switch to the pppoe server, I can login with any pppoe_client attached on it… seems that RB450 has some problems to run more than one PPPoe client on the same interface…

Thank you for your help

A.

you might need to setup metarouters / xen machines to do that on a single router. I don’t know much about PPPoe, but I think it’s 1 per MAC address.

i did see ‘virtual ethernet’ on v3 now, is that workable I wonder ?

Thank you Changeip for your info. I think that Virtual Ethernet is directly correlated to Metarouter, cause I didnt find to which “real” interface we can join it to…

About PPPoe and Mac address: if only one Mac address could be registered to a PPPoe Server I cannot register two PPPoeClient running both on the ether1 interface… but I can!! Everyone is well registered to PPPoe server, the problem is the routing table that is completely inconsistent…

Is there someone that is “highly skilled” on PPPoe client-server procedure?? (Like Normis) I don’t want to use Metarouters to connect four PPPoe Clients to one PPPoe server…

A.

Everyone? Meaning everyone that has a different MAC address?

PPPoE is layer 2, so there is no routing involved whatsoever.

I mean that in the trial I made, all the two PPPoe-Clients were registered to the PPPoe Server, even if they are running on the same ether1 of rb450. I suppose that if it is not possible I should receive an error from PPPoe-server… but no errors. All the pppoe-clients were well registered…

I’m looking for a solution. I will prefer to use the rb450 with ether1 to connect to the pppoe-server and the other 4 ethernet ports to locate each one with an IP class to the customers.

Any ideas?

A.

Any idea??? Please help me to solve this matter…

A.

Turn off “Add default Route” on the second pppoe interface, and enable it. The use the Ping tool to ping through that interface to see whether the upstream router forwards the pckets. It probably does.

To use the two PPPoE clients at the same time, you will need either ECMP + “route table flushing workarounds”, or the new, not yet released “PCC” technique that will be in v3.24.

On ADSL usually one PPPoE client is enough. To download with full speed you just need QoS - to prioritize small ack packets.

There is one more thing you can try, its MLPPP, usually should work when you add the ether1 interface to the PPPoE connection a second time and set a MRRU of less than 1492 … if I remember correctly.

Thank you so much NetworkPro.

It will work even in this case?:

PPPoe server 172.1.1.1 on rb433 ether1 interface


PPPoe client 1 - 172.1.1.2
PPPoe client 2 - 172.1.1.3 both on the same ether1 interface of the same routerboard rb450

the 0.0.0.0/0 gateway will be 172.1.1.1 for both interfaces? should I disable “add default route” only on the 172.1.1.3 pppoe client interface?

So, if it will work, I will NAT the two pppoe clients to two different private classes (like 192.168.1.0/24 and 192.168.2.0/24 each one to be used from different customers).

It will work?
A.

Did you do exactly what I told you my last post? Can you ping a host when you specify the second PPPoE client interface in the ping tool?