ARSWITCH(4)
π ARSWITCH(4) β arswitch, from the Kernel Interfaces Manual π
πΈ NAME πΈ
arswitch β Atheros AR8000 series Ethernet switch driver. That's the whole name-and-purpose moment, bestie.
β¨ SYNOPSIS β¨
Drop these into your kernel config, no cap:
device mdio
device etherswitch
device arswitch
π DESCRIPTION π
Okay so the arswitch driver gives you a management interface to Atheros AR8000 series Ethernet switch controllers. It uses an mdio(4) or miibus(4) interface to configure the ethernet interface β literally the little bridge between your switch brain and the rest of the setup.
This driver supports port based vlan and IEEE 802.1Q (QinQ). You configure those options with the etherswitchcfg(8) command. arswitch supports addtag, striptag, and doubletag. Important: addtag and striptag are mutually exclusive β pick one, bestie, you cannot have both.
Setting the switch MAC address is not supported. Like, at all. Don't come for it. π
π HARDWARE π
The arswitch driver supports these Ethernet switch controllers. Slay list:
- Atheros AR8327 Seven-port Gigabit Ethernet Switch
- Atheros AR8316 Six-port Gigabit Ethernet Switch
- Atheros AR8236 Six-port Fast Ethernet Switch
- Atheros AR8226 Six-port Fast Ethernet Switch
- Atheros AR8216 Six-port Fast Ethernet Switch
π¦ SEE ALSO π¦
etherswitch(4), etherswitchcfg(8) β go read these next, iykyk.
β HISTORY β
The arswitch device driver first appeared in FreeBSD 12.0. So it's been iconic since FreeBSD 12.0, periodt.
π AUTHORS π
The arswitch manual was written by Felix Johnson. Ty bestie Felix Johnson π
π«Ά Final sign-off, bestie: this page is from Debian, dated May 11, 2025, and it's the ARSWITCH(4) manual. Mwah! π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2021 Felix Johnson <felix.the.red@gmail.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms