Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

default gw: switch ip: subnet-m:

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

If i run this command:

vlan 1 ip address

I get: Inconsistent value.

Do you know what's wrong with my ip?

share|improve this question

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
That's weird because with a /16 is a perfectly valid host address. would be the broadcast address for that network. – joeqwerty Nov 8 '12 at 14:33

Your Answer


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.