Jump to content

Why cant you just eliminate the need for a switch?

The Manley Man

Why cant you just eliminate the need for a switch and plug two computers directly with one Ethernet wire?

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, The Manley Man said:

Why cant you just eliminate the need for a switch and plug two computers directly with one Ethernet wire?

you can

Link to comment
Share on other sites

Link to post
Share on other sites

You can.

 

It's just that back in the day, there was an issue with computers using the reverse pinout compared to switches and routers. So you couldn't with a regular Ethernet cable, you needed a loopback cable. Now, Ethernet ports on computers should be smart enough to figure which pin layout to use. No guarantees if this is universal, so you should get a loopback cable or a coupler that does the job.

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, The Manley Man said:

Why cant you just eliminate the need for a switch and plug two computers directly with one Ethernet wire?

So packet data goes to the destined system rather than both.

Intel® Core™ i7-12700 | GIGABYTE B660 AORUS MASTER DDR4 | Gigabyte Radeon™ RX 6650 XT Gaming OC | 32GB Corsair Vengeance® RGB Pro SL DDR4 | Samsung 990 Pro 1TB | WD Green 1.5TB | Windows 11 Pro | NZXT H510 Flow White
Sony MDR-V250 | GNT-500 | Logitech G610 Orion Brown | Logitech G402 | Samsung C27JG5 | ASUS ProArt PA238QR
iPhone 12 Mini (iOS 17.2.1) | iPhone XR (iOS 17.2.1) | iPad Mini (iOS 9.3.5) | KZ AZ09 Pro x KZ ZSN Pro X | Sennheiser HD450bt
Intel® Core™ i7-1265U | Kioxia KBG50ZNV512G | 16GB DDR4 | Windows 11 Enterprise | HP EliteBook 650 G9
Intel® Core™ i5-8520U | WD Blue M.2 250GB | 1TB Seagate FireCuda | 16GB DDR4 | Windows 11 Home | ASUS Vivobook 15 
Intel® Core™ i7-3520M | GT 630M | 16 GB Corsair Vengeance® DDR3 |
Samsung 850 EVO 250GB | macOS Catalina | Lenovo IdeaPad P580

Link to comment
Share on other sites

Link to post
Share on other sites

In the 10 mbps and 100 mbps network card days, in order to connect two computers together you needed to create a crossover cable. Basically, the pairs of wires that transmit data and the pairs of wires that receive data are switched at one connector:

 

crossover.png.5a2ef5af40067fa4e8ae19c21f2207a2.png

 

The above is for 100mbps or lower only, 1gbps and higher cards use all four pairs, so in theory all four pairs of wires must be switched on one connector, not just two.

 

Modern 1 gbps and 10 gbps network cards have circuitry inside them which auto detects how the cable is constructed, if it's pass through (regular, like you find in stores)  or cross over so if you're connecting the other end of the cable into a computer and you're not using a cross-over cable, the network card will automatically correct itself  and will switch the pairs of wires by itself in order to create the crossover cable.

 

So a plain ethernet cable is enough to create connection between computers. All you have to do is make sure each computer has an unique IP (there are IP classes which can be used for this, like 192.168.0.x  where x is from 1 to 254)  and the same subnet mask ( 255.255.255.0 is the classic)

 

PS. And before RJ45 (the jacks you see in the picture), there were 10 mbps network cards with BNC connectors.  With those, you would install a T on each card and you'd have coaxial cable between the cards and a 50 ohm "terminator" at the other end of each "T" :

 

440px-BNC-Technik.jpg.aea64945d75a4c981262f4aa4d61b432.jpg10base5_bnc_connector_aiu_dix.jpg.37115586b45e30e57b8e16210f8c4025.jpg

 

Those days were fun, if one connector was loose, or someone pulled out the terminator from one end, then the whole network would fail... and everyone shared the 10mbps of bandwidth

Link to comment
Share on other sites

Link to post
Share on other sites

You can... There is no need for a switch if you're just going to connect two computers.

 

On 2017-10-18 at 7:30 AM, .spider. said:

The main reason for a switch is the elimination of collision domains.

 

https://en.wikipedia.org/wiki/Collision_domain

If we're going to be pedantic, a switch actually increases the number of collision domains compared to for example a hub (in a sub 1Gbps network). More domains, but smaller.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×