Bridging PPPOE with Fritzbox and Belgacom B-Box2
Since about two weeks I have a VDSL connection in addition to an ADSL which will be terminated next month. While I do enjoy the bandwidth increase, I quickly discovered that the router which comes with the new subscription does not offer the same functionality as I used to have.
VDSL in Belgium comes by default with a so called B-Box2, a Sagem Webr@cer 3464 rebranded by Belgacom, running a customized Belgacom firmware.
With some hidden command this router offers some basic functionality including dyndns, port-forwarding, but features like VPN are missing.
To overcome these limitations, I decided to start using my AVM Fritzbox 7170 router again, and just use the B-Box2 as a bridge. It proved more challenging than I expected, but I succeeded. Below the step you have to perform to make this to work.
Belgacom B-Box / Sagem 3464 in Bridge mode:
Firstly, start with the basic steps to configure the B-Box2 for operating in bridge mode. Doing more with less is the trick here. Rather than adding special configuration, it turns out the modem is already supporting bridged PPPOE traffic straight out of the box. I just decided to strip some unnecessary configuration to avoid problem;
- Disable wireless
- Disable the voip wan interface
Below are some screenshots of the steps to take on a factory default box
Reconfigure the Fritzbox 7170:
The re-configuration of the Fritzbox is more tricky. To be able to establish a PPPOE connection to your ISP (in my case EDPNET), it is necessary that the router is able to send PPPOE encapsulated packets out of the LAN interface, with a VLAN tag. The VLAN tagging is required for VDSL and is only possible after some configuration tweaks. By default, a fritzbox is able to use the LAN0 interface as pseudo WAN port, however this is normally without VLAN tagging. Your PPPOE requests will time out without response if they are not send with the correct VLAN tagging, in case of EDPNET (and probably Belgacom as well) VLAN ID=10.
I also learned that it is not possible with every firmware version. I was succesful with 29.04.70. Newer firmware versions did cause some problems.
To add VLAN tagging to the IP packets, the following changes need to be made to the ar7.cfg file (in /var/flash). First enable telnet (dial #96*7* from a phone connected to one of the analog or ISDN ports). Telnet into the box, and edit ar7.cfg using the build in nvi editor.
Change / add the following:
Insert the below code, in between the existing piece of code in grey:
vccs {
VPI = 1;
VCI = 32;
traffic_class = atm_traffic_class_UBR;
pcr = 0;
scr = 0;
priority = 0;
dsl_encap = dslencap_pppoe;
vlancfg {
vlanencap = vlanencap_class_prio;
vlanid = 10;
vlanprio = 1;
}
ipbridgeing = no;
ipbridgeing_igmp = no;
pppoeforwarding = no;
connections = "internet", "voip";
}
Change the following parameters from no to yes:
enabled = yes; name = "internet"; dsl_encap = dslencap_inherit; dslinterfacename = "dsl"; no_masquerading = no; no_firewall = no; pppoevlanauto = yes; pppoevlanauto_startwithvlan = yes; ppptarget = "internet";
and
enabled = yes; name = "voip"; dsl_encap = dslencap_inherit; dslinterfacename = "dsl"; no_masquerading = no; no_firewall = no; pppoevlanauto = yes; pppoevlanauto_startwithvlan = yes; ppptarget = "voip";
The code pppoevlanauto and pppoevlanauto_startwithvlan appears twice in the config.
Lastly, change the default VLAN ID from 7 to 10:
manual_speed = no;
connect_delay_when_synced = 3s;
sync_lost_delay = 0w;
default_tcom_vlan = 10;
After this, it’s just a matter of using the GUI to configure LAN0 as WAN interface, with PPPOE. Screenshots below:
Trixbox,
You are the man. This trick is excellent.
This Bullshit_BBox is send back to its only purpose; VDSL Modem.
My Fritzbox 7170 has a firmware 29.04.76. And it worked at the first attempt.
Update:
- Also works on a Fritzbox 7140 firmware 39.04.67
Hello, Do you think it works with b-box 1 and Belgacom?
Hi Pascal, I have no clue. I don’t have a b-box1 myself, so can’t test it either. I would expect it to work anyway. The fritzbox can work as PPPOE cleint, and can be configured as described. It’s only a question whether the b-box 1 supports the pass thru of the pppoe session.
And it is important to make ppoe, or kan i also make ppoa bridging ?
Is’nt the ppoe Brindging only for isdn line?
Thanks a lot for reply
well, if you want to establish the ppp connection from your fritzbox, instead of from the b-box directly, it will have to be PPPOE (PPP over Ethernet). The frtizbox 7170 does not have a VDSL port, so your PPP needs to go over your Ethernet LAN0 port.
Hello Arnaud thanks for your fast reply.
Is the VPI and VCI important in your case ?
Or is that the right setting for edpnet?
I think for belgacom i shoud have
vccs {
VPI = 8;
VCI = 35;
No ?
I don’t understand the importance of this setting, and how it’s possible to make vlan tagging with the fritzbox.
The Fritzbox Support told me that’s not possible to make a vlan tagging yet with this box, but that they want to send it to the labor for adding this plugin into a futur firmware.
I just did a bit of reading on the B-Box 1. If the information I found is correct, this is not a VDSL, but just an ADSL only router. In that case, you do not really need your B-box 1 any longer. The 7170 fritzbox can be connected directly to the ADSL splitter. The 7170 router is a ADSL router, but no VDSL.
I used to have my 7170 directly connected to my ADSL in the past, before the upgrade to VDSL.
Indeed, for a connection directly to ADSL, you need to use the correct VPI/VCI , but indeed do need need VLAN tagging.
With respect to the answer you received from the AVM helpdesk; it’s their standard answer.
VLAN tagging is however possible, but not (yet) officially supported by them. This is why the method I described above is a bit tricky, requiring making changes directly in the actual router config files itself, rather than configuring via the Graphical User Interface..
This is the first side i found, where someone knows about the FB and the problematic with the belgia inet provider.
Thanks for you’r site, realy i’m proud to see an expert share his experience in this case.
I hope i can combine all for setup my FB with the Belgacom provider.
Maybe the problem shoud be the idtv vlan, maybe i musst create some new and combine with LAN2 or 3 / 4
Thanks Arnaud
I use the FB7270, and normaly they make vdsl.
I don’t know for the bbox1, i always think that he make vdsl, than i think it was necessary for get idtv form belgacom.
Is adls2+ not the same then vdsl?
If you have time i can send you a network picture from my configuration.
thanks a lot
ADSL2+ (ITU_G.992.5) and VDSL (ITU G.993.2) are not the same.
The FB 7270 is a ADSL2+ router/modem and can be connected directly to the splitter for the PPP internet connection.
I’m afraid I can however not really help you with the IPTV configuration, I don’t use IPTV myself (I have cable television)
OK thanks a lot, when the voip vlan setting is ok, than i try the same in the ar7.cfg with setup a idtv interface
Than normaly i just have to route the traffic from this vlan to a lan interface wich is bound to him.
Why it’s so difficult in Belgium, just for getting the monopole i think, that’s ridiculus, and the support isn’t able to find a solution, or maybe the are not expertise enough.
Ok thanks for your search.
Hello,
I’m planning to upgrade to VDSL on EDPNet. I Currently have a Linksys WRT 610N router with DD-WRT firmware hooked on the ADSL through a Linksys AM200 ADSL modem.
I’d like the keep the WRT610N/DD-WRT combo. Any idea (or any experience) if this will also work to simply replace my ADSL modem by this Sagem VDSL box with only modem functionality?
JF
Hi, I’ve no personal experience, but found some articles claiming that it is possible to use your DD-WRT router as the PPPOE client for the VDSL connection.
What you need is vlan tagging, I found this page explaining how to configure it: http://www.dd-wrt.com/wiki/index.php/Switched_Ports
On the other hand, some people do experience some problems….. http://www.dd-wrt.com/phpBB2/viewtopic.php?t=81814
I don’t have a 610N (or other DD-WRT capable router) to test available at the moment.
@Arnaud
Thanks !
I’ll go ahead anyway and keep you posted when I’ve receive the Sagem box.
Great article !
works from the first time with a Fritz 7270 with latest official software.
Mario
Thanks. Soon I’ll also be able to report experiences with a Fritzbox 7390. I just ordered one, to replace the combo Fritzbox + Sagem. I expect delivery in a few days.
Arnaud,
Happy to see the increase comments since the article was publised.
Also getting a 7390 soon, as both 7140 and 7170, with this workaround, do lose connectivity when a synchro happens, which is acceptable thou.
Hopefully, we could get ride of the sagem for good.
I don’t believe the disconnect issue is related to the hardware you use. I don’t see any in my log.
My log goes back just a little more than 3 days history – i’ll probably will need to use syslog to send the logs to a syslog server to be able to capture logs for a longer period. Or is there an easy way to extend the log file size – maybe re-routing it to the USB memory-stick?
I am on the latest firmware version. Anyone know where I can get a legacy version? Tried the changes above and still losing the internet connection.
Latest firmware of Sagem or Fritzbox? I’m running the latest Fritzbox version (a freetz-ed version based on 05.05) myself without any problems.