Hi there,
I’m using Mikrotik RB4011iGS+5HacQ2HnD router and a Raspberry PI (with Raspbian) connected to it. I need to assign static IP address (I decided for. 192.168.88.251) to Raspberry. I tried 2 ways of doing this, without / with partial success:
- I set a static lease on DHCP in RouterOS - as seen on screenshot. The problem is that sometimes it works, sometimes it stops working. I’m pinging the IP and either I get “Request timeout for icmp_seq…” or “ping: sendto: Host is down” error. Lease status remains “Offered”.



- I removed static lease on DHCP and set static IP in raspbian in
/etc/dhcpcd.conf
:
interface wlan0
static ip_address=192.168.88.201/24
static routers=192.168.88.1
static domain_name_servers=192.168.88.1
This worked much better, but despite that partial success, 1-2 times per week the raspberry disconnects and doesn’t connect again - I don’t know why. When I restart router it works again.
I’m struggling with this problem one month. Could anybody give me an advice what to try / how to set it / how to get it working? Thanks a lot.