Emulate a crossover cable

I was thinking the other day. The thoughts were mostly irrelevant, but one of them caught my attention. Could I use one of my many spare lan cables as a crossover cable?

That would allow me to double the size of my network…

Is it possible?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sure… in a properly-wired cable swap the orange and green pairs
(solid for solid, stripe for stripe). You’ll need a crimper and a new
end for your cable, though. Crimpers can be expensive… rj45 ends are
really cheap.

Good luck.

Joban wrote:
> I was thinking the other day. The thoughts were mostly irrelevant, but
> one of them caught my attention. Could I use one of my many spare lan
> cables as a crossover cable?
>
> That would allow me to double the size of my network…
>
> Is it possible?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIs03G3s42bA80+9kRAnlXAJ4/x/cN/yfF1G/FS/eqMX3JE4vivwCghCC5
zwc6cLdlAJntxmd+WNxb9Ic=
=fM9F
-----END PGP SIGNATURE-----

Wow, that was a speedy reply!

How’s about doing it with software rather than playing with the physical cables. I want to spend exactly $0 on this, and I wish to waste as much time as possible trying :slight_smile:

Ready-made crossover cables start at $2 to $3 for short lengths. You can even get them at variety stores now. How much is your time worth?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hmmm… I’m not quite that good w/ifconfig or the ‘ip’ command…
'fraid I can’t really help you there. If possible it may be a quick
hack, but I’d be inclined to just crimp a new end (if I could borrow
crimpers and spend $0.10 on a connection) or buy a crossover cable as
cheaply as possible.

Good luck.

Joban wrote:
> Wow, that was a speedy reply!
>
> How’s about doing it with software rather than playing with the
> physical cables. I want to spend exactly $0 on this, and I wish to waste
> as much time as possible trying :slight_smile:
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIs1NL3s42bA80+9kRAkPeAJ0WjcGP24fBsKd3AGf+o7r9bKlQZQCePe15
vhuIpkb7c9U7CZM1g7nNlJA=
=WDA/
-----END PGP SIGNATURE-----

I just thought it would be fun to give a go, but I have no idea where to start, as I really don’t know much about how networks work (I mean sure I can set up a home/office network, but I have no idea how they actually WORK). I also thought it could be an interesting learning curve.

That said, I don’t know if it is even possible, and if it is a driver-level hack, I won’t have a chance.

It’s a hardware thing. A crossover cable swaps the transmit and receive pairs so that the NIC1’s transmit pair is connected to NIC2’s receive pair, and similarly for the other two pairs. There’s no way a software driver can compensate for a transmit pair going into a transmit pair and a receive pair going into a receive pair. There would simply be no communication.

Having said that, lots of Ethernet switches autosense the polarity and handle both straight through and crossover. But that’s for switches. Unless specifically stated, NICs generally don’t have this capability. See here:

Medium dependent interface - Wikipedia, the free encyclopedia

Bah. That’s a shame. At least I did learn something though!

Cheers all.

Joban schrieb:
> How’s about doing it with software rather than playing with the
> physical cables.

Nope. Not possible. Software cannot rewire hardware if the
hardware hasn’t been designed for that.

There are autosensing switches which can automatically swap
the wires if they detect two ports being connected by a straight
cable where a crossover cable should have been used. But that’s
hardware, too. If it isn’t there, it cannot be called into
existence by software.

HTH
T.


Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

On Tue, 2008-08-26 at 00:46 +0000, Joban wrote:
> Wow, that was a speedy reply!
>
> How’s about doing it with software rather than playing with the
> physical cables. I want to spend exactly $0 on this, and I wish to waste
> as much time as possible trying :slight_smile:

The answer is NO. Choices…

  1. Buy a crossover cable.
  2. Buy a crossover adapter.
  3. Switch to gigabit and be free!
  4. etc…

This is probably a terrible hack, but I’ve done it before in a pinch…

Carefully cut the shielding in the middle of the cable, cut the wires and cross them manually, then insulate with tape (I had a soldering iron handy). I think you have to swap 2 pairs if I remember correctly. Keep the cables connections as short as possible and use a short network cable - I had problems getting longer cables to work.

Like I said… This is a terrible hack and is not recommended unless you are desperate!! Besides… you can pick up crossover cables for £1 if you shop around!