what is badmask?
sonagccna
Member Posts: 44 ■■□□□□□□□□
in CCNA & CCENT
I tried to reconfigure the serial interface with /30 mask which was configured with /8 mask previously.it is not letting it.
how to go about doing this?
command:ip address 10.0.0.2 255.255.255.252
I got at the console as
Bad mask /30 for address 10.0.0.2[/b]
how to go about doing this?
command:ip address 10.0.0.2 255.255.255.252
I got at the console as
Bad mask /30 for address 10.0.0.2[/b]
Comments
-
wildfire Member Posts: 654command:ip address 10.0.0.2 255.255.255.252
I got at the console as
Bad mask /30 for address 10.0.0.2
have you used the ip classless command? : [/quote]Looking for CCIE lab study partnerts, in the UK or Online. -
tunerX Member Posts: 447 ■■■□□□□□□□2511_1(config)#no ip classless
2511_1(config)#int serial 1
2511_1(config-if)#ip address 10.0.0.2 255.255.255.252
2511_1(config-if)#no ip subnet-zero
2511_1(config)#int serial 1
2511_1(config-if)#ip address 10.0.0.2 255.255.255.252
Bad mask /30 for address 10.0.0.2
2511_1(config-if)#ip classless
2511_1(config)#int serial 1
2511_1(config-if)#ip address 10.0.0.2 255.255.255.252
Bad mask /30 for address 10.0.0.2
2511_1(config-if)#ip subnet-zero
2511_1(config)#int serial 1
2511_1(config-if)#ip address 10.0.0.2 255.255.255.252
2511_1(config-if)#
You need to configure "ip subnet-zero"
Are you running a 12.1 or earlier IOS? -
sonagccna Member Posts: 44 ■■□□□□□□□□thanks tunerX
i issued ip subnet-zero command it worked!
btw the ios is version 11.2