Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have two PC's with Windows 7 that connect to internet via WiFi. But when i want to transfer large amount of data between them, i connect both with a network cable.

When i do this, Windows assigns a crazy IP to each, and i can reach PC1 by typing PC2's ip on explorer, for instance: \\169.254.175.51

To find PC1's ip I open a cmd and type ipconfig /all, and locate the ip for the ethernet adapter. Then i have to mind this number and go to PC2 and type it.

This works very well but it's quite bothersome. I could assign a fixed ip to PC2, but then i would have to change this every time i have to connect it to a cabled network. I don't know if naming the computer would work, but i'm afraid the wireless connection would be used instead of the cabled.

So, is there an easier way of doing it?

share|improve this question
    
So long as you disable the wifi adapter when the cable is in use the name resolution should be fine - provided you have network discovery settings set - and you're assured of using the LAN instead of WiFi. –  Beeblebrox Aug 22 '12 at 3:55

1 Answer 1

Assign a static IP address to the network cards (10.0.0.1 and 10.0.0.2). Then put them in the same subnet (subnetmask 255.255.255.251). That should about do it.

NOTE: This assumes you aren't using a 10.0.0.0 network for your WiFi connections.

For more info (and pretty pictures) go here.

Just so you know, those crazy IP addresses are referred to as self assigned.

share|improve this answer
    
the problem with this is that sometimes i go to a place where there's only cabled internet available. so i would have to set the adapter to dhcp again, and then back when i want to crossover. –  bortao Aug 22 '12 at 22:51
    
If you want to be DHCP compatible with this other destination, you need to buy a router that has DHCP capability and put it between the two computers, then hook both computers to it. –  Everett Aug 22 '12 at 23:16
    
I assume that this answers the question? –  Everett Aug 24 '12 at 5:52
    
no, it's even ON the question itself "I could assign a fixed ip to PC2, but then i would have to change this every time i have to connect it to a cabled network." –  bortao Aug 27 '12 at 0:07
    
Then there is no answer for you. –  Everett Aug 27 '12 at 3:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.