Jump to content

MAC address


Pocster

Recommended Posts

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
Link to comment
Share on other sites

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...

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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?

  • Like 1
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

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
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...