Options

what is badmask?

sonagccnasonagccna Member Posts: 44 ■■□□□□□□□□
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]

Comments

  • Options
    wildfirewildfire Member Posts: 654
    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

    have you used the ip classless command? icon_confused.gif: [/quote]
    Looking for CCIE lab study partnerts, in the UK or Online.
  • Options
    tunerXtunerX 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?
  • Options
    sonagccnasonagccna Member Posts: 44 ■■□□□□□□□□
    thanks tunerX :D

    i issued ip subnet-zero command it worked!

    btw the ios is version 11.2
Sign In or Register to comment.