Skip to content
View in the app

A better way to browse. Learn more.

BuildHub.org.uk

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MAC address

Featured Replies

I always thought these were unique.

But it would seem not. 2 raspberry pi's - same mac address. I've rebooted router/switch - still shows the same!!!. I want to give a unique fixed IP to each one ( based on the supposed unique IP address ) but it would seem I can't. Even unplugged one; reboot everything - still the same MAC address!. I thought the whole point of MAC was unique - what do I do!!!????

Edited by pocster

  • Replies 54
  • Views 7.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Looks like the Pi can load a MAC address override during kernel boot. https://raspberrypi.stackexchange.com/questions/68513/pi-using-a-random-mac-address-after-every-reboot-how-do-i-stop-this-beh

  • epsilonGreedy
    epsilonGreedy

    I thought the MAC address was fused into a network chip at fabrication time so could a procedural error in the fab plant cause this problem?

  • Same as mine ???? ( I am joking btw !!! )

Posted Images

  • Author

I should point out when I 'swap' between these 2 it's the same physically connection on the switch. But that shouldn't matter should it?. Google isn't helping me 

You can set the IP address up on each Pi in software, or use a hostname.

Edited by SteamyTea

  • Author
1 minute ago, SteamyTea said:

You can set the IP address up on each Pi in software, or use a hostname.

I know that. But it's a bit tricky when multiple PI's have the same MAC address

How are you discovering the MAC addresses? On the Pi's themselves (running ifconfig or similar) or is it from the router's view of the world? If the latter then it is likely getting confused and/or showing misleading information. The MAC addresses *will* be unique so keep persisting...

what sort of Pi is it, then if I have one similar on my network, can see if it is the same as mine.

 

  • Author
23 minutes ago, MJNewton said:

How are you discovering the MAC addresses? On the Pi's themselves (running ifconfig or similar) or is it from the router's view of the world? If the latter then it is likely getting confused and/or showing misleading information. The MAC addresses *will* be unique so keep persisting...

Yeah I detect router / switch are getting confused . But even powering off one pi . Reboot router / switch still shows same MAC address on different pi ! ?

Edited by pocster

  • Author
17 minutes ago, SteamyTea said:

what sort of Pi is it, then if I have one similar on my network, can see if it is the same as mine.

 

It was a zero - though I have all variations ??

Does the router allow you to enter the MAC addresses manually? What router is it?

3 minutes ago, pocster said:

It was a zero

Here is my MAC

 

00:e0:2d:1a:23:0a
 

26 minutes ago, MJNewton said:

How are you discovering the MAC addresses? On the Pi's themselves (running ifconfig or similar) or is it from the router's view of the world? If the latter then it is likely getting confused and/or showing misleading information. The MAC addresses *will* be unique so keep persisting...

 

I thought the MAC address was fused into a network chip at fabrication time so could a procedural error in the fab plant cause this problem?

They're all going to be different, otherwise you wouldn't be able to use them on the same network.

  • Author
Just now, MJNewton said:

They're all going to be different, otherwise you wouldn't be able to use them on the same network.

Yeah I know - but something is confused 

  • Author
2 minutes ago, SteamyTea said:

Here is my MAC

 

00:e0:2d:1a:23:0a
 

Same as mine ??????

Just now, epsilonGreedy said:

 

I thought the MAC address was fused into a network chip at fabrication time so could a procedural error in the fab plant cause this problem?

 

In theory, I suppose anything is possible. In practice it's not going to be the case. Occam's Razor suggests it is almost certainly a router issue, not least given the majority are built down to a price and are full of bugs.

1 minute ago, MJNewton said:

 

In theory, I suppose anything is possible. In practice it's not going to be the case. Occam's Razor suggests it is almost certainly a router issue, not least given the majority are built down to a price and are full of bugs.

 

Ok. I will stick to my specialist subjects namely software and climate change science.

6 minutes ago, pocster said:

Same as mine

 

Here is the address on another one, but an old one.

 

b8:27:eb:2c:9d:dd 

7 minutes ago, pocster said:

Same as mine ??????

 

In case you were being serious there (hey, you never know! ;-)) are there any similarities between your setups e.g. same OSs, perhaps one built the Pis for the other etc? MAC addresses can be changed and it might well be the case that your OSs are changing them (to a fixed value, which is a bad idea).

  • Author
5 minutes ago, SteamyTea said:

 

Here is the address on another one, but an old one.

 

b8:27:eb:2c:9d:dd 

Same as mine ???? ( I am joking btw !!! )

8 minutes ago, pocster said:

Same as mine ???? ( I am joking btw !!! )

You can still use and abuse my MAC, just wipe it clean after.

  • Author

This was driving me mad!

So I boot 1 raspberry pi at a time. It gets whatever IP address the DHCP server decides. SSH into it and edit dhcpd.conf (I think ). Few lines to get it a fixed IP address ( for everything else I set the fixed IP off the MAC in the router - as it's simpler ).

Have to do it this way - otherwise I can't tell what the hell's going on!. But as others have said all devices MUST have a unique Mac address when manufactured .....

Edited by pocster

Why not use a host name to SSH into.

 

You can, if you want, give it a number.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.