Fail2Ban blocks ip despite both ignoreself and ignoreip being set in jail.local

Solution 1:

Ignoring 192.168.2.1/32 would mean you are ignoring that IP alone. But in the logs you've shown you're banning 192.168.2.13. I think you've made a typo. I think your ignoreip should be

ignoreip = 192.168.2.13/32 ::1