please choosego to mobile | Continue to access the PC version
View: 4758|Reply: 6

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.

1

threads

7995

posts

110K

credits

Forum patriarch

Rank: 8Rank: 8

credits
16239
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

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

Use magic report

0

threads

3

posts

14

credits

Novice

Rank: 1

credits
14
Published in 2024-7-30 15:54:31 | Show all floors
This post is only visible to author

Use magic report

0

threads

38

posts

112

credits

Registered member

Rank: 2

credits
112
Published in 2024-7-30 15:48:10 | Show all floors
This post is only visible to author

Use magic report

10

threads

173

posts

686

credits

Senior member

Rank: 4

credits
686
Published in 2024-7-3 20:04:57 | 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