At 11:52 AM 10/18/01 -0400, David Douthitt wrote: >What would you consider to be the smallest and largest valid netmask >that contains IP addresses? I thought it would be /2 and /30, but it >turns out Class K is 222.x.x.x/31 and 223.x.x.x/31. > >How can they do that? With a netmask of /31 have one bit for hosts. If >you remove the broadcast IP (bit 1 set) and the BSD broadcast IP (bit 0 >set) what's left?
I don't know Class K ... but I kind of recall that on a Point-to-Point route (for example, the two ends of a PPP connection ... at least the older sort of PPP route used on some leased-line router connections, including the sort I used about 8 years ago), you don't supply a network or a broadcast address. Hence, they are /31 "networks". (Dialup PPP, as I recall, is in effect /32, since many remote addresses can use one PPP "server" IP address.) At the other end, BTW, I'd expect /0, not /2, to be the smallest technically valid netmask (network address 0.0.0.0; broadcast 255.255.255.255) ... though I don't expect to encounter it, except as the Genmask of the default gateway. >The reason I ask is I have an IP information app for the PalmPilot and >I'm just about done. Now you can see what the masks are, broadcast IPs, >number of hosts, etc. -- ------------------------------------"Never tell me the odds!"--- Ray Olszewski -- Han Solo Palo Alto, CA [EMAIL PROTECTED] ---------------------------------------------------------------- _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel
