07-30-2007 12:54 AM - edited 03-05-2019 05:33 PM
a funny thing happned ,when i config a ip address on a interface.the system log in last line suggest that 192.168.0.65/26 is illegal address.
i know 192.168.0.65 is a network address and can't be used like that.can anyone tell me,why 172.16.8.65/26 and 192.168.5.65/26 can be assigned to the interface.
R1(config-if)# ip address 172.16.8.65 255.255.255.192
R1(config-if)# ip address 192.168.5.65 255.255.255.192
R1(config-if)#ip address 192.168.0.65 255.255.255.196
Bad mask 0xFFFFFFC4 for address 192.168.0.65
07-30-2007 12:56 AM
Hi
Unless there is a typo it is your subnet mask that is giving the error message ie.
255.255.255.196 should be 255.255.255.192
192.168.0.65 is not a network address, that would be 192.168.0.64.
HTH
Jon
07-30-2007 01:03 AM
Hi Friend,
IP address 172.16.8.65/26 and 192.168.5.65/26 are valid address because their subnet range start from 172.16.8.64 - 172.16.8.127 out of which 172.16.8.65 is the first address and for second ip address subnet range is 192.168.5.64 - 192.168.5.127 out of which 192.168.5.65 is again the first address.
But you last address 192.168.0.65 with mask 255.255.255.196 is wrong because 255.255.255.196 is not a valid mask and if you use 192.168.0.65 with mask 255.255.255.192 like you used for other it should work fine.
HTH
Ankur
*Pls rate all helpfull post
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide