Hello "Gurus"
I'm a super newbie with OpenWRT, but not with networks.
I have (for a week) an EDUP 2660/AX1800 running latest OpenWRT 24.10.1
My goal is to make a "dumb" Vlan capable AP , that i can just "plop into" my existing pfSense setup.
For starters:
I have disabled dnsmasq & odhcpd in System --> Startup , that's handled by Bind & ISC-DHCPD on my server ... (Yes i know ... KEA ... later)
I have been playing a bit around, and got Vlan to work today ....
After fighting for some time (even wireshark ...) , and finally discovering that i missed to map the "Device" under the Vlan-IF that i had mapped the SSID to ... dooh.
Right now i have br-lan mapped to Lan1, Lan2 and my 5GHz 'OWRT-50' SSID.
Vlan steps:
I have removed Lan3 from the br-lan mapping
I have made a new bridge called br-trunk (guess where i was taught networking)
Mapped it to Lan3
I have made a Vlan50 interface on that br-trunk , and a Vlan 999 PVID (I hope)
In order to map a WiFi SSID , it seems like i need to make interfaces. WiFi won't map to a device.
So i made :
interface Trunk , made it unmanaged (hope no ip makes it L2'ish) , mapped it to br-trunk
interface Trunk_VL50 , made it unmanaged as above , mapped it to br-trunk.50
Is this the (correct/best) way to setup DSA Vlans on my box ?
Could i get a "Guru" to do a "small peer review" ...
The setup is still in the "Play state" , but i know that if i don't make it Vlan capable now.
I might never get the chance (with 20+ IOT thingys on it) ....
Relevant sections below.
TIA
/Bingo
# ubus call system board
{
"kernel": "6.6.86",
"hostname": "sv-owrt-01",
"system": "MediaTek MT7621 ver:1 eco:3",
"model": "SIM SIMAX1800T",
"board_name": "sim,simax1800t",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "24.10.1",
"revision": "r28597-0425664679",
"target": "ramips/mt7621",
"description": "OpenWrt 24.10.1 r28597-0425664679",
"builddate": "1744562312"
}
}
network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd27:ef90:e0d7::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
option macaddr 'x:x:x:7B:C2:A7'
list ports 'lan1'
list ports 'lan2'
config interface 'lan'
option device 'br-lan'
option proto 'dhcp'
option delegate '0'
config interface 'wan'
option device 'wan'
option proto 'dhcp'
config interface 'wan6'
option device 'wan'
option proto 'dhcpv6'
config device
option name 'lan3'
config device
option type 'bridge'
option name 'br-trunk'
list ports 'lan3'
option mtu '1500'
option txqueuelen '1000'
option macaddr 'x:x:x:7B:C2:AC'
config bridge-vlan
option device 'br-trunk'
option vlan '50'
list ports 'lan3:t'
config bridge-vlan
option device 'br-trunk'
option vlan '999'
option local '0'
list ports 'lan3:u*'
config device
option name 'br-trunk.50'
option type '8021q'
option ifname 'br-trunk'
option vid '50'
option mtu '1500'
option txqueuelen '1000'
option ipv6 '1'
option mtu6 '1500'
option acceptlocal '1'
config interface 'Trunk'
option proto 'none'
option device 'br-trunk'
config interface 'Trunk_VL50'
option proto 'none'
option device 'br-trunk.50'
option defaultroute '0'
config device
option name 'lan1'
config device
option name 'lan2'
wireless
config wifi-device 'radio0'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
option channel '1'
option band '2g'
option htmode 'HE20'
option cell_density '0'
option txpower '18'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'Trunk_VL50'
option mode 'ap'
option ssid 'OWRT-24'
option encryption 'psk2'
option key 'Secret-wifi-pwd'
config wifi-device 'radio1'
option type 'mac80211'
option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0+1'
option channel '36'
option band '5g'
option htmode 'HE80'
option cell_density '0'
option txpower '18'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OWRT-50'
option encryption 'psk2'
option key 'Secret-wifi-pwd'
Ps:
The EDUP apparently grabs a random MAC for lanxx & br-lan on boot.
It drowe me crazy, because i like to use MAC locked dhcp for mgmt (makes it easy to move to another segment/site.
So i had to assign a Static MAC to the br-lan , in order to match my MAC reservation.
I did the same for my new br-trunk even if it's just used for L2 ...