Physical Layer Devices
Physical layer devices are the network devices that operate at the physical layer of the OSI model. Their main job is to carry, amplify, and forward signals. They do not inspect the content of packets; they only care about the physical properties of the signal.
1. Repeater
A repeater is the most basic physical layer device. It amplifies and forwards signals in order to extend the transmission distance.
1.1 How It Works
- Receive the signal: receive an attenuated signal from one end
- Amplify the signal: raise the signal back to its original strength
- Shape the signal: remove noise and restore the shape of the signal
- Forward the signal: send the processed signal out of the other end
1.2 Characteristics
Advantages:
- Extends the transmission distance
- Raises the signal strength
- Simple to implement and cheap
- Transparent transmission, so the data content is unchanged
Disadvantages:
- Cannot isolate collision domains
- Cannot filter noise
- Cannot connect different transmission media
- Shares the bandwidth
1.3 Application Scenarios
- Extending Ethernet: extends the transmission distance of twisted pair
- Fibre transmission: extends the transmission distance of optical fibre
- Wireless networks: strengthens weak wireless signals
1.4 Technical Parameters
Transmission distance:
- Twisted pair: 100 metres
- Optical fibre: 2-40 kilometres
Operating frequency:
- Determined by the transmission medium
Number of ports:
- Usually 2 ports
2. Hub
A hub is a multi-port repeater. It connects several network devices and produces a star topology.
2.1 How It Works
- Receive the signal: receive the signal from any port
- Amplify the signal: amplify the signal
- Broadcast and forward: broadcast the signal to all the other ports
- Detect collisions: detect collisions between signals
2.2 Characteristics
Advantages:
- Implements a star topology
- Connects several devices
- Cheap and easy to install
- Transparent transmission
Disadvantages:
- Shares the bandwidth
- Cannot isolate collision domains
- Poor security
- Low performance
2.3 Classification
By number of ports:
- 4-port hub
- 8-port hub
- 16-port hub
- 24-port hub
By transmission rate:
- 10Mbps hub
- 100Mbps hub
- 10/100Mbps adaptive hub
2.4 Application Scenarios
- Small local area networks: offices, home networks
- Temporary networks: conferences, exhibitions
- Test environments: network testing
3. How Physical Layer Devices Work
3.1 Signal Processing
Signal reception:
- Receive electrical or optical signals from the transmission medium
- Perform signal detection and synchronisation
Signal amplification:
- Use an amplifier to raise the signal strength
- Compensate for attenuation during transmission
Signal shaping:
- Remove noise and distortion
- Restore the original shape of the signal
Signal forwarding:
- Forward the processed signal to the output port
- Preserve the integrity of the signal
3.2 Collision Handling
Collision detection:
- Detect the case where several signals are transmitted at the same time
- Identify the colliding signals
Collision handling:
- Stop transmitting
- Wait a random time and retransmit
- Avoid the collision
4. Limitations of Physical Layer Devices
4.1 Functional Limits
No data filtering:
- Cannot filter data by MAC address
- Cannot filter data by IP address
- Forwards all data
No data routing:
- Cannot select a path based on the network address
- Cannot connect different networks
- Works only within one collision domain
No data conversion:
- Cannot convert between different transmission media
- Cannot convert between different protocols
- Handles only one type of signal
4.2 Performance Limits
Shared bandwidth:
- All ports share the total bandwidth
- The more ports there are, the smaller the bandwidth per port
- Unsuitable for high-bandwidth applications
Collision domain:
- All ports sit in the same collision domain
- A collision affects every device
- Network performance is affected by collisions
5. Choosing Physical Layer Devices
5.1 Factors to Consider
-
Number of ports
- Choose according to the number of devices to be connected
- Allow for future expansion
-
Transmission rate
- Choose according to the needs of the network
- Consider compatibility with the network interface cards
-
Transmission medium
- Choose according to the medium in use
- Consider the transmission distance required
-
Cost
- Choose according to the budget
- Consider the maintenance cost
5.2 Common Application Scenarios
Home networks:
- 4-8 port hub
- 10/100Mbps adaptive
- Twisted pair cabling
Small offices:
- 8-16 port hub
- 100Mbps or 1000Mbps
- Optical fibre or twisted pair
Test environments:
- Multi-port hub
- Supports several transmission media
- Convenient for network testing
6. The Evolution of Physical Layer Devices
6.1 Historical Development
Early networks:
- Devices connected with repeaters
- Bus topology
- Limited transmission distance
Modern networks:
- Devices connected with hubs
- Star topology
- Extended transmission distance
6.2 Trends
Intelligence:
- Smart hubs
- Automatic configuration
- Remote management
High performance:
- Gigabit hubs
- 10 Gigabit hubs
- Fibre optic hubs
More functions:
- Integration of other functions
- Support for many protocols
- Better compatibility
7. Maintaining Physical Layer Devices
7.1 Routine Maintenance
Hardware checks:
- Check the physical condition of the device
- Check the condition of the connectors
- Check the state of the indicator lights
Performance monitoring:
- Monitor signal strength
- Monitor collisions
- Monitor the transmission rate
Troubleshooting:
- Check the power supply
- Check the connecting cables
- Check the state of the ports
7.2 Fault Diagnosis
Common faults:
- The device fails to start
- Signal transmission is interrupted
- The transmission rate drops
- Frequent collisions
Diagnostic methods:
- Test with a tester
- Check the connection state
- Swap the device out to test
8. Comparing Physical Layer Devices with Other Devices
8.1 Comparison with a Switch
| Property | Hub | Switch |
|---|---|---|
| Operating layer | Physical layer | Data link layer |
| Data forwarding | Broadcast | Point to point |
| Bandwidth use | Shared | Dedicated |
| Collision domains | One | Multiple |
| Performance | Low | High |
| Cost | Low | High |
8.2 Comparison with a Router
| Property | Hub | Router |
|---|---|---|
| Operating layer | Physical layer | Network layer |
| Network connection | The same network | Different networks |
| Data filtering | None | Present |
| Routing function | None | Present |
| Security | Low | High |
