Environment: I have a router (ASUS ROG GT-AC5300 x 1) in the middle of two switches (TP-Link TL-SG108E 4.0 x 2). The router's WAN port is connected to another router that provides Internet (out of scope). Both switches are on LAN ports. Computer 1 is plugged into switch 1. Computer 2 is plugged into switch 2. The ASUS router (not the Internet router) acts as a DHCP server and assigns dedicated IP addresses to both switches and both computers based on their MAC addresses. Everything is on the same subnet.
- Internet router (out of scope)
- Asus router (192.168.1.1/255.255.255.0)
- Switch 1 (192.168.1.2/255.255.255.0)
- Computer 1 (192.168.1.4/255.255.255.0)
- Switch 2 (192.168.1.3/255.255.255.0)
- Computer 2 (192.168.1.5/255.255.255.0)
- Switch 1 (192.168.1.2/255.255.255.0)
- Asus router (192.168.1.1/255.255.255.0)
Question: How do I configure my network to allow computer 1 to ping/RDP to computer 2? I can ping both switches from both computers, but I cannot ping/RDP to computer 2 from computer 1, or computer 1 from computer 2; seemingly because I need to configure my router to send requests for computer 2's IP through switch 2 and vice versa. I think I did this properly for computer 2 after a bunch of searching online by adding the following static route in my router (under "LAN" -> "Route" in its web GUI):
- Network/host IP: 192.168.1.5 (Computer 2)
- Netmask: 255.255.255.0
- Gateway: 192.168.1.3 (Switch 2)
- Metric: 2 (I don't really understand this but I tried empty and 2)
- Interface: LAN
However, after saving this route, turning off switch 2, powering off the ASUS router for 30 seconds, booting the router back up, and turning switch 2 back on, I am still unable to ping/RDP computer 2 from computer 1 (or even from computers plugged directly into the router and not another switch). I am at a loss. Any help will be greatly appreciated!