please choosego to mobile | Continue to access the PC version
View: 4192|Reply: 0

Two Orange Pi PC+ has same MAC Address for eth0

[Copy link]

1

threads

1

posts

13

credits

Novice

Rank: 1

credits
13
Published in 2019-1-7 15:13:27 | Show all floors |Read mode
I have 5 Orange Pi PC+ boards and all are running on Android 7.0 image.
But i am seeing same MAC address for eth0(ethernet) for all board.  
I am using my proprietary android app which communicate with server with REST API. I am getting mac address from eth0 using below method,

List<NetworkInterface> all = Collections.list(NetworkInterface.getNetworkInterfaces());
for (NetworkInterface nif : all) {

    if (nif.getName().equalsIgnoreCase("eth0")) {
        byte[] macBytes = nif.getHardwareAddress();


I am afraid that if 2 or more Orange Pi PC+ board in same netwok will create problem to comunicate server.

Is this know issue? Is there any solution to overcome this issue?

Please help. Thanks in advance.

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list