0

Is it possible to configure an Oracle VitualBox guest settings such that is connected to host by a virtual cross-over cable?

1 Answer 1

1

Generally: Aside from being entirely obsolete, a "cross-over cable" is also specific to copper Ethernet wiring and makes absolutely no sense in virtualized networks. You just use a regular cable (or "cable").

In VirtualBox: You get a direct host↔guest connection by selecting "Attached to: Host-only adapter". (If there aren't any available host-only adapters, create one in Preferences → Network.)

(screenshot)


(…Okay, that's not 100% the same. The "host-only adapter" is a virtual switch, and by default VirtualBox runs its own DHCP server on it as well. But if you turn off DHCP in Preferences, then it is completely indistinguishable from a direct cable connection.)

2
  • Did you mean that if turn off DHCP in Preferences, then it is completely indistinguishable from a patch cable connection (not a cross-over cable connection)? Feb 17, 2015 at 15:46
  • @PHPLearner: Again, cross-over is just a hack to deal with copper Ethernet wiring. On a virtual network, you have no wires to cross over, so there's no "patch" vs "crossover" cable either; you just connect things. (Besides, even on real hardware, Auto-MDIX has been a thing for decades. Though, sure, I don't run a datacenter, just a tiny university network, so maybe I just never had a reason to care.) Feb 18, 2015 at 8:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .