View: 5453|Reply: 13

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.

Published in 2024-10-28 21:18:03 | Show all floors
This post is only visible to author

Use magic report

Published in 2024-10-21 15:52:19 | Show all floors
This post is only visible to author

Use magic report

Published in 2024-10-12 20:20:51 | Show all floors
This post is only visible to author

Use magic report

Published in 2024-9-30 19:40:12 | Show all floors
This post is only visible to author

Use magic report

Published in 2024-9-24 18:01:00 | Show all floors
This post is only visible to author

Use magic report

Published in 2024-9-22 21:13:44 | Show all floors
This post is only visible to author

Use magic report

Published in 2024-9-16 02:51:51 | Show all floors
This post is only visible to author

Use magic report

Published in 2024-8-24 01:42:53 | Show all floors
This post is only visible to author

Use magic report

Published in 2024-8-23 21:45:21 | Show all floors
This post is only visible to author

Use magic report

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

Points Rule

Quick reply Top Return list