Connecting Via ethernet Cable

rjohnsonjr
rjohnsonjr used Ask the Experts™
on
Is it possible to connect 2 computers together via 1 ethernet cable going in to each nic?


Thanks

Randy
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Of course, you must make a crossover cable.
pin 1 to pin 3
pin 2 to pin 6
pin 3 to pin 1
pin 6 to pin 2

The other pins are no necesary.

good luck!!!
Commented:
yeah and it's easy too.
definitely make sure the cable is crossed over.

and if the computers are from win98 to 2000 (not sure about 95)
you should be able to just plug in, boot, and them see each other

works great playing games

ps. oh if it's xp, and you are wanting to share files you'll have do a little tcp/ip config
or install NETBUI on the xp machine (thats what i ended up doing on my laptop)

have fun



Author

Commented:
Do I do that by buying a cable and taking it apart?   Not sure how to go about it.

Randy
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

Commented:
no, it will say on the package if it's crossed over,
most are

Author

Commented:
Most ethernet cables are crossed over or Do I have to buy a special cable?

Randy

Commented:
-- most Ethernet cables are "straight through"

-- look at a standard cable you already have...  point it at the ceiling, with the pins facing you
-- pin 1 is on the left, pin 8 is on the right

standard pinout (both ends)
1-white/orange
2-orange
3-white/green
4-blue
5-white/blue
6-green
7-white/brown
8-brown

-- for a crossover, the pin out above is correct
-- you will need a RJ45 crimp tool and new plugs to make it yourself...  even Home Depot has them now :-)
-- you can buy it at your local cmputer shop as well (make sure it says crossover)

Ethernet runs on pins 1,2,3, and 6

inet²
when u cross over the cable , you need to use same pair for pin 1, 2. this is transmit  pair.
so if you connect say orange to pin 1, connect orange/white to pin2. follow same rule for pin 3 and 6..
Randy,

You can simply buy an Ethernet crossover cable at best buy.

Crossover cables have different pinouts on each end.

One side will have the pinout that inetinet mentions above:

1-white/orange
2-orange
3-white/green
4-blue
5-white/blue
6-green
7-white/brown
8-brown

The other side will have the following pinout

1-white/green
2-green
3-white/orange
4-blue
5-white/blue
6-orange
7-white/brown
8-brown

Notice that the orange and green pairs are reversed.  This allows for the transmit pins from one NIC to go directly to the recieve pins on the other NIC and vice versa.

Crossover cables are usually colored differently on the jacket than standard patch cables when purchased pre-fabbed through a retail store (bright orange, bright red, etc).

I suggest using TCP/IP on your network so that you will be ready to get to the internet if you decide to in the future using NAT on a firewall/router.  Besides, if you are using XP NetBEUI is not supported anyway!

The following is pretty standard:

Computer 1:
IP Address 192.168.0.2
Subnet Mask 255.255.255.0

Computer 2:
IP Address 192.168.0.3
Subnet Mask 255.255.255.0

You can leave the gateway and DNS fields blank if you are in a private network that is not connecting to the Internet.

-------------------------

Notice that I did not start your computer IP assignments with 192.168.0.1... When you are ready to connect to the Internet, you can assign your firewall/router (or DSL/Cable modem) the following on its LAN interface:
IP Address 192.168.0.1
Subnet Mask 255.255.255.0

You would then have to assign the two computers a gateway that matches the IP of the firewall/router:
Gateway 192.168.0.1

You would also assign an IP to the DNS field as provided by your ISP; this IP will NOT start with 192.168.0.x

See?  It's all very simple ;)

If you need help statically configuring the IP addresses, give a shout.

Netelligen

Author

Commented:
How fast is the connection from 1 nic to another?   If they both have a 10/100 card will they get 100?


Thanks

Author

Commented:
ok I bought the ethernet crossover cable.   Will let you know how it goes.

Randy
Commented:
Randy - one suggestion:  you can lock down the port speeds of both network cards to 100mbps, full duplex - so that way they are not trying to autonegotiate their speeds.  Network Neighborhood -> Right Click -> Properties -> Local Area Connection -> Right Click -> Properties -> Configure button -> Advanced Tab -> Look for the speed (aka media type) and duplex mode.
inet²

Author

Commented:
It connects great!   I thank you for your help.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial