Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm configuring an HP 2520 switch by CLI menu interface and i get an error trying to setting this ip config:

default gw: 10.0.0.254 switch ip: 10.0.255.5 subnet-m: 255.255.0.0

The error simply tells: "Unable to set" refering to the default gw.

If i run this command:

vlan 1 ip address 10.0.255.5 255.255.0.0

I get:

10.0.255.5/16: Inconsistent value.

Do you know what's wrong with my ip?

share|improve this question

1 Answer 1

It probably hates your use of 255 as your switch's third octet, I know I do, try 254 as a quick test.

share|improve this answer
    
You're right it works... but what's wrong with that 255? –  Tobia Nov 8 '12 at 12:04
    
255 is broadcast in IP land –  Chopper3 Nov 8 '12 at 12:21
1  
That's weird because with a /16 10.0.255.5 is a perfectly valid host address. 10.0.255.255 would be the broadcast address for that network. –  joeqwerty Nov 8 '12 at 14:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.