On 8/3/07, Chng Tiak-Jung <[EMAIL PROTECTED]> wrote: > > I think what he meant was: isn't 255 reserved for some special purpose, > just like 0 ? > > But, I thought is this case, it is still alright because the special > meaning is only for the last octet - where 0 => network address, 255 => > broadcast address. > > Maybe someone who is familiar with the IP network standard should clarify. > > Regards, > T J
It depends on your netmask. In a full class-C (/24) network 0 and 255 does have a special meaning in the final octet, but the network address and the broadcast address changes depending on the network size (in essentially your netmask). If I would split my class C into two pieces (/25) the following addresses would have a special meaning: Netmask: 255.255.255.128 Network: 192.168.1.0/25 HostMin: 192.168.1.1 HostMax: 192.168.1.126 Broadcast: 192.168.1.127 Netmask: 255.255.255.128 Network: 192.168.1.128/25 HostMin: 192.168.1.129 HostMax: 192.168.1.254 Broadcast: 192.168.1.255 Basically the network address is the address which all host bits are set to 0, and the broadcast address is where all the host bits are set to 1. You can play around with 'ipcalc' to get a hang of it. A understanding of binary values helps. Best regards Michael Boman -- IT Security Researcher & Developer http://proxy.11a.nu | http://securitytinker.com "It is well known that a vital ingredient of success is not knowing that what you're attempting can't be done." -- Terry Pratchett
_______________________________________________ Slugnet mailing list [email protected] http://www.lugs.org.sg/mailman/listinfo/slugnet
