mgmont
Group: Members
Posts: 77
Joined: April 2005 |
|
Posted: Aug. 12 2005,22:16 |
|
After you get the hardware side connected properly, you need to configure the ethernet drivers with static IP addresses that are unique but in the same subnet. The example that I will give you is a series of numbers separated by periods. The first three numbers identify the subnet and the last number is a unique machine identifier with in the subnet.
I would suggest addresses in the range of 192.168.1.1 through 192.168.1.254 where only the last number of the group is different. For instance, one pc could have an address of 192.168.1.5 and the other could be 192.168.1.10 just as long as the last number of the group is different and the rest of the group is the same. There is also a thing called subnet mask which you need and for the examples that I gave, that would be 255.255.255.0 and this must be exactly the same for both machines.
Once you have this set up, you can test your connectivity by opening up a terminal window and type "sudo ping 192.168.1.5" (without the quotes) from the machine that you set up as .10 and do the same from the machine set up as .5 but change the ping address to point to .10. You should see a series of replys from the opposite machine if they are talking to each other.
At this point you should be good to go. Just load up what ever software you want to use to communicate. For instance, you can run monkey web server on one machine and browse it from the other by typing the monkey machine's IP address into the url line of the browser.
I hope this helps.
Just a side note. When you are connected to a normal network, you usually do not have to go through all this. You just set the drivers up for something called DHCP and when you boot up, all this is automatically filled in by a machine on the network called a DHCP server. But in the case where you are connecting two computers back to back of course there is no DHCP server.
|