Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Internet Sharing using Cross-Over cable



Internet Sharing using Cross-Over cable

Networking betwen two PCs
Published by aem
26 Dec 2009
Published by
aem's Avatar



Note   Note
What's this tutorial about...
This is a simple tutorial on how to setup a cable network of two PCs using a cross-over Cable.

information   Information

General Information
The tutorial is based on two laptops running Windows 7 and Windows XP.
It is assumed that you have the Windows 7 machine already connected to the internet.
The network is a wireless network, with broadband modem directly connected to a Linksys wireless router (WRT54G). The Windows 7 machine is wirelessly connected to the network.







Requirements
  • Two machines running Windows 7 and XP.
  • An ethernet cable (Cat 5 or 6).
How To:

Testing ports and cable connectivity.

1) Power on both Windows 7 and Windows XP machines and connect both with the ethernet cross- over cable.

2) From Windows 7, go to a command prompt and obtain ipconfig /all details. Mine looks like this.

3) Note from 1) the IP: 192.168.1.100, Subnet Mask: 255.255.255.0, Default Gateway: 192.168.1.1.

4) Log onto the XP Machine, in Properties of LAN, manually input the following IP settings (as per image). Leave all other settings unchanged. Click the Ok button to exit.
warning   Warning
The reason i chose 192.168.1.102, and not .101, is because Windows 7 will allocate .101 as the Bridging interface, if you set the IP to .101, you will get a conflict message, and process will fail.

5) From Windows 7 machine Network Connections, right-click on the LAN interface with the cross-cable attached, and input the following IP settings (as per image). Leave all other settings unchanged. Click the Ok button to exit.

6) Open up command prompts, and perform pingtests from one machine to the other. Don't forget to wait a few seconds from the IP settings to take effect. If successfull both machines should successfully ping one another.

Note   Note
At this stage you can RDP to either machine from the other, using the IPs you manually inputted. You can also create shares$ to share files betweenone the machine. The testing of the ports and cable is a success.


Obtaining Internet Access for the XP Machine

7) From Windows 7 Network Connections, located the two LAN connections (in this example one being the Wireless Network, the other the LAN between the two machines ie LAN of cross-over cable). Select the two, right-click and click Bridge Connections. Once the system finishes bridging the connections, a new LAN called Network Bridge is created as shown. Note: the highlightes are NOT what is used to bridge.

Note   Note
During bridging, the system will attempt to acquire network addresses. This may take time.



Final Step
8) Go back to Windows XP, in the tcp/ip Properites untick "Use the following IP Address". And re-select option "Obtain an IP address automatically.

9) After a few seconds of waiting for the system to refresh, you can now surt the net on your XP Machine.
Note   Note
This is one method of bridging connection as to share internet connections, which should work. I have checked and redo many times. I have not made any attempts to start any special services on either machines, nor installed or enabled any options.


Hope you find this tutorial each to follow.
26 Dec 2009   #1
ZeshanA

 

Nice one

ZeshanA

My System SpecsSystem Spec
26 Dec 2009   #2
aem

Windows 7 Ultimate 64Bit
 
 

Well after a couple of days of intense helping out people in the Network section, i thought i do the tut, just so they can have an idea of how it work...for me anyway

PS, if a mod or admin wants to make it look neater and nicer, pls proceed
My System SpecsSystem Spec
26 Dec 2009   #3
b4db0y

Windows 7
 
 

I am going to try this out....BTW thanks aem. May be make this tutorial sticky and open up an error/support to this thread elsewhere. This will make the post remain clean.

May be i'll post a video as soon as this works for me
My System SpecsSystem Spec
03 Jan 2010   #4
ratePV

Windows 7 SP1 x64
 
 

Excuse me but what if i want the opposite?
I want my 7 to have access through a XP machine?

Just do the same but on different machines?
My System SpecsSystem Spec
03 Jan 2010   #5
aem

Windows 7 Ultimate 64Bit
 
 

Quote   Quote: Originally Posted by ratePV View Post
Excuse me but what if i want the opposite?
I want my 7 to have access through a XP machine?

Just do the same but on different machines?
Have you tried it . My guttest feeling is it will. The principle idea is the same.
My System SpecsSystem Spec
03 Jan 2010   #6
ratePV

Windows 7 SP1 x64
 
 

Quote   Quote: Originally Posted by aem View Post
Quote   Quote: Originally Posted by ratePV View Post
Excuse me but what if i want the opposite?
I want my 7 to have access through a XP machine?

Just do the same but on different machines?
Have you tried it . My guttest feeling is it will. The principle idea is the same.
I am using a similar method:
Name:  network.jpg
Views: 3492
Size:  125.9 KB

But i haven't enabled "Obtain an IP address automatically" on my 7.
I will try it tomorrow because i currently cannot access the machine.
May i add that there is no suffix on the network and
Kaspersky and Nod32 are reporting attacks between these two machines!

Thank you for replying so fast


My System SpecsSystem Spec
03 Jan 2010   #7
aem

Windows 7 Ultimate 64Bit
 
 

Quote   Quote: Originally Posted by ratePV View Post


Kaspersky and Nod32 are reporting attacks between these two machines!

Thank you for replying so fast
I'm a fast replier

Are they getting attacked becos they are connecting two Pcs using cross-over cable? If so, how can? the point of entry for hackers is thru your existing network, not becos of cross-cabling.
My System SpecsSystem Spec
03 Jan 2010   #8
ratePV

Windows 7 SP1 x64
 
 

Quote   Quote: Originally Posted by aem View Post
Quote   Quote: Originally Posted by ratePV View Post


Kaspersky and Nod32 are reporting attacks between these two machines!

Thank you for replying so fast
I'm a fast replier

Are they getting attacked becos they are connecting two Pcs using cross-over cable? If so, how can?
Its a crazy story actually...
The Nod32 Smart Security on the 7 machine is
detecting DNS cache poisoning attack from the xp machine(ip 192.168.0.1)
And the XP machine with Kaspersky is detecting Scan.Generic.UDP
from the 7 machine (ip 192.168.0.2)
My System SpecsSystem Spec
03 Jan 2010   #9
aem

Windows 7 Ultimate 64Bit
 
 

Crazy indeed. The Xp machine in this tutorial only has LAN network access via Windows 7. If there are any unusual activities on it, then it would have been also for Windows 7. They go thru the same network and so share the same risks. I would suggest better securing the network first before looking into individual machines.
My System SpecsSystem Spec
Comment

 Internet Sharing using Cross-Over cable




Tutorial Tools



Similar help and support threads for2: Internet Sharing using Cross-Over cable
Windows 7 Tutorial Category
Can't connect my WinXP PC to win 7 using cross over cable. :( Network & Sharing
Sharing the cable internet via wireless to my phone Network & Sharing
Sharing cable internet service Network & Sharing
Why is a cross shown between Network and Internet? Network & Sharing
Share internet connection via cross over cable ? Network & Sharing
Cross Computer Internet Messanger worth looking at! Software
10 meters long for cross cable ? Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:42 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33