0

I have two different computers on is having ADSL internet coming from other company and i also have 2 LAN cxards on that computer.

The other computer is getting internet via USB dongle.

Now as they both are in same room . Is there any way that i access the each others resource without going through internet. I mean by joining some cable

3 Answers 3

0

Add extra NICs to other computer too and connect them using cross-over cable. Use private addressing 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16 on the interface through which the computers are connected to each other. You should easily get 100mbps to gigabit connectivity and Internet wont get used.

2
  • I have extra NIC on computer 1 . but not on laptop . but i have router attached from LAN port of laptop. Can i join one of ethernet port of router with computer 1 LAN
    – John
    Nov 8, 2010 at 16:27
  • Yes joining router port with ethernet port of computer 1 would allow them to connect. Nov 9, 2010 at 11:13
1

Yes, it is possible to join the two computers with a cable. There are two things to think about:

  1. Type of Ethernet cable. You can connect the two computers with a crossover cable. This eliminates the need to use a switch or hub between the two machines. Note that some newer computers, including all Apple computers made within the past 4 years (possibly longer), do not require special crossover cables at all. They auto-detect when they are connected to another computer with a straight-through cable and perform the crossover automatically.

  2. IP address selection. You can set each computer to use a static RFC 1918 addresses (most typically 192.168.x.x), making sure that the two computers share a subnet. Or, if you leave DHCP enabled, the two computers are likely to come online with random APIPA addresses (169.254.x.x). Each computer will then have two IP addresses: the public one that it gets from its ISP (for internet access), and a private address for the dedicated link between the two computers.

0

if your two computer are on a lan, there should be no reason they can't contact each other. Providing that they are on the same subnet and do not have conflicting IPs

6
  • They are not on LAn , they have interent from different companies one on LAN port and other using USB mobile internet
    – John
    Nov 8, 2010 at 6:27
  • 1
    The easiest method is to create a vpn connecting the two sites, imo.
    – Matt
    Nov 8, 2010 at 6:31
  • 1
    I think this is a candidate for migration to SuperUser.
    – Skyhawk
    Nov 8, 2010 at 6:49
  • I was just thinking that, looking at the duplicate question here serverfault.com/questions/199228/…
    – Matt
    Nov 8, 2010 at 6:50
  • if i make the VPN then will my main internet will still work and i can access the files on share. Basically on one computer i am downloading movies using unlimited internet with slow speed and on other computer i am doing my office work with fast but limited internet. i just to watch the movies downloaded from computer one on computer2. As they are in same room . I just want the speed should be good like on LAN.VPN will make it slow as it will happen through internet
    – John
    Nov 8, 2010 at 7:25

You must log in to answer this question.