DEV Community

TAKUMI SUGATA
TAKUMI SUGATA

Posted on

Just Choose by Distance — A Simple Guide to Understanding Transceiver and Fiber Cable Compatibility

Introduction

While studying for CompTIA network+, I couldn't grasp the relationships between Transceiver and Fiber cable.
I could memorize 10GBase-SR uses MMF, but I didn't understand what is that.

Once I understood the structure, everything cleared up. So I decided to write it down.


Why optical fiber is needed

In my last post, I introduced LAN cables (copper cables), which have a limited range.

LAN cable → Max 100m
Optical fiber  → A few kilometers to tens of kilometers
Enter fullscreen mode Exit fullscreen mode

In an office use, it is enough to use LAN cable.
However, optical fiber is necessary for connections inside data centers or between remote locations over long distances.


What is Transceiver

Switches and routers handle electrical signals internally.
On the other hand, Optical fiber connects with optical signal.

Electrical signal → Transceiver → Optical signal → Fiber Cable → Transceiver → Electrical
Enter fullscreen mode Exit fullscreen mode

A Transceiver is a small module that plugs into a dedicated port called an SFP slot, found on switches and routers.


Switch
┌────────────────────────────────────┐
│ Port1  Port2  Port3  [SFP slot]    │
└────────────────────────────────────┘
                           ↑
                 Transceiver's port
Enter fullscreen mode Exit fullscreen mode

3 parts for connection

There are 3 essential parts involved in this type of connection.

1. Transceiver (Exchange module)
    This is inserted to Switch's SFP slot
    This plays a role for conversion between electric and light

2. Fiber Cable (Optical fiber cable)
    This is a cable itself to connect between Transceivers
    There are two kinds of MMF or SMF

3. Switch or Router 
    These devices have a dedicated port for Transceiver
Enter fullscreen mode Exit fullscreen mode

It is important to know that a single Transceiver alone is not enough- you need one at each end.

Switch A                                 Switch B
┌────────────┐                           ┌────────────┐
│ [SFP slot] │                           │ [SFP slot] │
│ Transceiver├─────── Fiber Cable ───────┤Transceiver │
└────────────┘                           └────────────┘ 
 ↑                                        ↑
Electrical signal → Optical signal      Optical signal → Electrical signal
Enter fullscreen mode Exit fullscreen mode

Understanding by familiar analogy

Transceiver is like HDMI conversion adapter for smartphone.

Smartphone (USB-C)
 ↓
Conversion adapter (USB-C → HDMI)← Transceiver
 ↓
HDMI cable ← Fiber Cable
 ↓
Conversion adapter (HDMI → other terminal)← another Transceiver
 ↓
TV
Enter fullscreen mode Exit fullscreen mode

Just as a smartphone can only handle USB-C natively, it can connect to an HDMI cable through an adapter. In the same way, a switch can connect to optical fiber through a Transceiver.


Fiber cable type

There are two types of optic fiber cables; MMF and SMF.

MMF (Multi-Mode Fiber)

Inside this cable, light proceeds with reflecting many times.

Images of cross section of the cable 

  ↗ ↘ ↗ ↘
→       →(Proceed with reflection)
  ↘ ↗ ↘ ↗
Enter fullscreen mode Exit fullscreen mode

The more reflections occur, the more the signal degrades.

Features
・Thick core(50〜62.5μm)
・For short distance(〜about 300m)
・Cheap
・Use in data center
Enter fullscreen mode Exit fullscreen mode

SMF (Single-Mode Fiber)

Inside this cable, light travels in a single straight path without reflection.

Images of cross section of the cable 
→→→→→→→→→→→→(Proceed straightly)
Enter fullscreen mode Exit fullscreen mode

This type of the cable is more stable, which makes it possible to use for long distance.

Features
・Thin core(9μm)
・For long distance(〜10km以上)
・Expensive
・Use between bases
Enter fullscreen mode Exit fullscreen mode

What is 10GBase-SR and 10GBase-LR

Transceiver has two kinds of SR and LR.
Understanding the naming structure eliminates the need for memorization.

10G  Base  SR
 │    │    │
 │    │    └ S = Short (Short distance)/ L = Long (Long distance)
 │    │      R = Fiber (Optic fiber)
 │    └ Baseband transmission
 └ 10Gbps(Communication speed)
Enter fullscreen mode Exit fullscreen mode
Standard Transceiver Fiber Cable Distance
10GBase-SR SR compatible module MMF 〜300m
10GBase-LR LR compatible module SMF 〜10km

The concept of how to use them differently

It is essential to understand that Transceiver and Fiber Cable must always be selected as a matching set.

✓ SR compatible Transceiver + MMF → correct
✗ SR compatible Transceiver + SMF → no function
Enter fullscreen mode Exit fullscreen mode

Decision making orders↓

1. Decide distance
  → short distance (inside data center) or long distance (between bases)

2. Select Transceiver
  → short distance = SR / long distance = LR

3. Match Fiber Cable
  → SR = MMF / LR = SMF
Enter fullscreen mode Exit fullscreen mode

Big picture

【short distance: e.g. inside data center】

Switch A
 └ SFP slot
   └ Transceiver(10GBase-SR)
     └ MMF(〜300m)
       └ Transceiver(10GBase-SR)
         └ SFP slot
           └ Switch B

【long distance :e.g. between bases】

Switch in Tokyo office
 └ SFP slot
   └ Transceiver(10GBase-LR)
     └ SMF(〜10km)
       └ Transceiver(10GBase-LR)
         └ SFP slot
           └ Switch in Osaka office
Enter fullscreen mode Exit fullscreen mode

Conclusion

I used to struggle with memorizing these concepts because I lacked a deep understanding of the structure. Transceiver and Fiber Cable are completely separate components. Once you understand that the choice is driven by distance requirements, everything falls into place.

Top comments (0)