Subnet Masks and Multiple IP Addresses

I've just got a new server. In Local Area Network properties I see:

IP Address: 1.2.3.244
Subnet Mask: 255.255.255.240

I was trying to bind additional IPs to this machine. After playing with it for a few minutes I realized I could successfully add:

IP Address: 1.2.3.245
Subnet Mask: 255.255.255.0

OR I could add:

IP Address: 1.2.3.245
Subnet Mask: 255.255.255.240

Can someone please explain to me why the above two work? I somewhat understand subnet masks, but am not totally sure what is going on here.

Andrew

 

 

 

 

Top