On my desktop computer running Windows 7 64-bit, I have two network ports. The port built into my motherboard is connected directly to my cable modem for internet access. The network connection in Windows for this port is set up to automatically acquire an IP address. The settings acquired look something like:
IP: 192.168.1.x Subnet: 255.255.255.0 Gateway: 192.168.1.1
The second port is on a Gigabit Ethernet card which connects directly to a second computer via crossover cable. The second computer is only networked via this connection. The network connection on my desktop is configured as:
IP: 192.168.2.1 Subnet: 255.255.255.0 Gateway: 192.168.2.2
And on the second computer, it's configured as
IP: 192.168.2.2 Subnet: 255.255.255.0 Gateway: 192.168.2.1
When I first set the connection up, the two computers were able to communicate fine. My desktop had internet access when I first set this up. No issues at all.
The second computer is usually shut down when not in use. Likewise, the desktop computer is put to sleep when I'm finished with it. The problem is that when my desktop turns on after I take it out of sleep, I lose all internet access. I can ping my router fine, or any other device on the network. If I boot up the second computer, I can RDP into it and ping it fine as well.
So my question is: what causes my dual-network desktop computer to lose internet access when I resume from sleep?