Skip to content

Freebsd 13.1 supports vlan 0 tagging but .... #78

@christopher-bowman

Description

@christopher-bowman

using the vlanpcp option to ifconfig, FreeBSD is supposed to now support tagging with vlan zero.

I have a working setup using a variant of the this script with netgraph and extracted certs (so I know the certs and wpa_supplicant config is working). I can't tcdpdump my ATT RG doing negotiation and passing traffic since I'm not setup for that so I can't tell what "golden" traffic should look like but I have noticed some interesting things:

  1. The MAC address that my traffic comes from doesn't actually have to match that of the ATT RG. While wpa_supplicant does have to be configured with the ATT RG MAC address when I look at tcpdump from my working FreeBSD configuration the packets on the ethernet port connected to the ONT don't show the same MAC as my ATT RG and yet traffic flows.

  2. The initial packet of my EAPoL don't seem to be vlan tagged with the netgraph approach. I don't have traces available right now to confirm but that's what I recall.

  3. In the new approach using ifconfig vlanpcp 0 without netgraph it does look like the packets are vlan0 tagged INCLUDING all the EAPoL traffic and I don't see any responses from the ONT in this setup even when the packet do properly have the ATT RG MAC address.

What I'm thinking is that the EAPoL traffic tagged as vlan0 shouldn't be as it's BPDU traffic that shouldn't have a vlan tag and so the ONT doesn't respond but I don't know enough about networking to be sure.

Can you confirm any of this? It would are really nice if you could simply use ifconfig to clone the MAC address (if that's even really necessary) and tag packets to vlan0 and then configure wpa_supplicant eliminating the netgraph need. This would all be much easier. I find netgraph confusing. Plus presumably it would also work on recent PFsense (and all other FreeBSD derived firewall OSes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions