Networking Connection Question

So I am using a program called WebODM

Its not important but in my setup I have 2 laptop compters side by side in an upstairs room

one laptop is less powerful and is used as a server

the other laptop is more powerful and is used to run a compute module

so…

the server sends files to the compute and the compute sends it back

the problem is the router is downstairs so they communicate via wifi

this is inefficient as the packets go down via wifi and back up by wifi

this cloggs the bandwith and is slow

so I wanted to connect the two laptop via an ethernet cable

I have watched some video on this but the problem is the computers would be on a different network so the ip addresses would be different.

I also connect to the server from another computer via wifi

I am thinking i will have to reset the compute module to the ethernet subnet

I am wondering if anyone knows if this is the best or only way or if a better way exists to keep them all on the same network

thanks!

yes, putting them on their own wired subnet is the way, and it wont break the wifi side. give each ethernet port a static address in a subnet your router doesnt use, leave gateway and dns blank on the ethernet side so wifi keeps the default route, and point webodm at the compute laptop’s ethernet address. traffic to that subnet goes over the cable automatically, everything else still goes out wifi.