How-To Ethernet
Description
The Pi-Tron CM5 has two ethernet ports which allows the user to have two independent network interfaces on the Pi-Tron CM5 to work with. The Raspberry Pi Compute Module 5 comes with its own pre-set MAC address which is specific for the Raspberry Pi Foundation and thus allows every Raspberry Pi Compute Module 5 on a network to be identified as such.
The ethernet ports of the Pi-Tron CM5 have the following details:
| Description | OS Name | Speed | Printed Label | Position (front view) |
|---|---|---|---|---|
| First ethernet port | eth0 | 1 GBit | LAN 2 - X20 | left |
| Second ethernet port | eth1 | 100 MBit | LAN 1 - X21 | right |

Every Pi-Tron CM5 (only BL models) has a label which shows the MAC address assigned to the device by Kontron Electronics which is used as the MAC address for eth1. The label also has a barcode or data matrix code, which can be scanned with a smartphone for example.
Look for a label like this:

Requirements
- No Requirements
How-To
- No How-To available
Restrictions
- No known restrictions
Related documentation
- Covering all aspects of the Raspberry Pi, the official documentation: https://www.raspberrypi.com/documentation
- Raspberry Pi OTP Register documentation: https://www.raspberrypi.org/documentation/computers/raspberry-pi.html#otp-register-and-bit-definitions
- ifconfig command manual page: https://man7.org/linux/man-pages/man8/ifconfig.8.html
- Debian reference documentation, Chapter 5. Network setup: https://www.debian.org/doc/manuals/debian-reference/ch05.en.html
- Setting a static IP address: https://www.raspberrypi.com/documentation/computers/configuration.html#static-ip-addresses