OPNsense Forum

English Forums => General Discussion => Topic started by: Anth on July 17, 2018, 11:36:22 pm

Title: Cannot Find Static IP Connected Devices?
Post by: Anth on July 17, 2018, 11:36:22 pm
I have just yesterday switched to a custom Opnsense router and am setting things up and getting to grips with it. I am liking it a lot so far. However, there is one very annoying issue I am encountering that is probably a simple fix that I am not seeing.

The issue is, if I set a static IP on the device itself that is connected to the router. It is not showing as connected or existing anywhere that I can see in the Opnsense settings. Its just totally invisible to me.

On other routers in the DHCP leases, even if its static on the device the device will show in the list with that IP. On opnsense it is not showing at all. Its totally invisible.

If I turn off the static IP inside the device settings for whatever device I have. Then it immediately then shows up inside the DHCPv4 leases list as active and I can then set it with a static IP on the Opnsense router, which is kind of half a fix, as I would just like to see somewhere the devices I have connected with a static assigned IP on the device itself. It seems an odd thing that Opnsense would overlook so I am figuring there is a section I am missing or an option I am missing to allow me to see all these.

Thanks
Title: Re: Cannot Find Static IP Connected Devices?
Post by: marjohn56 on July 18, 2018, 08:07:05 am
That's because the device has not sent a dhcp request, therefore it does not show up in the dhcp leases table. If you want to see all devices, including statics, use the ARP table.


Interfaces>Diagnostics>ARP Table



Title: Re: Cannot Find Static IP Connected Devices?
Post by: JasMan on July 18, 2018, 02:00:51 pm
There's also a plugin called os-arp-scan to identify all connected clients. It scans active your LAN for activ/known clients. The ARP table maybe incomplete when a client has not send/received data for some time.

Another workaround is to configure static leases in DHCP as dummy for those clients, which have static IP addresses configured.