The network number is derived by an doing a binary and between and IP address and the subnet mask. The network umber ends up being all zeros in the host porting of the address because a mask is all 0's to the right of the break between hosts and networks.
Now, let's look at your address and mask. You say your mask is .240 for the last octet, so you have 16 values per subnet. The networks would be 0-16, 16-31, etc. You seem to fit in the 16-31 range. Now, in your case a value of 16 is all zeros in the host bits, so it is your network number; and 31 is all ones in the host bits, so it is the broadcast for your network. Useable IP addresses for your network would be 17-30, so routers in your wan range must be pulled from that range of addresses for things to work properly. Michael J. Knisely -----Original Message----- From: ozgurerdogan [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2008 11:21 AM To: [email protected] Subject: [Efw-user] Entering correct subnet mask stops connection? Hello, I have A class xx.xxx.xxx.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 88.255.199.31 as subnet mask everything is fine. See attached picture. Can someone explain me why ? Thanks http://www.nabble.com/file/p20015603/Untitled-1.gif -- View this message in context: http://www.nabble.com/Entering-correct-subnet-mask-stops-connection--tp2 0015603p20015603.html Sent from the efw-user mailing list archive at Nabble.com. ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Efw-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/efw-user ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Efw-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/efw-user
