Skip to content

Instantly share code, notes, and snippets.

@xk2600
Last active August 19, 2023 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xk2600/858746317a0c0a5721754db37846e564 to your computer and use it in GitHub Desktop.
Save xk2600/858746317a0c0a5721754db37846e564 to your computer and use it in GitHub Desktop.
Network Cable and Adapter Pinouts.md

Network Cable and Adapter Pinouts.md

RJ45 (8P8C) to RJ45 (8P8C) Patching Pinouts

RJ45 Plug and Port

   ______________________       _____________________
  ]\   \ \ \ \ \ \ \ \   \      ] / / / / / / / / [ [
  ] \   1 2 3 4 5 6 7 8   \     ] 1 2 3 4 5 6 7 8 [ [
  ]  \_____________________\    ]_________________[ [ 
  ]   ]  ________________  [    ]                 \ [
  ]   ]  [              ]  [    ]__________________\[
   \  ]  [ BACK OF PLUG ]  [    
    \ ]  [______________]  [   RJ45 (8P8C) FEMALE JACK
     \]____________________[
              \___[

Crossover Cable

Pin Fn TIA-568a TIA-568b Fn Pin
1 TX1 White-Green White-Orange TX1 1
2 TX1 Green C Orange TX1 2
3 RX1 White-Orange A White-Green RX1 3
4 Blue B Blue 4
5 White-Blue L White-Blue 5
6 RX1 Orange E Green RX1 6
7 White-Brown White-Brown 7
8 Brown Brown 8

Rollover Cable (TIA-568a)

Pin Fn TIA-568a TIA-568a Fn Pin
1 TX1 White-Green Brown 1
2 TX1 Green C White-Brown 2
3 RX1 White-Orange A Orange RX1 3
4 Blue B White-Blue 4
5 White-Blue L Blue 5
6 RX1 Orange E White-Orange RX1 6
7 White-Brown Green TX1 7
8 Brown White-Green TX1 8

Rollover Cable (TIA-568b)

Pin Fn TIA-568b TIA-568b Fn Pin
1 TX1 White-Orange Brown 1
2 TX1 Orange C White-Brown 2
3 RX1 White-Green A Green RX1 3
4 Blue B White-Blue 4
5 White-Blue L Blue 5
6 RX1 Green E White-Green RX1 6
7 White-Brown Orange TX1 7
8 Brown White-Orange TX1 8
     Data Terminating Equipment      Data Communications Equipment
       DB-9 Male - Pins Side           DB-9 Female - Holes side       
   _____________________________     _____________________________  
  ]  _________________________  [   ]  _________________________  [ 
  ] (                         ) [   ] (                         ) [ 
  ]  \   1   2   3   4   5   /  [   ]  \   5   4   3   2   1   /  [ 
  ]   \                     /   [   ]   \                     /   [ 
  ]    \   6   7   8   9   /    [   ]    \   9   8   7   6   /    [ 
  ]     \_________________/     [   ]     \_________________/     [ 
  ]_____________________________[   ]_____________________________[ 

Pin Fn Function
1 DCD Data Carrier Detect
2 RXD Receiving Data Line
3 TXD Transmitting Data Line
4 DTR Data Terminal Ready
5 GND In-cable Ground
6 DSR Data Set Ready
7 RTS Request to Send
8 CTS Clear to Send
9 RI Ring Indicator
GND Chassis Ground

RS232 DB9 Female to RJ45 (8P8C) Female Console Port Terminal Adapter

A rollover cable normally connects a Workstation to a router sonsole port. Notice that the paired wires are reflections of each other when looking at the structured cable (Cat5/6). Request-to-send and Clear-to-send are attached to pins 1 and 8, data set ready and data terminal ready to pins 2 and 7, transmit data and receive data are attached to pins 3 and 6, and pins 4 and 5 are used as RS-232 GND (low) signals. This allows creation of a null terminal cable (DTE to DTE) by simply rolling nall the wires from pins 1 through 8 on one terminal's end to pins 8 through 1 on the other terminals. This eliminates the need for the DCE equipment between the two DTEs.

This adapter hangs off the end of a rollover RJ45 console cable, so its intent is to adapt lines from the Console server (or controlling terminal) to a traditional server's DB-9 port (controlled terminal) as if it were the console port of a router or switch. The signals have already been converted by the rollover cable, so this is effectively a straight through adapter matching the pins on the DB-9 to thier arranged functions post rollover in the structured cable at the RJ45 (8P8C) male plug.

RJ45 Fn Color DB-9
1
1 CTS Blue 8
2 DSR Orange 6
*3 TXD Black 2*
*4 GND Red 5*
*5 GND Green 5*
*6 RXD Yellow 3*
7 DTR Gray 4
7 DTR Brown 4
8 RTS White 7
9
DB-9 Fn Color RJ45
1 DCD
2 TXD Black 3
3 RXD Yellow 6
*4 DTR Gray 7*
*4 DTR Brown 7*
*5 GND Red 4*
*5 GND Green 5*
*6 DSR Orange 2*
7 RTS White 8
8 CTS Blue 1
9 RI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment