Hi Support,
is it possible to use AM3352 as single MAC node, but featuring Dual ETH with internal switch (even if PRU is missing in this part)?
Thanks and regards,
Alberto
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.
Hi Support,
is it possible to use AM3352 as single MAC node, but featuring Dual ETH with internal switch (even if PRU is missing in this part)?
Thanks and regards,
Alberto
Hi Alberto,
It is not correct to use two network interfaces with same IP address. This will cause embarrassing of ARP work.
There is a possible solution if you add both interfaces in a bridge and set an IP address to the bridge. You can find a description about how to do that at:
BR
Tsvetolin Shulev
Hi Alberto,
The listing of options that you have is correct, Switch mode means 1 IP address even though there are 2 physical external ports and PHYs. In dual mac mode the ALE configure as 2 ports which can supports 2 MAC and 2 IP addresses. I need to add that in switch mode the IP address is for a single subnet. Whereas the dual mac has two IP addresses and both ports must be connected to different subnets, (e.g. eth0 192.168.0.x and eth1 192.168.1.x). Another point I need to add is that placing both ports on the same subnet will most likely take down both ports. Here is a presentation that describes why you can't put both ports on the same subnet.
training.ti.com/.../ETH_System_SW_on_AMClass_Devices.pdf
If the ports are desired to be redundant other protocols are used.
The am335x-evmsk is an example of how this two option capability is implemented. By adding the dual-mac flag in the DTS file for the board is how to configure the CPSW driver for dual mac mode. Remove the flag and the CPSW driver will initialize as a switch. No hardware changes are required.
Let me know if there are additional questions. Also please attach a topology of the customer's intended use of the ports.
1783_001.pdfHy Schuyler,
thanks for the very useful material. Customer studied it and find it solid and well explaining all possible configurations.
One more question is related to slide #55. What is the reason why a wrong ETH port is replying to the ARP message?
Please find in attachment the slide I'm referring to.
Thanks and regards,
Alberto