Its so easy
Use a network splitter.Your console will notice the power loss in the Ethernet cable if you use the switch directly attached to the console and with power lose it will disconnect you.
With the network splitter you plug the switch between the router and network splitter and then put a Ethernet cable from you network splitter to console.
Network splitters are around £10 on ebay
Oh and long ethernet cable's do not work.The data travels so fast it will make no difference that is noticeable