Author
Message
schnee DD-WRT Novice Joined: 14 Apr 2019 Posts: 28
Posted: Mon Aug 19, 2019 19:12 Post subject: WR841ND host don't see each other on the LAN
Hi,
i have an issue on one of the TP-Link TL-WR841ND v12 running DD-WRT v3.0-r38132 std (12/28/1 . The router is configured as a 5 port switch following the istructions from https://wiki.dd-wrt.com/wiki/index.php/Switch
Everything works, but the hosts attached to the LAN ports can't reach each other. When i look at the ARP entries it is clear that they can't resolve the other host's MAC address:
Code: root@host1:~# arp
Address HWtype HWaddress Flags Mask Iface
router ether XX:XX:XX:XX:01:46 C eth0
host2 (incomplete) eth0
Any idea what could be wrong? _________________ ---
Schnee
Back to top
Sponsor
h8red DD-WRT Guru Joined: 28 Jun 2011 Posts: 580 Location: Vilnius, Lithuania
Posted: Mon Aug 19, 2019 22:25 Post subject: Re: WR841ND host don't see each other on the LAN
schnee wrote: Any idea what could be wrong?
Save these lines into administration/startup and reboot:
swconfig dev eth1 set enable_vlan 1
swconfig dev eth1 set apply _________________ [Ramips] Nexx WT3020F Openwrt @kernel #4.14.167 (OpenVPN server, Wireguard server, AD blocking, SQM QOS, USB)
Back to top
schnee DD-WRT Novice Joined: 14 Apr 2019 Posts: 28
Posted: Tue Aug 20, 2019 1:52 Post subject: Re: WR841ND host don't see each other on the LAN
h8red wrote: schnee wrote: Any idea what could be wrong?
Save these lines into administration/startup and reboot:
swconfig dev eth1 set enable_vlan 1
swconfig dev eth1 set apply
Thanks! Tried ti test the commands above in the router console, but i received an error:
Code: swconfig dev eth1 set enable_vlan 1
Failed to connect to the switch. Use the "list" command to see which switches are available.
Listed which devices are availabe:
Code: swconfig list
Found: switch0 - eth0
Should i change the eth1 to eth0? _________________ ---
Schnee
Back to top
kernel-panic69 DD-WRT Guru Joined: 08 May 2018 Posts: 14217 Location: Texas, USA
Posted: Tue Aug 20, 2019 8:49 Post subject:
schnee wrote: Should i change the eth1 to eth0?
Yes.
Back to top
schnee DD-WRT Novice Joined: 14 Apr 2019 Posts: 28
Posted: Tue Aug 20, 2019 11:46 Post subject: Re: WR841ND host don't see each other on the LAN
h8red wrote: schnee wrote: Any idea what could be wrong?
Save these lines into administration/startup and reboot:
swconfig dev eth1 set enable_vlan 1
swconfig dev eth1 set apply
Applied it with eth0 from the command line, but it did not help. Actually i was unable to reach any devices on the switch.
Before the change i see that all ports are in vlan 0:
Code: swconfig dev eth0 show
Global attributes:
enable_vlan: 0
mirror_monitor_port: 15
Port 0:
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
Port 1:
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:1 link:up speed:100baseT full-duplex auto
Port 2:
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:2 link:up speed:100baseT full-duplex auto
Port 3:
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:3 link:up speed:100baseT full-duplex auto
Port 4:
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:4 link:up speed:100baseT full-duplex auto
VLAN 0:
vid: 0
ports: 0 1 2 3 4
After the change:
Code: swconfig dev eth0 show
Global attributes:
enable_vlan: 1
mirror_monitor_port: 15
Port 0:
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
Port 1:
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:1 link:up speed:100baseT full-duplex auto
Port 2:
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:2 link:up speed:100baseT full-duplex auto
Port 3:
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:3 link:up speed:100baseT full-duplex auto
Port 4:
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:4 link:up speed:100baseT full-duplex auto
VLAN 0:
vid: 0
ports: 0 1 2 3 4
_________________ ---
Schnee
Back to top
schnee DD-WRT Novice Joined: 14 Apr 2019 Posts: 28
Posted: Tue Aug 20, 2019 11:55 Post subject: Re: WR841ND host don't see each other on the LAN
made a few more checks:
Code: nvram show | grep vlan.*ports | sort
size: 20872 bytes (44664 left)
vlan0ports=1 2 3 4 5*
vlan1ports=0 5
root@:~# nvram show | grep port.*vlans | sort
size: 20872 bytes (44664 left)
port0vlans=1
port1vlans=0
port2vlans=0
port3vlans=0
port4vlans=0
port5vlans=0 1 16
root@:~# nvram show | grep vlan.*hwname | sort
size: 20872 bytes (44664 left)
vlan0hwname=et0
vlan1hwname=et0
Maybe i have to move port 0 to the same vlan as port 1-4 or port 1-4 to the same vlan as port 0? _________________ ---
Schnee
Back to top
schnee DD-WRT Novice Joined: 14 Apr 2019 Posts: 28
Posted: Thu Aug 22, 2019 11:56 Post subject: Re: WR841ND host don't see each other on the LAN
Any suggestion? I am remote to the system, so a bit hesitant to experiment on my own _________________ ---
Schnee
Back to top
Per Yngve Berg DD-WRT Guru Joined: 13 Aug 2013 Posts: 6866 Location: Romerike, Norway
Posted: Sun Sep 01, 2019 9:28 Post subject:
What chip-set do you have? The V12 is not listed on Wikidevi.
Back to top
h8red DD-WRT Guru Joined: 28 Jun 2011 Posts: 580 Location: Vilnius, Lithuania
Posted: Sun Sep 01, 2019 11:10 Post subject:
It should be QCA9533-AL3A
https://openwrt.org/toh/tp-link/tl-wr841nd _________________ [Ramips] Nexx WT3020F Openwrt @kernel #4.14.167 (OpenVPN server, Wireguard server, AD blocking, SQM QOS, USB)
Back to top
Per Yngve Berg DD-WRT Guru Joined: 13 Aug 2013 Posts: 6866 Location: Romerike, Norway
Posted: Sun Sep 01, 2019 12:28 Post subject:
1) Disregard the NVRAM variables. They are only for Broadcom.
2) The WAN port is directly connected to eth1. You cannot assign it to switch.
3) Switch ports: 0=CPU, 1-4 is LAN 4-1 (in reverse order)
Back to top
schnee DD-WRT Novice Joined: 14 Apr 2019 Posts: 28
Posted: Wed Sep 04, 2019 1:15 Post subject:
Per Yngve Berg wrote: 1) Disregard the NVRAM variables. They are only for Broadcom.
2) The WAN port is directly connected to eth1. You cannot assign it to switch.
3) Switch ports: 0=CPU, 1-4 is LAN 4-1 (in reverse order)
Thanks! In my setup the WAN port is connected to the main router. Hosts on the switch ports (1-4) can't see each other. They can see everything else on the LAN and on the WIFI network.
This is the current bridign table: br0 no ath0 eth0 eth1 _________________ ---
Schnee
Back to top