You are here

hAP ac lite: setting VLAN on LAN killed it?

6 posts / 0 new
Last post
AD7UF
hAP ac lite: setting VLAN on LAN killed it?
Preface: I have little AREDN experience w/ multi-port devices (hAP routers); I've only configured two of them in the past 4 years. Most of my work has been w/ multiple single-port devices, connected to a non-AREDN smart switch to direct VLAN traffic if needed.

I flashed a new hAP ac lite w/ yesterday's nightly (20260201). Tested it enough to confirm that everything worked as it should. For sure, I know that the default port config was "as advertised": 1: WAN untagged 2-4: LAN untagged 5: DtD: VLAN 2

Life was good -- UNTIL I used the WebUI to change the LAN to VLAN5. (For now, let's not muddy the discussion by discussing *why* I want to do such a thing.) Ever since, I can coax no Ethernet traffic out of ports 2-4. I changed it back to untagged. Still nothing.

I don't see anything in "ip a" output that looks fishy to me (newb caveat). I have a single PC connected to a LAN port and Wireshark never shows any packets from the hAP, no matter how I prod it from the PC, or even if I try to generate ARP traffic from the hAP. I connected a 2nd PC to a LAN port (The 1st "PC" is actually a VM w/ a dedicated USB-Ethernet adapter that I use for flashing AREDN devices; the 2nd is an old laptop used for the same purpose) with the same result: I can't coax anything from the hAP but can see the traffic between the 2 PCs fine.

Any tips on diagnosing/fixing it?

(I haven't reset the config; seems like I should get to the root of the problem and fix it "properly" instead of starting over and probably causing the same problem.)

Below is the output from "ip a" and "cat /etc/aredn_include/swconfig" (which I haven't tampered with; messing w/ port assignments was going to be my next step!)

----------------------------------------------------------------------------------------
root@W7MSH-Ka-AD7UF-Cab:~# ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc fq_codel master br0 state UP qlen 1000
    link/ether 46:7b:6f:6c:58:6f brd ff:ff:ff:ff:ff:ff
3: eth1:  mtu 1500 qdisc fq_codel master br0 state UP qlen 1000
    link/ether 46:e7:06:80:e2:27 brd ff:ff:ff:ff:ff:ff
4: tunl0@NONE:  mtu 1480 qdisc noop state DOWN qlen 1000
    link/ipip 0.0.0.0 brd 0.0.0.0
5: br-dtdlink:  mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether 02:2e:93:d6:09:be brd ff:ff:ff:ff:ff:ff
    inet 10.143.151.64/8 brd 10.255.255.255 scope global br-dtdlink
       valid_lft forever preferred_lft forever
    inet6 fe80::2e:93ff:fed6:9be/64 scope link 
       valid_lft forever preferred_lft forever
6: br0:  mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether 46:7b:6f:6c:58:6f brd ff:ff:ff:ff:ff:ff
    inet6 fe80::447b:6fff:fe6c:586f/64 scope link 
       valid_lft forever preferred_lft forever
7: br0.2@br0:  mtu 1500 qdisc noqueue master br-dtdlink state UP qlen 1000
    link/ether 46:7b:6f:6c:58:6f brd ff:ff:ff:ff:ff:ff
8: br-lan:  mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether dc:2c:6e:4a:a4:ac brd ff:ff:ff:ff:ff:ff
    inet 10.85.37.129/29 brd 10.85.37.135 scope global br-lan
       valid_lft forever preferred_lft forever
    inet6 fe80::de2c:6eff:fe4a:a4ac/64 scope link 
       valid_lft forever preferred_lft forever
9: br0.3@br0:  mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
    link/ether 46:7b:6f:6c:58:6f brd ff:ff:ff:ff:ff:ff
10: br-wan:  mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether dc:2c:6e:4a:a4:ab brd ff:ff:ff:ff:ff:ff
    inet 192.168.214.155/24 brd 192.168.214.255 scope global br-wan
       valid_lft forever preferred_lft forever
    inet6 fe80::de2c:6eff:fe4a:a4ab/64 scope link 
       valid_lft forever preferred_lft forever
11: br0.4@br0:  mtu 1500 qdisc noqueue master br-wan state UP qlen 1000
    link/ether 46:7b:6f:6c:58:6f brd ff:ff:ff:ff:ff:ff
12: wlan0:  mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether dc:2c:6e:4a:a4:b0 brd ff:ff:ff:ff:ff:ff
    inet 10.74.164.176/32 brd 255.255.255.255 scope global wlan0
       valid_lft forever preferred_lft forever
    inet6 fe80::de2c:6eff:fe4a:a4b0/64 scope link 
       valid_lft forever preferred_lft forever

----------------------------------------------------------------------------------------
root@W7MSH-Ka-AD7UF-Cab:~# cat /etc/aredn_include/swconfig
config switch
    option name 'switch0'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '4 3 2 0t'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '1t 0t'

root@W7MSH-Ka-AD7UF-Cab:~# 
nc8q
nc8q's picture
tips on...fixing it?
ad7uf:

Start fresh with factory.bin firmware.
(Note: I did 'not muddy the discussion by discussing *why* you want to do such a thing.)

73, Chuck
 
AD7UF
It was fresh
That's what surprised me: it *was* fresh, not a prior "old and abused" installation. My steps were: 1. Unbox new device 2. Allow to boot normally once to see Mikrotik SSID (confirms that it's alive) 3. Flash AREDN 4. Verify that traffic seen is as expected 5. Set VLAN 6. Boom!
nc8q
nc8q's picture
Set VLAN 6. Boom!
Load factory.bin.
Omit step 6.
 
AD7UF
Omit step 6?
"Omit" and then what? Setting the VLAN is exactly what I need -- I didn't just do it for grins!

It's like I complain that my new car caught on fire when I put gas in it so I can go somewhere, so you suggest that I get a new car and not put gas in it. :-)

nc8q
nc8q's picture
(For now, let's not muddy the discussion by discussing *why* I
(For now, let's not muddy the discussion by discussing *why* I want to do such a thing.)

Dear ad7uf:

I would like to note that you crippled possible responses in your original post.
I can by-pass that and respond to your last post with:
Why are you using AREDN .vs. the manufacturer's OS?

73, Chuck
 
 

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer