goto network connections screen from control panel... On the sidebar there should be an option to "Setup a Home or Small Office Network" Keep clicking Next until you have to pick how your setting up your network,
- On one of the computers Pick the 1st option (if one of the comptuers has internet, choose this option on that comptuer)
- On the other computer pick the 2nd option
Keep clicking next..... After the setup finishes, just tell it to end the wizard without making a network disk or whatever.....
RULE 1 : Make sure the computers DO NOT HAVE SAME NAME... RULE 2 make both computers part of the same WORKGROUP plug in the cable and reboot the machines , if needed go to the properties of your network adapter and force ip address's if needed something like ie: 192.168.1.1 and 192.168.1.2
When you run network wizard to set up your connection between the two computers, it'll ask you how to connect to the internet as well. You just need to nominate which of the two machines will be connecting directly to the internet and which one is to be connected via LAN.