More information required; presume you're using a wireless router - make and model? Sounds as though it's only giving out a single IP address or both machines are set to static IPs. Any changes in software on either machine recently?
Surface Pro (2017) vs Surface Pro 4
20 groundbreaking 3D animation techniques
How to mine Bitcoin on Mac
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.