Direct cable NIC to NIC
-
- Posts: 3
- Joined: 3. Jan 2018, 18:20
Direct cable NIC to NIC
Is there a way to emulate a direct crossover cable connection from one NIC of a VM to another NIC of a second VM?
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Direct cable NIC to NIC
Select the internal network adapter for both machines and make sure they both use the same "name" adapter.
-
- Posts: 3
- Joined: 3. Jan 2018, 18:20
Re: Direct cable NIC to NIC
Isn't that like connecting both interfaces to a internal network with a bridge/switch?
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Direct cable NIC to NIC
With a switch yes. What's the difference? A "crossover cable" is logically just a switch, except it can only have two connections. The things that make a cable different from a switch are not relevant to something not made of physical wires.
Ps. If I'm not mistaken, ethernet cables are balanced pair transmission lines, so you don't ever cross them over.
Ps. If I'm not mistaken, ethernet cables are balanced pair transmission lines, so you don't ever cross them over.
-
- Posts: 3
- Joined: 3. Jan 2018, 18:20
Re: Direct cable NIC to NIC
That makes sense. Thank you!
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Direct cable NIC to NIC
You used to have to, otherwise they wouldn't work. The NICs couldn't figure out the pairing. We used to have specially labelled, handmade cables that were used for PC-to-PC/instrument connections. The "normal" ones wouldn't work. I've made several of them...mpack wrote:Ps. If I'm not mistaken, ethernet cables are balanced pair transmission lines, so you don't ever cross them over.
If I'm not mistaken the first computer that I encountered that could figure the pairing was my first MacBook, way too many years ago...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Direct cable NIC to NIC
I've never needed to study the Ethernet cabling standards, but it certainly has all the hallmarks of a balanced pair, i.e. only two wires for a start (not two wires plus ground), and line terminators, and the distance they can go. Perhaps there's some reason why you'd want to distinguish between the nominal + and the nominal -, for idle/carrier detection perhaps.
Edit: Or perhaps there are pullups/pulldowns that need to observe the correct polarity. |
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Direct cable NIC to NIC
I was about to reply "I vaguely remember something about orange and green" (not the red/blue that you see on the movies), when I decided to search for a reference. And lo and behold, my memory is still functioning
https://en.wikipedia.org/wiki/Ethernet_ ... le_pinouts
https://en.wikipedia.org/wiki/Ethernet_ ... le_pinouts
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Direct cable NIC to NIC
...and if you look a few lines up in your Wikipedia link you will see that crossover cabling is no longer relevant with gigabit Ethernet / 1000Base-T because of Auto MDI-X
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Direct cable NIC to NIC
Weird. Am I totally imagining having ever seen Ethernet carried over coax? In which case it couldn't possibly have more than two cores, and maybe a shield. I'm probably remembering something ancient.
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Direct cable NIC to NIC
Not at all! I remember those too from my student years, 8086/80286 era. https://en.wikipedia.org/wiki/Ethernet_over_coaxmpack wrote:Am I totally imagining having ever seen Ethernet carried over coax?
That would be correct; 80's. Look at the history section in the link above...mpack wrote:I'm probably remembering something ancient.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Direct cable NIC to NIC
Ah the good old days. I have strung miles of coax and still have the scars on my fingers from putting the ends on. Neat concept that is still in use today only in a larger concept ( think cable companies ). In the old days 10Mb was the best you could get and was limited in the amount of machines and distance, but for small offices it worked flawlessly. There is still one protocol that is older though.
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Direct cable NIC to NIC
You're one lucky man. I was getting errors at 2400 bps! (remember those?)Perryg wrote:In the old days 10Mb was the best you could get
ARCnet maybe? Other than that is snail mail and of course... pigeons!Perryg wrote:There is still one protocol that is older though.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Direct cable NIC to NIC
Yeah I do remember and sold/installed my share of modems, but the first network I built used rs232 and you were lucky if you could sustain anywhere near 2400bps but it did allow for connectivity and better than a floppy for getting data between various machines. Don't even get me started with tty machines. I totally hated them.