Hi NXP Team,
[DESCRIPTION]
Please find the below 2 scenarios on ethernet.
In ifconfig we have 2 ethernet interfaces eth0 and eth1
Scenario 1:
Board ON
Connect the LAN cable between linux PC and eth0 port on board
Set the IP of eth0 (ifconfig eth0 192.168.1.250 up)
ping 192.168.1.250 ---> SUCCESS
Set the IP of eth1 (ifconfig eth1 192.168.1.251 up)
ping 192.168.1.251 ---> SUCCESS (Is this expected??)
Remove the LAN cable and connect between PC and eth1 port
ping 192.168.1.251 ---> NOT SUCCESS (Is this expected??)
ping 192.168.1.250 ---> NOT SUCCESS
Scenario 2:
Board ON
Connect the LAN cable between linux PC and eth0 port on board
Set the IP of eth1 (ifconfig eth1 192.168.1.17 up)
ping 192.168.1.17 ---> NOT SUCCESS
Set the IP of eth0 (ifconfig eth0 192.168.1.18 up)
ping 192.168.1.18 ---> NOT SUCCESS (Is this expected??)
Remove the LAN cable and connect between PC and eth1 port
ping 192.168.1.17 ---> SUCCESS
ping 192.168.1.18 ---> SUCCESS (Is this expected??)
Conclusion ---> to which interface we set the IP first, we can only use that port for packet transaction and also we observe a sharing of IPs between the eth0 and eth1 for the active port.
Is this behaviour expected? If yes, please let us know the reason.