[c-nsp] "Not a valid host address" error

Gert Doering gert at greenie.muc.de
Wed Oct 10 08:55:44 EDT 2012


Hi,

On Wed, Oct 10, 2012 at 04:08:03PM +0330, h bagade wrote:
> I want to know in what condition this error occurres when defining ip
> addresses on interfaces? I test many IP addresses and diverse error
> messages happens which I don't know the reasons. Is there any reference
> which I could find the invalid pattern of ip addresses?

"networking 101"?

- don't use IP addresses out of Class D or E space
- don't use netmasks that are not left-contiguous (no 0-bits mixed into
  1-bits)
- don't use /32 masks on anything that's not a loopback
- don't use IP addresses that would be the network or broadcast address
  in a given subnet

In essence, except for the non-contiguous netmask thing "don't do things
that are not permitted by the networking-101 text book".  And don't use
IPv4 either.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert at net.informatik.tu-muenchen.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-nsp/attachments/20121010/6c6c3036/attachment-0001.sig>


More information about the cisco-nsp mailing list