I'm trying to connect my OpenWRT One router to my ONT. The problem is that the ONT sends out untagged PPPoE frames, but expects back tagged frames.
The router does not seem to support DSA in the current release, so I can't use it for tagging. I dont' want to use any software based solutions as I understand that this incuurs a performance penalty. (Correct me if I'm wrong on this.)
How do I set up OpenWRT so that outgoing PPPoE frames get tagged with a VLAN, but incoming unatgged PPPoE frames are still handled by pppd?
This would be really unusual. How did you determine this?
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
Thing is - DSA is for switches, and the One has no internal switch. It just comes with two physical separate network interfaces, which are labeled as WAN and LAN. Look at it like a desktop having two network cards inside.
So you don't have (or need) DSA here.
Not sure how you can tag only egress though, hopefully someone else can help you with that.
Edit: I modified your topic title a bit since DSA is not involved here. And mentioning the One hopefully gets you some more attention .
When I first tried setting up the OpenWrt One with my ONT, it did not connect even with the VLAN ID as supplied by the ISP. So I examined the packets that were being transmitted by the ISP's router. They were being tagged infact to ID 0. Running PPPoE on VLAN 0 didn't work either.
I replayed the PADI packet packet sent by my ISP's router which had VLAN ID 0 from the OpenWrt One to my ONT. I got a PADO packet in response. However with no 802.1Q header.
With help from ChatGPT, I tried sending a minimal PADI packet. I found that it needed to meet the following criteria in order to get a PADO packet in response:
VLAN ID: 0
VLAN priority: 7
Zero-length service name tag
Ethernet frame padded to the minimum length of 64 bytes
I know it makes no sense for the PADI to be tagged and the PADO reply to be untagged, but it seems to be the want the ISP handles things. If anybody could shed light as to why this is the behaviour, it would be much appreciated.
The reserved value 0x000 indicates that the frame does not carry a VLAN ID; in this case, the 802.1Q tag specifies only a priority (in PCP and DEI fields) and is referred to as a priority tag
Fair enough, but I am willing to wager that the device in question does not use tagged VLAN 0 and a priority tag... this would be very uncommon for residential CPE devices.