Ok how about this?
interface GigabitEthernet1/0/6 switchport trunk encapsulation dot1q switchport trunk native vlan 7 switchport mode trunk switchport nonegotiate
srr-queue bandwidth share 1 30 35 5 queue-set 2 priority-queue out mls qos trust cos macro description cisco-wireless auto qos trust
spanning-tree bpduguard enable
No I'm not on IOS, I use NixOS.
config device option name 'br-vlan1' option type 'bridge' list ports 'eth0.7' <--- Change this one
Code: [Select]config device option name 'br-vlan1' option type 'bridge' list ports 'eth0.7' <--- Change this oneBut I don't have any code that looks like that.
Could you show me the whole config file maybe? That might clear it up. I find this very difficult, sorry.
## OpenWRT Network Config## !!! Edit Management Interface (Wired) when having connectivity issues# !!! vlan1 / br-vlan1 / eth0.1##### Loopback###config interface 'loopback' option device 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0'#### IPv6 ULA###config globals 'globals' option ula_prefix ''#### Management Interface (Wired)###config device option name 'br-vlan1' option type 'bridge' list ports 'eth0.1'config interface 'vlan1' option device 'br-vlan1' option proto 'static' option ipaddr '10.0.7.2' option netmask '255.255.255.0' option gateway '10.0.7.1' option ip6assign '0'#### Management Interface (Wireless)###config interface 'WiFi_MGMT' option device 'wlan0-3' option type 'bridge' option proto 'static' option ipaddr '192.168.2.1' option netmask '255.255.255.0' option defaultroute '0' option delegate '0'#### VLAN 4 = WiFi 1###config device option type 'bridge' option name 'br-vlan4' list ports 'eth0.4' option bridge_empty '1' option ipv6 '0'config interface 'vlan4' option proto 'none' option force_link '1' option defaultroute '0' option delegate '0' option device 'br-vlan4'#### VLAN 5 = WiFi 2###config device option type 'bridge' option name 'br-vlan5' list ports 'eth0.5' option bridge_empty '1' option ipv6 '0'config interface 'vlan5' option proto 'none' option device 'br-vlan5' option force_link '1' option defaultroute '0' option delegate '0'#### VLAN 6 = WiFi 3###config device option type 'bridge' option name 'br-vlan6' list ports 'eth0.6' option bridge_empty '1'config interface 'vlan6' option proto 'none' option device 'br-vlan6' option force_link '1' option defaultroute '0' option delegate '0'#### Switch Configuration##### !!! option vlan = sequence# !!! option vid = VLAN ID#config switch option name 'switch0' option reset '1' option enable_vlan '1'config switch_vlan option device 'switch0' option vlan '1' option ports '0t 2 3 4 5' option vid '1' option description 'Default VLAN'config switch_vlan option device 'switch0' option vlan '2' option vid '4' option ports '0t 2t' option description 'VLAN 4 - WiFi 1'config switch_vlan option device 'switch0' option vlan '3' option vid '5' option ports '0t 2t' option description 'VLAN 5 - WiFi 2'config switch_vlan option device 'switch0' option vlan '4' option vid '6' option ports '0t 2t' option description 'VLAN 6 - WiFi 3'config switch_vlan option device 'switch0' option vlan '5' option ports '0t 2t' option vid '7' option description 'VLAN 7 - Cisco Switch Native VLAN'
## OpenWRT Wireless Configuration## !!! Don't use radio0 & radio1 from this file# !!! Use your device specific radio config (with path, country code, etc)# !!! Configure and add all custom wireless options (802k/v/r etc)# !!! Only copy the SSID config##### Radio 0 - 2.4GHz###config wifi-device 'radio0' option type 'mac80211' option path 'platform/ahb/18100000.wmac' option band '2g' option country 'US' option channel 'auto' option htmode 'HT20' option cell_density '0'#### Radio 1 - 5GHz###config wifi-device 'radio1' option type 'mac80211' option path 'pci0000:00/0000:00:00.0' option band '5g' option country 'US' option channel 'auto' option htmode 'HT20' option cell_density '0'#### SSID: WiFi 1 - 2.4GHz###config wifi-iface 'wifinet0' option device 'radio0' option mode 'ap' option ssid 'WiFi 1' option encryption 'sae' option key 'Very Secret' option network 'vlan4'#### SSID: WiFi 2 - 2.4GHz###config wifi-iface 'wifinet1' option device 'radio0' option mode 'ap' option ssid 'WiFi 2' option encryption 'sae' option key 'Very Secret' option network 'vlan5'#### SSID: WiFi 3 - 2.4GHz###config wifi-iface 'wifinet2' option device 'radio0' option mode 'ap' option ssid 'WiFi 3' option encryption 'sae' option key 'Very Secret' option network 'vlan6'#### SSID: WiFi-Management - 2.4GHz###config wifi-iface 'wifinet3' option device 'radio0' option mode 'ap' option ssid 'WiFi-MGMT' option encryption 'sae' option key 'Very Secret'#### SSID: WiFi 1 - 5GHz###config wifi-iface 'wifinet4' option device 'radio1' option mode 'ap' option ssid 'WiFi 1' option encryption 'sae' option key 'Very Secret' option network 'vlan4'#### SSID: WiFi 2 - 5GHz###config wifi-iface 'wifinet5' option device 'radio1' option mode 'ap' option ssid 'WiFi 2' option encryption 'sae' option key 'Very Secret' option network 'vlan5'#### SSID: WiFi 3 - 5GHz###config wifi-iface 'wifinet6' option device 'radio1' option mode 'ap' option ssid 'WiFi 3' option encryption 'sae' option key 'Very Secret' option network 'vlan6'
root@OpenWrt:~# brctl showbridge name bridge id STP enabled interfacesbr-vlan5 7fff.ffffffffffffffffffffff no wlan0-1 eth0.5 wlan1-1br-vlan1 7fff.ffffffffffffffffffffff no eth0.1br-vlan6 7fff.ffffffffffffffffffffff no eth0.6 wlan1-2 wlan0-2br-vlan4 7fff.ffffffffffffffffffffff no eth0.4 wlan0 wlan1
Yeah, to be clear, I'm not blaming you at all.
To answer your 3:- Wired is working right now. I can connect at 10.0.7.2 from CORE.
...First I set up SSID with unspecified network (picture 1), and enable it. ...
- VLANs having trouble with all, but probably should focus on wireless management interface first.
You wanted to create a so called OpenWRT Dumb Access Point with multiple VLAN's. As explained, your first task should be renaming the management interface to the br-vlanX naming scheme before going forward. You twice reported "loss of connectivity" and now you're connected again.
I shared a _complete_ config file to work from, but
Here you are back at the default config and try to config networks already provided in my example, do you see this doesn't help to understand where you are. Are you using my config or are you playing around with something default/custom ?!?! It's hard to understand what your doing ;-)
That COULD be a bridging issue, BUT if you didn't successfully renamed your wired management interface first (br-vlanX) this ain't going to work.
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 'REDACTED'config device option name 'br-lan' option type 'bridge' list ports 'eth0.1'config interface 'lan' option device 'br-lan' option proto 'static' option ip6assign '60' option gateway '10.0.7.1' list ipaddr '10.0.7.2/24' list ipaddr '192.168.1.1/24'config device option name 'eth0.2' option macaddr 'REDACTEDconfig switch option name 'switch0' option reset '1' option enable_vlan '1'config switch_vlan option device 'switch0' option vlan '1' option ports '2 3 4 5 0t'config switch_vlan option device 'switch0' option vlan '2' option ports '1 0t'config interface 'WIFI_MGMT' option proto 'static' option ipaddr '192.168.2.1' option netmask '255.255.255.0' option device 'phy0-ap0'
config wifi-device 'radio0' option type 'mac80211' option path 'pci0000:00/0000:00:00.0' option channel '36' option band '5g' option htmode 'VHT80' option cell_density '0'config wifi-iface 'default_radio0' option device 'radio0' option mode 'ap' option ssid 'OpenWrt' option encryption 'sae' option key 'hello1234'config wifi-device 'radio1' option type 'mac80211' option path 'platform/ahb/18100000.wmac' option channel '1' option band '2g' option htmode 'HT20' option disabled '1'config wifi-iface 'default_radio1' option device 'radio1' option network 'lan' option mode 'ap' option ssid 'OpenWrt' option encryption 'none'
#### Management Interface (Wireless)###config interface 'WiFi_MGMT' option device 'wlan0-3' option type 'bridge' option proto 'static' option ipaddr '192.168.2.1' option netmask '255.255.255.0' option defaultroute '0' option delegate '0'
config interface 'WIFI_MGMT' option proto 'static' option ipaddr '192.168.2.1' option netmask '255.255.255.0' option device 'phy0-ap0'
#### Management Interface (Wireless)###config interface 'WiFi_MGMT' option device 'phy0-ap0' <---- Your wireless radio / ssid sequence option type 'bridge' <---- Should be a BRIDGE option proto 'static' option ipaddr '192.168.2.1' option netmask '255.255.255.0' option defaultroute '0' option delegate '0'
You've explained your familiar with text editors (like VI), so it really suprises me if...
Even a single point, collon, hash or whatever can completly f*ck up your config...
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 'REDACTED'config device option name 'br-lan' option type 'bridge' list ports 'eth0.1'config interface 'lan' option device 'br-lan' option proto 'static' option ip6assign '60' option gateway '10.0.7.1' list ipaddr '10.0.7.2/24' list ipaddr '192.168.1.1/24'config device option name 'eth0.2' option macaddr 'REDACTED'config switch option name 'switch0' option reset '1' option enable_vlan '1'config switch_vlan option device 'switch0' option vlan '1' option ports '2 3 4 5 0t'config switch_vlan option device 'switch0' option vlan '2' option ports '1 0t'config interface 'WiFi_MGMT' option device 'phy0-ap3' option type 'bridge' option proto 'static' option ipaddr '192.168.2.1' option netmask '255.255.255.0' option defaultroute '0' option delegate '0'
I think the correct thing to do for device is phy0-ap3, because WiFi-MGMT is the fourth SSID in the list under radio0 (picture included).
Exactly! I assumed your "current" state of config, but if you're back to my wireless config it's the fourth SSID, so phy-ap3.
If your Wireless Management is working now...
It's not quite working. It's working in the sense that it is visible when I scan with my laptop. But it's not working in the sense that if I try to connect to it with the standard command "nmcli device wifi connect WiFi-MGMT password "Very Secret"" I get an error which says "ERROR: connection activation failed: IP configuration could not be resolved (no available address, timeout, etc)".
EDIT: I can change the country to CA since I'm in Canada, but I'm not sure how to determine the correct path.