Hi, i'm trying to set up an OpenBSD router (6.4) on a PcEngines APU2D4 with Intel i210AT nics however I am having difficulties with PPPoE. I can see the discovery PADI packets going out using tcpdump but do not see any PADO response so PPPoE times out and retries sending the PADI packets.
More confusing is my Netgear R7000 running DD-WRT that I want to replace with the APU handles PPPoE just fine and bizarrely the PADI packets look the same however the packets from OpenBSD don't get a response but the R7000 does. Using tcpdump the PADI message form OpenBSD looks like below: 15:21:47.340929 a0:63:91:47:81:07 ff:ff:ff:ff:ff:ff 8100 36: 802.1Q vid 2 pri 0 PPPoE-Discovery code Initiation, version 1, type 1, id 0x0000, length 12 tag Service-Name, length 0 tag Host-Uniq, length 4 \210\352\235\232 >From the router running DD-WRT we can see the PADI packet followed by the >response PADO: 01:14:57.164338 a0:63:91:47:81:07 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 36: vlan 2, p 0, ethertype PPPoE D, PPPoE PADI [Service-Name] [Host-Uniq 0x55440000] 01:14:57.171736 78:da:6e:de:df:d4 > a0:63:91:47:81:07, ethertype 802.1Q (0x8100), length 103: vlan 2, p 0, ethertype PPPoE D, PPPoE PADO [Vendor-Specific "......AVC000030861999"] [Service-Name] [Host-Uniq 0x55440000] [AC-Name "syd-gls-har-bras24"] [AC-Cookie "po.N?f'......D27"] To me, the PADI packets look the same, I even spoofed the MAC on the OpenBSD box so it looks like the DD-WRT router although this shouldn't be necessary I just wanted to verify. Does anyone have any ideas? My ISP requires me to use vlan 2, the packets look like they are using vlan 2. I also set priority to 0 to match the dd-wrt router. I've also tried to disable pflog in case that was blocking ingress with no luck. I'm out of ideas as the egress PADI broadcasts look identical from both devices. Any help is appreciated. If config output: lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768 index 5 priority 0 llprio 3 groups: lo inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff000000 em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1492 lladdr 00:0d:b9:4f:74:98 index 1 priority 0 llprio 3 media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause) status: active em1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:0d:b9:4f:74:99 index 2 priority 0 llprio 3 media: Ethernet autoselect (none) status: no carrier em1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:0d:b9:4f:74:99 index 2 priority 0 llprio 3 media: Ethernet autoselect (none) status: no carrier em2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:0d:b9:4f:74:9a index 3 priority 0 llprio 3 groups: egress media: Ethernet autoselect (none) status: no carrier inet 192.168.2.103 netmask 0xffffff00 broadcast 192.168.2.255 enc0: flags=0<> index 4 priority 0 llprio 3 groups: enc status: active pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136 index 6 priority 0 llprio 3 groups: pflog pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492 index 7 priority 0 llprio 0 dev: vlan2 state: PADI sent sid: 0x0 PADI retries: 10 PADR retries: 0 sppp: phase establish authproto pap authname "b8nfv2em" groups: pppoe status: no carrier inet 0.0.0.1 --> 0.0.0.0 netmask 0xff000000 vlan2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1492 lladdr 00:0d:b9:4f:74:98 index 8 priority 0 llprio Config files: ## /etc/hostname.em0: mtu 1492 up ## /etc/hostname.vlan2: vnetid 2 parent em0 llprio 0 mtu 1492 up ## /etc/hostname.pppoe0: inet 0.0.0.0 255.255.255.255 NONE \ pppoedev vlan2 authproto pap \ authname 'redacted' authkey 'redacted' up mtu 1492 llprio 0 dest 0.0.0.1 !/sbin/route add default -ifp pppoe0 0.0.0.1 -- Adam Evans