Bad Subnet Mask.

in CCNA & CCENT
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.
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
profile: linkedin.com/in/astorrs
ip address 192.168.2.1 255.255.255.0
should work fine.
profile: linkedin.com/in/astorrs
profile: linkedin.com/in/astorrs
CCNA Security | GSEC |GCFW | GCIH | GCIA
[email protected]
http://twitter.com/paul_bosworth
Blog: http://www.infosiege.net/
profile: linkedin.com/in/astorrs
R1(config)#ip subnet-zero
R1(config)#int e0
R1(config-if)#ip add 192.168.2.3 255.255.255.224
R1(config-if)#no shut
R1(config-if)#exit