I'm a fairly descent veteran when it comes to networking. I don't do it professionally anymore so I usually can figure this stuff out. I'm at a total loss today.
What I have I am using a Linksys WRT1900AC v1 running OpenWrt 23.05.5 r24106-10cc5fcd00. Everything seems to be running normally on all lan ports and wifi. I needed to expand my switch so I purchased a TPLINK TL-SG108. For some reason I can't get the devices connected to the TPLINK to talk to the Linksys. So when I plug in my raspberry pi directly into the Linksys it works instantly and can reach the internet, I plug into the TPLINK with the TPLINK connected to the Linksys. there is no connection. Interestingly enough, each device on the TPLINK can talk to each other. I did switch out the TPLINK for another switch, thinking that maybe something is wrong with the switch. I also tried replacing all my cables and I even tried an old patch cable to see if that old issue had anything to do with it. I also tried a different port on the Links's.
It is almost like the Linksys can't read the MAC addresses on the TPLINK. I can tell this is the case because if I disconnect all the device on the TPLINK and only leave my Raspberry Pi the Pi can ping the router and Google just fine. So I am assuming I am missing some setting to allow multiple devices on one port.
Your tp-link switch is unmanaged, so it should be entirely transparent. Let’s review the router config to make sure there is nothing wrong there.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
I am removing about a dozen of the port forwarding settings from the response here. I don't think it's helpful and its to private.
{
"kernel": "5.15.167",
"hostname": "router.name.tdl,
"system": "ARMv7 Processor rev 2 (v7l)",
"model": "Linksys WRT1900AC v1",
"board_name": "linksys,wrt1900ac-v1",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "23.05.5",
"revision": "r24106-10cc5fcd00",
"target": "mvebu/cortexa9",
"description": "OpenWrt 23.05.5 r24106-10cc5fcd00"
}
}
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0.1'
list ports 'eth1'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
config interface 'PAYNEVPN'
option proto 'none'
option device 'tun0'
config interface 'vpn'
option proto 'wireguard'
option private_key ‘xxxxx’
option listen_port '51820'
list addresses '192.168.9.1/24'
list addresses ‘xxxx’
config wireguard_vpn 'wgclient'
option public_key ‘xxxxx’
option preshared_key ‘xxxxxx’
list allowed_ips '192.168.9.2/32'
list allowed_ips 'fdf1:e8a1:8d3f:9::2/128'
config device
option type 'bridge'
option name 'MYBRIDGE'
config zone 'lan'
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list device 'tun+'
option masq '1'
list network 'lan'
list network 'vpn'
config zone 'wan'
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
list network 'wan'
list network 'wan6'
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'
option enabled '0'
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option src_ip 'fc00::/6'
option dest_ip 'fc00::/6'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-MLD'
option src 'wan'
option proto 'icmp'
option src_ip 'fe80::/10'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-IPSec-ESP'
option src 'wan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option name 'Allow-ISAKMP'
option src 'wan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
Interesting. I have had this router working reliable for years and years. might be why it's old school. Would it be worth me starting complete from scratch?
Yes. As pointed out, you seem to have both swconfig and DSA config stanzas in the configuration you posted... this won't work and will be painful to cleanup properly.
Make a backup and use that as a human readable reference while you recreate your settings from scratch after a reset to defaults.
Honestly, it's best to recreate from scratch. Yes, you could probably copy the port forward settings, but it's also a good time to review everything to make sure you still want/need everything there, and there is always the chance that there will be an error carried over from the previous configuration. I recommend recreating from scratch.
Thanks for your time today. Seriously, this has stressed me out. I went ahead and refreshed the router, it's actually performing way better in general and the switch is interacting with my router now. I appreciate your help, I really do.