Bad Subnet Mask.

Nishesh.PrasadNishesh.Prasad Member Posts: 185
Excuse me if the question sounds too obvious, but i cant figure out the logic behind the following :

Router(config)#interface e0/0
Router(config-if)#ip address 192.168.1.2 255.255.255.0
Router(config-if)#no shutdown
%LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
Router(config-if)#interface e0/1
Router(config-if)#ip address 192.168.2.0 255.255.255.0
Bad mask /24 for address 192.168.2.0


i'll explain. I have got two routers connected to each other via e0/1 on Router_1 & e0/0 on Router_2. I have'nt configured the interfaces on Router_2 yet. On Router_1, i have configured e0/0 to have an IP of 192.168.1.0 /24. The interface is enabled. When i configure e0/1 on Router_1 to have an IP of 192.168.2.0 /24, i get the following msg : Bad mask /24 for address 192.168.2.0. Is'nt 192.168.1 & 192.168.2 two differrent network Ids under /24 ? Whats the reason behind this ?

fyi - m using a 4550 on both ends, but i suppose that shud'nt matter.
MCITP: EA 2008| VCP4| MCSE 2003 | CCNA | MCSA 2003: Security | MCDST | Security+ | ITILV3

Comments

Sign In or Register to comment.