I have the following question: One Linux DHCP server in pool mode, because of the step of fabrication, all the products have the same MAC Address that is changed at end of line, the boards use ethernet to record they file system, and for volume of production, we need to record six or more boards at same time per computer ( We use a switch in the production line). When monitoring the boards they often get same IP of another board. Exist a configuration on server that enable assign multiple ip's to the same MAC Address?
Linux – Assign more than one IP Address to the same MAC Address on Linux ISC-DHCP Server
ethernetipisc-dhcplinuxmac address
Related Topic
- MySQL Configuration – How to Bind MySQL Server to Multiple IP Addresses
- Switch – What’s a good way to handle multiple devices with the same MAC address on one network
- DHCP – Assign Two Static IP Addresses to One MAC Address
- How to reserve a static-ip on Mikrotik router for a device that is attached to a fixed router’s Ethernet port
- ISC DHCP assign pool/subnet to certain MAC addresses
Best Answer
I think you will not be able to do this without separating all your boards so they don't see each other. Fortunately, you don't need to physically separate them, there is a solution that allows you to achieve this logically.
To give you an idea of what is needed:
eth0.VLAN_ID
), a network namespace (seeman ip-netns(8)
) and an instance of the DHCP server running in that particular instance. If you need other services, it's best to create a separate instance of that service in each namespace as well.With this setup, your clients will no longer see each other. You won't have any conflicts anymore. Setting it up is probably not easy, but you should be able to script this quite well.
I answered a similar question some time ago involving network namespaces. It might give you some ideas:
The same IP on multiple interfaces