Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
openwrt-bot opened this issue Apr 2, 2019 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

siwind:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant