I have a fiber connection at home and my ISP uses the DHCP protocol with some specific parameters:
WAN needs to be tagged on a Vlan on port 832
TV services (optional) use a vlan on port 840
Necessary to send identifying packets : for dhcp v4 : option vendorid, option reqopts, option sendopts,… and for dhcp v6 : option sendopts option reqopts,…
My problem is that i never succeed to make the WAN network up and running.
Here are below the steps i followed adapted from a working configuration (tutorial made for Turris Omnia router though) . Could you tell me if these commands are compatible with the GL-MV1000 or what i will have to modify ?
in /etc/config/network : [XXXXXXXXXXXXXXXXXXXXXX are for my ISP credentials in hex format, not an issue here, i know they’re correct]
in /etc/hotplug.d/iface/ i created a file named 05-vlanprio with this content :
for i in 0 1 2 3 4 5 6 7; do
/sbin/ip link set eth1.832 type vlan egress $i:$i >/dev/null
/sbin/ip link set eth1.832 type vlan egress 1:0 >/dev/null
/sbin/ip link set eth1.832 type vlan egress 0:6 >/dev/null
in /lib/netifd/proto/dhcpv6.sh, i added “-a” on the last command in this paragraph :
proto_run_command “$config” odhcp6c
$opts -a $iface
added some rules in /etc/firewall.user . I don’t mention it here because i don’t think my problems came from this file.
Many thanks for your help because i’m completely lost now !
I was able to do this through the GUI:
More Settings > Advanced > Network > Interfaces > WAN > Physical Settings
In the drop down enter Custom Interface: wan.vlan
Example: for getting PPPoE to work with CenturyLink, I needed to set this to: wan.201
Now in the drop down you should see “Software VLAN: wan.201” (wan)"
Does anyone know how to make this work for a provider with pppoe? I’m on a Brume MV1000. I’ve been able to obtain my pppoe credentials setup and I need to tag internet on vlan 100 and tv on vlan 105 (Vodafone FTTH).
I have currently this setup is working correctly for internet but now TV is not working on vlan 105 as I directly tagged wan.100 on the main wan interface:
config interface 'wan'
option hostname 'GL-MV1000-d03'
option metric '10'
option username '**********@vodafone'
option password '*************'
option disabled '0'
option proto 'pppoe'
option ipv6 'auto'
option ifname 'wan.100' <---- I needed this to obtain pppoe connection
I tried adding:
config interface 'wan_internet'
option ifname 'wan.100'
option proto 'dhcp'
config interface 'wan_tv'
option ifname 'wan.105'
option proto 'dhcp'
And then removed option ifname 'wan.100' from the wan interface but then with that configuration the Brume wasn’t able to obtain an internet connection.
Any idea what the right config is to get both internet and tv working? no need for voip as we’re not using the land line.