Add multiple host with the same IP

Here is my need:

I have a snmp proxy in my network which is for forwarding snmp messages between LibreNMS and remote agents

According to snmp proxy setting and from the respect of LibreNMS, I must use the same IP addr which is on snmp proxy, to communicate with those remote agents.

But the issue is comming, LibreNMS is not allowed to add host with the same IP more than once.

Is there any method to work out?

thanks!

One option is to use hostnames (and create multiple hostnames in your DNS that resolve to the same IP).

  • myDevice1 IN A 10.0.0.1
  • myDevice2 IN A 10.0.0.1
  • myDevice3 IN A 10.0.0.1

and then you can add them with the different UDP port specified for each of your devices.