straight through cable or crossover cable between router and pc?

2

1

When I studied for the CCNA, I learned which devices should be connected using a straight through cable and which using a crossover cable. For example take this explanation for question one from a study site.

Group 1: Router, Host(PC), Server

Group 2: Hub, Switch

One device in group 1 + One device in group 2: use straight-through cable

Two devices in the same group: use crossover cable

Based on this I should use a crossover cable between a router and PC.

But, I have an Internet connection with a DSL router. In this scenario I'm using a straight through cable between my router and PC.

So this has me confused, why can I use a straight through cable between my DSL router and PC?

satheesh91

Posted 2014-07-24T17:54:53.740

Reputation: 211

1Most "routers" have both incoming (from the outside network) and outgoing (to local devices) connections. The latter are just like hub/switch ports. – Daniel R Hicks – 2014-07-25T03:07:48.850

Answers

6

Two reasons:

  • Your DSL router probably has an integrated (usually 4 port) switch (those 4 lan ports on the back side)
  • Most modern network cards support Auto MDI-X, so they can 'swap' the pin assignment (so you can use the "wrong" cable)

mulaz

Posted 2014-07-24T17:54:53.740

Reputation: 546

1i.e it's DSL modem-switch not a DSL modem-router – None – 2014-07-24T18:05:00.500

1It's a router because of its L3 functionality. It just has an internal switch in the unit for additional connectivity. – David Houde – 2014-07-24T23:47:03.570

1

If you are referring to the situation from back-in-the-day, with less ambiguous devices, and no auto-mdi(x) as a matter of academic inquiry, as it rarely matters today:

In summary: Routers (which are hosts) and workstations(etc) require straight-thru cables to connect to switches. Host-to-host connections require cross-over cables, as do switch-to-switch connections. Cross-over cables are not required to interconnect switches if one switch has a cross-over port. If both switches connect via two cross-over ports, a cross-over cable is then required.

Nevin Williams

Posted 2014-07-24T17:54:53.740

Reputation: 3 725

1

Most if not all devices now comes with auto sense network ports in which the logic of the signal get negotiated between the devices, probably in any popular piece of equipment shipped in last decade you can ignore if a cross patch is needed. As wrong cable was the most common source of issues for soho users, and as now most hw is powerful enough, you can assume autosensing is now a pretty much standard feature.

Dice9

Posted 2014-07-24T17:54:53.740

Reputation: 191