Tempel, Ferdinand wrote:
> > The error which you report seems to indicate an invalid `route'
> > command, e.g. specifying `-net <address>' where <address> isn't a
> > network address (i.e. has a non-zero host portion).
> >
> > Only your administrator/ISP can tell you what your netmask should be.
> > Given an IP address and netmask, calculating the network address is
> > straightforward.
>
> Luckily I can determine my own adresses since I don't have a connection
> to the net (yet).
> So...If I want an IP adress like 128.139.0.0 (for reasons only known to
> me...actually I have an X-server for win95 I wanna try that's only
> licenced for this range of adresses :-) and a subnetmask like
> 255.255.0.0
> The network adress would be 128.0.0.0?
The network address would be 128.139.0.0. The individual host
addresses would be 128.139.0.1 to 128.139.255.254.
> And the broadcast adress 128.0.255.255? (just a guess...)
Yes.
> Where can I find some documentation on this subject (RFC number, other)
IP addresses and netmasks are just 32-bit numbers. For a given IP
address and netmask, the network address is obtained by AND-ing the
address with the netmask, while the broadcast address is given by
OR-ing the address with the one's-complement of the netmask.
--
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]