How to enable RFC 4638?

What is DSA? I don't understand what the issue is, is something configured wrongly? My ISP requires VLAN id 911 otherwise traffic won't flow. Everything works how it's setup now.

1 Like

It will work just fine: option device 'eth1.911' does everything you need behind the scene. But I guess, it does not hurt to keep it now that you got a working config.

2 Likes
  • From what I see, the OP could omit that 8021q config.
  • Since you can specify ports with DSA like indvidual PHYs, just adding the VLAN tag works (EDIT: in the case of an indvidual port like WAN)
  • I too wonder if undocumented configurations are the cause of user's upgrade nightmares - those "but it was working in the previous version" threads :thinking:

For ease, I've made suggestions to users of DSA or Ethernet NICs to simply use e.g. wan.x if they needed to tag thier ISP connection.

1 Like

Just looking into DSA, it seems a big change and configs pre DSA might still work post DSA but can cause problems.

All I did was search for a guide to add VLAN ID to PPPoE connection via luci, can't remember which guide I used but it went like this one https://www.youtube.com/watch?v=EwYTV0z6lJk&t=532s

I should of probably used this one and wis hI had foulnd this one first it looks much easyer and simpler to setup. https://www.youtube.com/watch?v=06BTDkWw0v8

I will redo the config using that guide. I'm learning, slowly. :slight_smile:

Thanks, neverthless I will redo it so it's proper.

On filogic platform (T56, which is very much like MT6000 and OpenWrt One) the following works in NL where typically VLAN 6 is used on WAN.

config device
        option comment 'eth1 on port wan'
        option name 'eth1'
        option mtu '1512'
        option ipv6 '0'

config device
        option name 'eth1.6'
        option type '8021q'
        option ifname 'eth1'
        option vid '6'
        option mtu '1508'
        option ipv6 '0'

config interface 'wan'
        option device 'eth1.6'
        option mtu '1500'
        option proto 'pppoe'
        option username 'fake@freedom.nl'
        option password '1234'
        option ipv6 '1'
        option metric '0'
        option keepalive '0 1'

config interface 'wan6'
        option device '@wan'
        option proto 'dhcpv6'
        option reqaddress 'try'
        option ip6class 'wan6'
        option ip6assign '64'
        option ip6hint '0000'
        option ip6ifaceid '::1'
        option reqprefix 'auto'
        option disabled '0'

which results in:

ip link show dev pppoe-wan
pppoe-wan: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 3
    link/ppp

Thanks por, I have already got it working as above but that might help someone else.

This is what I landed on for the final config.

config device
	option name 'eth1'
	option mtu '1508'

config interface 'wan'
	option device 'eth1.911'
	option proto 'pppoe'
	option username 'REDACTED'
	option password 'REDACTED'
	option ipv6 'auto'
	option peerdns '0'
	option mtu '1508'
	list dns '1.1.1.1'
	list dns '1.0.0.1'
	list dns '2606:4700:4700::1111'
	list dns '2606:4700:4700::1001'

config interface 'wan6'
	option device 'eth1.911'
	option proto 'dhcpv6'
ip link show dev pppoe-wan
16: pppoe-wan: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN qlen 3
    link/ppp

Thanks again to everyone who contributed.