Re: [c-nsp] Not a valid host address error
On Wed, 10 Oct 2012, h bagade wrote: Thanks all. Thanks Gert for your complete answer. It cleared the vague parts but one still remains! what about ip address like 0.2.3.1 255.255.255.0! what's the rule for this one? 0.0.0.0/8 doesn't contain any valid IPv4 addresses. -- Mikael Abrahamssonemail: swm...@swm.pp.se ___ cisco-nsp mailing list cisco-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
Re: [c-nsp] Not a valid host address error
Thanks guys. The guides solved my problem completely. On Thu, Oct 11, 2012 at 9:29 AM, Mikael Abrahamsson swm...@swm.pp.sewrote: On Wed, 10 Oct 2012, h bagade wrote: Thanks all. Thanks Gert for your complete answer. It cleared the vague parts but one still remains! what about ip address like 0.2.3.1 255.255.255.0! what's the rule for this one? 0.0.0.0/8 doesn't contain any valid IPv4 addresses. -- Mikael Abrahamssonemail: swm...@swm.pp.se ___ cisco-nsp mailing list cisco-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
[c-nsp] Not a valid host address error
Hi all, 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? some of my tests are: Router(config-if)#ip address 172.0.3.2 255.255.255.255 Bad mask /32 for address 172.0.3.2 Router(config-if)#ip address 255.0.3.2 255.255.255.255 Not a valid host address - 255.0.3.2 Router(config-if)#ip address 255.0.3.2 255.255.255.0 Not a valid host address - 255.0.3.2 Router(config-if)#ip address 254.0.3.2 255.255.255.0 Not a valid host address - 254.0.3.2 Router(config-if)#ip address 224.10.3.2 255.255.255.0 Not a valid host address - 224.10.3.2 Router(config-if)#ip address 224.10.3.2 255.0.0.0 Not a valid host address - 224.10.3.2 Router(config-if)#ip address 224.10.3.2 239.0.0.0 Not a valid host address - 224.10.3.2 Router(config-if)#ip address 224.0.0.0 239.0.0.0 Not a valid host address - 224.0.0.0 Router(config-if)#ip address 195.0.0.0 239.0.0.0 Bad mask 0xEF00 for address 195.0.0.0 Router(config-if)#ip address 223.0.0.0 239.0.0.0 Bad mask 0xEF00 for address 223.0.0.0 thanks in advance ___ cisco-nsp mailing list cisco-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
Re: [c-nsp] Not a valid host address error
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 g...@greenie.muc.de fax: +49-89-35655025g...@net.informatik.tu-muenchen.de pgpSpmJ83JMay.pgp Description: PGP signature ___ cisco-nsp mailing list cisco-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
Re: [c-nsp] Not a valid host address error
Thanks all. Thanks Gert for your complete answer. It cleared the vague parts but one still remains! what about ip address like 0.2.3.1 255.255.255.0! what's the rule for this one? On Wed, Oct 10, 2012 at 4:25 PM, Gert Doering g...@greenie.muc.de wrote: 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 g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de ___ cisco-nsp mailing list cisco-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
Re: [c-nsp] Not a valid host address error
On Wed, 2012-10-10 at 23:55 +0330, h bagade wrote: what about ip address like 0.2.3.1 255.255.255.0! what's the rule for this one? that one is in the book as well. richard ___ cisco-nsp mailing list cisco-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/