Hello,
I have A class xx...16-31 ip addresses. ...16 is my gateway ip that I entered in endian and ....31 is my broadcast ip that I entered in endian but when I enter 255.255.255.240 as subnetmask, I can not connect to endien from red interface but if I enter xx...31 as subnet mask everything is fine.
See attached picture.

Can someone explain me why ?