Hey Joao,

correct, two devices in the same organization cannot have the same 
management_ip or the same last_ip (unless last_ip is a public IP, in that 
case it's allowed since multiple devices can be behind the same public IP).
These two fields (especially the management IP) are used by OpenWISP to 
contact the device and if 2 devices have the same management IP, things 
will not work out well.

The modified date of the device object should change, the modified date and 
status of the config object shouldn't, if it does, it may be a bug.

Federico


On Wednesday, August 12, 2020 at 1:34:04 PM UTC-5 [email protected] wrote:

>
> Hi, I'm running an OpenWISP controller to remote manage configuration from 
> a few OpenWRT devices.
> I've noticed that when the controller receives a config checksum request 
> by the OpenWISP agent on the APs, my device config modified date is updated 
> to the current date, and config status changes from applied to modified. 
>
> From what I've been able to reproduce using a virtual machine and two 
> manually inserted devices. Seems that two devices cannot have the same Ip 
> Address. Not sure if it's limited to LAN IP address as I was using 
> 192.168.1.0/24 network in my simulations.
>
> I've used Postman to make get requests to 
> http://mycontroller.mydomain.com/controller/checksum/{device-uuid}/?key={device-key}
>  
> and I can see my Ip being moved from one device to another.
>
> Is this intended behavior? I can provide some logs if it helps to 
> illustrate my doubts better.
>
> Regards,
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/10fd946b-a6ef-41e3-8071-33933abbb579n%40googlegroups.com.

Reply via email to