rmvmotion
Posts: 4
Joined: Sat Dec 29, 2018 4:47 pm

CM4 TWO Ethernet Port

Sun Jul 18, 2021 6:42 pm

We need to use CM4 with two Ethernet ports to support different automation protocols.
Is any application samples or suggestions to incorporate two Ethernet ports.
I wonder how I get more detail on the processor BCM2711 in peripherals description Ethernet Interface was omitted .
Albert

User avatar
pasman1
Posts: 214
Joined: Mon Aug 10, 2020 3:01 pm
Location: Poland

Re: CM4 TWO Ethernet Port

Sun Jul 18, 2021 6:47 pm

Pi4 RaspbOS 64+LXQT, linux 5.10.52-v8

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 29314
Joined: Sat Jul 30, 2011 7:41 pm

Re: CM4 TWO Ethernet Port

Sun Jul 18, 2021 6:48 pm

The Bcm2711 only has one set of ethernet port hardware,so you would need to add another port via, probably, USB.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Working in the Applications Team.

User avatar
Gavinmc42
Posts: 6044
Joined: Wed Aug 28, 2013 3:31 am

Re: CM4 TWO Ethernet Port

Mon Jul 19, 2021 7:06 am

SPI and PCI too.
https://www.microchip.com/en-us/product ... ontrollers

What speed Ethernet?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

rmvmotion
Posts: 4
Joined: Sat Dec 29, 2018 4:47 pm

Re: CM4 TWO Ethernet Port

Sun Jul 25, 2021 6:19 pm

Thank you very much to all for the answers.
Albert

rmvmotion
Posts: 4
Joined: Sat Dec 29, 2018 4:47 pm

Re: CM4 TWO Ethernet Port

Sun Jul 25, 2021 6:38 pm

In regards to the Speed we Need 1Gb Ethernet, Seems we sould implement via PCIe to get this speed ,
Do you recommend a controller that will be inetrface via PCIe >
Albert

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 29314
Joined: Sat Jul 30, 2011 7:41 pm

Re: CM4 TWO Ethernet Port

Sun Jul 25, 2021 8:09 pm

I'm asking around to see if there is such a thing as a dual ethernet PCIe chip. Apparently there is, but I don't know any part numbers. Can also get more ports.

However, I suspect that even if you find such a device, getting hold of them in quantity is unlikely given the current chip shortages, some stuff is currently on 52wk lead times.

Edit: Something like this, you'll need to find out what chipset is on it. https://www.amazon.co.uk/StarTech-com-4 ... th=1&psc=1
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Working in the Applications Team.

User avatar
davidcoton
Posts: 6509
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: CM4 TWO Ethernet Port

Sun Jul 25, 2021 8:35 pm

jamesh wrote:
Sun Jul 25, 2021 8:09 pm
Something like this, you'll need to find out what chipset is on it. https://www.amazon.co.uk/StarTech-com-4 ... th=1&psc=1
HIGH BANDWIDTH CONNECTIVITY: The dual port NIC card features a high-performance Intel i350 chipset that supports link aggregation / teaming support, enabling you to add additional bandwidth to your system
(My emphasis)
Location: 345th cell on the right of the 210th row of L2 cache

trejan
Posts: 3587
Joined: Tue Jul 02, 2019 2:28 pm

Re: CM4 TWO Ethernet Port

Sun Jul 25, 2021 8:40 pm

Do you need 2x gigabit Ethernet in addition to the one that is on the CM4? If not then single PCIe ethernet + onboard CM4 ethernet would do it.

Do you need the full gigabit throughput on both interfaces concurrently? Would using the CM4 ethernet as a trunk to an onboard switch chip with VLANs work?

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 11621
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: CM4 TWO Ethernet Port

Mon Jul 26, 2021 7:31 am

Devices tested on a CM4 - https://pipci.jeffgeerling.com/#network ... i-adapters

Intel I340-T4 PCIe x4 4-port Gigabit Network Adapter has been shown to work. As above, whether you can buy the raw chips is a different question.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.


Return to “Compute Module”