Modem + router combination. modem only for dsl. router for pppoe dhcp and all of other than dsl. how to connect modem+router ? which settings?

hello everyone.

i'm user of zyxel P-2812hnul-F1. i'm using this modem for dsl modem and router. my plan is using modem for only dsl connection. and i will add router for pppoe ( i will use my dsl username and password for pppoe) and dhcp and other than all of dsl connection.

i'm planning using two openwrt device. (modem and router)

i can use one or more advice. i can use all of them and use fastest one when i buy router. i need to learn before buy router.

i found only this link Single Device (modem/router combo) faster than two (bridge+router) VRX200 - #4 by Betty for my needs. i can learn other links.

  • configure the modem to pure modem mode (PPPoE pass-through/ bridging), no PPPoE configuration on the modem.
  • connect your router's WAN port with the LAN port of your modem.
  • configure VLAN tagging and your PPPoE credentials on the router as needed.
2 Likes

Thank u very much. may be i can ask little more when i buy router.

Tried a similar setup, would like to run Fritzbox 7390 as VDSL-modem only (instead of being a router). With the MR8300 (OpenWRT 22.03) as a router behind it. And not both of those in double-NAT setup as currently (config pasted below = double-NAT, 2xLAN, 2xWIFI, with two bridges and the Fritzbox as gateway on 192.168.99.1)

Need advice on config please regarding point 3 "configure VLAN tagging and your PPPoE credentials on the router as needed".

I tried to replicate this

but not really sure how to integrate with my current setup.

I set the Fritzbox in pppoe passthrough mode, I then get the option to set a VLAN in the Fritzbox but did not set anything at first. Then I removed the username and password and added it on openwrt wan interface instead.
From then on I am completely unsure what to put in the 'dsl' and 'wan' config. I gave it one try but received something like "User request error" on the WAN interface or and rolled back both routers to the initial config.
Would appreciate any advice where to continue.

DSL-Info from the Fritzbox 7390:

VDSL2 17a G.Vector (ITU G.993.5)
DSL-Version 1.100.135.13
Broadcom 178.31

etc/config/network

config globals 'globals'
option ula_prefix '*************/48'

config switch
	option name 'switch0'
	option reset '1'
	option enable_vlan '1'

config switch_vlan
	option device 'switch0'
	option vlan '5'
	option vid '5'
	option ports '0t 0t 4'

config switch_vlan
	option device 'switch0'
	option vlan '4'
	option vid '4'
	option ports '0t 0t 1 2 3'

config switch_vlan
	option device 'switch0'
	option vlan '3'
	option vid '3'
	option ports '0t 0t 5'

config device
	option type '8021q'
	option ifname 'eth0'
	option vid '5'
	option name 'eth0.5'

config device
	option type '8021q'
	option ifname 'eth0'
	option vid '4'
	option name 'eth0.4'

config device
	option type '8021q'
	option ifname 'eth1'
	option vid '3'
	option name 'eth1.3'

config interface 'loopback'
	option device 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config interface 'badlan'
	option device 'br-badlan'
	option proto 'static'
	option ipaddr '192.168.11.1'
	option netmask '255.255.255.0'

config interface 'lan'
	option device 'br-lan'
	option proto 'static'
	option ipaddr '192.168.22.1'
	option netmask '255.255.255.0'

config interface 'wan'
	option device 'eth1.3'
	option proto 'static'
	option netmask '255.255.255.0'
	option ipaddr '192.168.99.100'
	option gateway '192.168.99.1'

config device
	option name 'br-lan'
	option type 'bridge'
	list ports 'eth0.4'

config device
	option name 'br-badlan'
	option type 'bridge'
	list ports 'eth0.5'

Be aware that the Fusiv VX180 chipset of the Fritz!Box 7390 is rather problematic (particularly for vectoring enabled lines), making this a rather bad choice of a VDSL modem.

EDIT: if you don't need super-vectoring (profile 35b/ 250/40 MBit/s), there are plenty of better VDSL modems (up to profile 17b/ 100/40 MBit/s) on the various second hand markets for rather little money (5-30 EUR); some ISP branded (but capable of bridged mode) ones, some of the big OEMs, some even with full OpenWrt support.

Thanks for pointing out. Is there a list? Would be happy to replace it at all.
Just thought I could make it work with PPPoE Passthrough meanwhile.
With a new modem I would have a similar challenge though?