Netgear DM200 Bridge with VLAN Tagging

Once you get this up and running, have a look at https://github.com/moeller0/lantiq_dsl_parser. This should allow you (with octave) to get some diagnostics and statistics out of your router from a machine inside your network, to plot SNR and bitloading over the frequency bins. Please note that this is work in progress that has seen zero testing outside my own VDSL2 link and will change in the future (as it currently queries way to much and hence also takes too long).

So, I would be delighted to get some testing done on a real ADSL link! This is a general invitation for testers.
To not highjack this thread any longer, I created a new topic for all discussion abou this:
https://forum.openwrt.org/t/simply-tool-to-query-lantiq-modem-statistics-and-diagnostics-useful-for-moem-routers-running-openwrts-dsl-cmd/53857?u=moeller0

1 Like

Now I can also access the modem through the router (at least the web GUI, SSH doesn't work yet). I assigned my dsl_modem on the Archer C7 to the WAN Firewall zone.

Thanks everybody and especially @trendy trendy for all the help.

For reference here my Network config on the router Archer C7:

@ArcherC7:~# cat /etc/config/network 

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

config globals 'globals'
	option ula_prefix 'secret'

config interface 'lan'
	option type 'bridge'
	option ifname 'eth1.1'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option ip6assign '60'

config interface 'wan'
	option proto 'pppoe'
	option password 'secret'
	option ipv6 'auto'
	option username 'secret'
	option ifname 'eth0.3'

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

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

config switch_vlan
	option device 'switch0'
	option vlan '2'
	option ports '1 6t'

config switch_vlan
	option device 'switch0'
	option vlan '3'
	option ports '1t 6t'

config interface 'dsl_modem'
	option proto 'static'
	option ipaddr '192.168.2.2'
	option netmask '255.255.255.0'
	option ifname 'eth0.2'

Here is my config from the DM200:

@DM200:~# cat /etc/config/network 

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

config globals 'globals'
	option ula_prefix 'secret'

config atm-bridge 'atm'
	option encaps 'llc'
	option payload 'bridged'
	option nameprefix 'dsl'
	option vci '35'
	option vpi '8'

config dsl 'dsl'
	option annex 'a'
	option tone 'av'
	option ds_snr_offset '0'

config interface 'lan'
	option ifname 'eth0'
	option proto 'static'
	option ipaddr '192.168.2.1'
	option netmask '255.255.255.0'
	option ip6assign '60'

config device 'lan_eth0_dev'
	option name 'eth0'
	option macaddr 'secret'

config device 'wan_dsl0_dev'
	option name 'dsl0'
	option macaddr 'secret'

config interface 'wan_adsl'
	option type 'bridge'
	option ifname 'eth0.3 dsl0'
	option proto 'none'
	option auto '1'
1 Like

if dsl_modem interface is in the wan firewall zone in C7 then it will be NATed on the egress, so all hosts in the LAN will be able to access the DM200.
SSH should work along with web gui, there is no difference in how packets are treated. Check if there is an access list for SSH or if SSH is listening on this interface or if firewall is blocking it.

Before I allowed SSH access on the DM200 only from the LAN. I removed that restriction and now I can SSH into it. Thanks again.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.