OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Siwind - 02.04.2019

FS#2217 - Get all zero Mac address when tagged port VLAN between router and AP.

 
I have two routers running the latest OpenWrt master trunk version. The first works as router(with dhcp/dns) and another works as pure AP(without dns/dhcp). So far it works fine.

Because I need a guest wifi network, so I added one vlan setting between router and AP with port tagged(VLAN-ID=17), after that, the AP device can not get correct routers’s MAC address(it’s all ZERO!)

The arp command shows output as following:


root@OpenWrt:/tmp# arp
IP address       HW type     Flags       HW address            Mask     Device
192.168.10.1     0x1         0x0         00:00:00:00:00:00     *        eth0.1
192.168.10.206   0x1         0x2         3c:xx:xx:xx:xx:e3     *        eth0.1
root@OpenWrt:/tmp# uname -a
Linux OpenWrt 4.14.107 #0 SMP Mon Mar 25 10:09:12 2019 mips GNU/Linux`

After I give it the corrct MAC address with ‘ip neigh’ command, it also fails when ping to gateway.

root@OpenWrt:/tmp# ip neigh change   192.168.10.1 lladdr 1C:xx:xx:xx:9B:xx nud permanent dev eth0.1
root@OpenWrt:/tmp# arp
IP address       HW type     Flags       HW address            Mask     Device
192.168.10.1     0x1         0x6         1c:xx:xx:xx:9b:xx     *        eth0.1
192.168.10.206   0x1         0x2         3c:xx:xx:xx:xx:e3     *        eth0.1

root@OpenWrt:/tmp# ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1): 56 data bytes
^C
--- 192.168.10.1 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss

My router type is newifi d2 and TL-WR2041n.
I am sure that it works fine with vlan-guest-network setting in previous version of OpenWrt.


Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing