I'm a developer (but not a network guy) and I often need my MacBook Pro and PC working together to do mobile apps coding/debugging.
As of late, on my home network, my Mac has started to get an IP address on the wrong net (192.168.0.X). The Mac and PC is connected to the same switch but the PC gets IP 192.168.2.X, which is correct. I've tried specifying the router on the Mac as 192.168.2.1 but it still gets a 192.168.0.X address.
I'm out of ideas and would love any hints at what might be going on (and how to correct it).