MT bridge mode and Openwrt client mode and pppoe

Hi,

I am trying to bridge a pppoe network to a MT bridge CM9 and linksys WRT.

MY setup is as follows

PPPOE SERVER=====Routerboard(eth1)—bridge—Wlan======Linksys Wlan—bridge–linksysLAN===========client PC


I setup a bridge between eth1 and wlan in RB532. Wlan is in bridge mode. The linksys WRT54G has Openwrt and is in bridged client mode. The LAN and wireless interface of linksys are bridge. Client computer is connected to LAN port of the linksys.

I can browse internet if I have a static public IP. There is absolutely no problem. But as soon as I try to dial pppoe from client computer. I get log message in MT as follows

XX:XX:XX:XX:XX:XX unknown device, sent deauth (supressed 2)

something like this and the pppoe dialer does not get any PAD0 back. I took a tcpdump in pppoe server, and I did not see any PADI coming to the pppoe server.

Any insight is highly appreciated. P.S. I am running lastest 2.9.27 in RB532 with CM9 card

I’ve exactly the same problem, I’m suspecting that the client mode on the WRT is not a true layer3 bridge… I suppose WDS would work but it is not an option in my case.

Problem is client mode on WRT, solution is WDS or PPPOE relay. I have similar configuration used DD-WRT in client routed mode (DD-WRT is firmware based on OpenWRT but have full web interface ), and installl rp-pppoe-relay ipkg package on WRT and how PPPOE connection from computers conected to WRT work. You can buy special verison DD-WRT with pppoe-relay or free download DD-WRT and install package.
If you don’t use IP protocol you can disabled WAN(wireless interface in client mode ) and only use a PPPOE bridge with pppoe relay.
It is work very well.
EDIT: pppoe-relay is package for OpenWRT but work in DD-WRT in your case only need install this package and setup OpenWRT.

Can you explain some more on this, I searched for package called pppoe-relay but did not find one.

Finally I did it, thanks for the idea of pppoe relay

I downloaded relay from http://pjf.asn.pl/openwrt/ipkg/

Then I deleted the the wireless interface in openwrt from the br0 and started pppoe-relay

#pppoe-relay -C br0 -S eth1

and it worked like charm


Thanks

Layer3 bridge? Is that a typo by any chance?
The reason i ask is when i refer to a bridge i refer to an 802.1d bridge (which is on layer 2). One would need WDS, or something similar but necessarily less efficient, to be able to properly (“true”/“truely”) bridge 802.11 networks.

Yes. Work like charm :smiley:
Very small package and very useful.
I don’t understand why Mikotik don’t implemend this in RouterOS can be useful in some situtation like this

PPPOE server ---- AP ----- Client Mikrotik ---- users

with pppoe-relay users conect direct to PPPOE server.
In client mode bridge not work but pppoe-relay can work like pppoe bridge.