I've got a Linksys EA8500 with me, running KONG IPQ806X builds based on OpenWRT 19.07.
My university dorm room has ethernet wall jacks, and plugging my router in to it gives me a private IP (172.17.61.115/16) according to OpenWRT GUI.
The setup I want is:
WAN port (ethernet cable from wall jack for router to get internet access)
LAN port 1 (act as a switch for the wall jack, so let the dorm router hand out IPs through DHCP)
LAN port 2 (give me a 192.168.1.x IP from the EA8500 itself)
LAN port 3 (same as above)
LAN port 4 (same as above)
So essentially all I want is LAN port 1 to act like another ethernet wall jack in my room.
The dorm IT guys have allowed my PS4 through their very strict firewall, and since there's only one ethernet wall jack in the room, I don't want the PS4 to occupy that, but I also want to use my own router and not the crappy dorm WiFi.
If I just plug the PS4 in to the OpenWRT router without doing anything, I'll get a double NAT situation and that affects some games and voice chat.
This will make the LAN4 port on same physical network as the wall jack. Be mindful, sometimes the ports are numbered in reverse from the labeling on the device.
Updated the network config file, restarted the router and everything works perfectly.
LAN1 is connected to the PS4 and I tested it by trying to join a game, played for a minute or two to see if anything was lagging or acting weird, but all is well.
Remaining LAN ports are working as they should, giving me 192.168.1.x IPs.