This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCU-PLUS-SDK-AM243X: Using Dual Ethernet



Hello,

I was looking for a controller with 2 ethernet interfaces for a new project. I came across the AM243x series.
I see enhanced examples in AM243x SDK, but I don't know if these examples are suitable for my project.

I will talk a little about the details of the project. Let's consider the project as a block containing 100 flats. The building has 1 network of its own. Each house has its own network. There are 101 networks in total in the system. I leave a picture below for better understanding. I want the IP device next to the Entry in the picture below to be able to communicate with each flat. But I don't want the apartments to reach each other. My goal is to combine the site network and the apartment networks by forwarding the data I receive from Eth0 to Eth1 and the data I receive from Eth1 to Eth0. In order not to create confusion between networks, I will allow switching according to the mac or ip addresses I have determined. Not every package will be allowed to pass.

What method should I use here? Can I solve my problem with the following sample applications?
Is it safe to use as a Layer-2 Switch? Frankly, I'm not sure.
Is it right for me to continue with the Vlan application? I could not understand whether the Vlan application is Layer2 or Layer 3. Is the application meant here for Layer-3?

enet_icssg_tas
enet_layer2_cpsw
enet_layer2_cpsw_switch
enet_layer2_icssg
enet_layer2_multi_channel
enet_vlan_icssg


Thanks in advance.

Kind regards,