should work just fine.
so long as both machines are on the same subnet, you won't get into any routing issues to worry about.