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

I have a class C that I want to better understand before I implement a change.

Right now,

ip address 192.168.0.1 255.255.255.192
ip address 192.168.0.65 255.255.255.240 secondary

So, where is the 192.168.0.64 address in that mix? 192.168.0.63 should be the broadcast for the first one, and 192.168.0.65 should be the cisco secondary ip.

And ...

How then do I add a /28 (255.255.255.240) right before this segment:

ip address 192.168.0.249 255.255.255.248 secondary

In fact, I'll probably want to add it as a subinterface

Can anyone help me to better understand whats going on and then how to do it?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

First of all, you need to read this:

How does Subnetting Work?

Your first subnet-definition has addresses from 192.168.0.0-192.168.0.63. You already knew that.

Your second subnet-definition has addresses from 192.168.0.64-79, with a broadcast of 192.168.0.79. Yes, the definition says .65 in it, but once you've read Evan's excellent article you'll know why the second range starts at .64.

I'm not sure what you're asking for regarding a "/28 right before this segment". The next /28 would be defined:

ip address 192.168.0.80 255.255.255.240 secondary

And would give a range of .80-.95

share|improve this answer

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.