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 am running 2 computers.

Each have a WIFI connection to the router (other location in the house) which provides internet.

I would like now to directly connect those 2 computers via their Gigabit Ethernet card to provide fast file transfers between each computer because WIFI is too slow. The router is located too far to connect cables to also so I must use direct connection.

Computer 1 has Windows 2008 R2 (not running DNS server) Computer 2 is using OSx Mavericks

I have already successfully made direct connections where I have given below info to computer 1: IP: 192.168.2.1 / SUB: 255.255.255.0 and the rest I left empty, computer 2: IP: 192.168.2.2 / SUB: 255.255.255.0 and the rest I left empty.

But... this is the issue here... sometimes the internet stops working on either of them because for some reason a computer started thinking the internet should come from LAN and as such ignoring the WIFI internet connection.

I would like to know how I correctly should set up the computers LAN settings so I don't get interruptions on my WIFI internet.

share|improve this question
    
In fact, it seems you set it up correctly. How do you know it "started thinking the internet should come from LAN"? –  LogicDaemon Feb 25 at 18:45

2 Answers 2

This is a common problem with multi-homed machines (IP addresses on multiple subnets). The simplest solution is to assign (unused) IP addresses from the Wi-Fi subnet to the wired connections, using the same default gateway and subnet mask.

share|improve this answer
    
I am not sure but above answer seems to be worked. Please let me know if it works. –  rebel May 13 at 6:01

If there is no gateway set up, I see no reason it would act so.

But if there is gateway, then put big number (like 8000) to Metric (it's under Advanced in Windows, dunno in OS X), so this gateway priority will be low, and it won't be used to route internet traffic unless there is no other gateway.

share|improve this answer

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.