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

h bagade bagadeh at gmail.com
Wed Oct 10 08:38:03 EDT 2012


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 0xEF000000 for address 195.0.0.0
Router(config-if)#ip address 223.0.0.0 239.0.0.0
Bad mask 0xEF000000 for address 223.0.0.0

thanks in advance


More information about the cisco-nsp mailing list