Skip to main content

ip subnet zero

More
18 years 3 months ago #15888 by bigal
ip subnet zero was created by bigal
Hi everyone,

I'm studying for my CCNA, and there is 1 basic concept that I don't grasp. I understand everything with subnetting, however I do not understand what the "ip subnet-zero" command does.

Can someone illustrate this more clearly for me, maybe with an example of what the difference would be with and without this command on a router.

Thanks
More
18 years 3 months ago #15893 by eylli
Replied by eylli on topic Re: ip subnet zero
In the days before CIDR, if you had a set of subnets induced upon a
base network address, then the first and last of those subnets
were reserved. ip subnet-zero tells the router that those subnets
are not reserved.

For example, if you were using subnets of a class C address
(say, 192.168.12.0) induced by the subnet mask 255.255.255.192
(that's 64 addresses at a chunk), then you would have four
subnets generated, 192.168.12.0-63, 192.168.12.64-127,
192.168.12.128-191, and 192.168.12.192-255 . However, before CIDR
you would not be allowed to use the first (192.168.12.0-63)
or last (192.168.12.192-255), leaving you with only two
usable subnets (192.168.12.64-127 and 192.168.12.128-191).


I've heard that this is something that the Cisco certification
exams love to trip people up on -- ask how many subnets there are
of a certain address of a certain size, and anyone who doesn't
reduce the "obvious" count by 2 because of the unusable ones is
considered to be wrong. "ip subnet-zero" is not the default,
and the cert exams like to push the edge of what the behaviour
would be under any defaults that they do not specifically state
have been changed.
More
18 years 3 months ago #15900 by bigal
Replied by bigal on topic Re: ip subnet zero
thanks eylli,

its clear now! :D
More
18 years 3 months ago #15934 by Tarun
Replied by Tarun on topic Re: ip subnet zero

In the days before CIDR, if you had a set of subnets induced upon a
base network address, then the first and last of those subnets
were reserved. ip subnet-zero tells the router that those subnets
are not reserved.

For example, if you were using subnets of a class C address
(say, 192.168.12.0) induced by the subnet mask 255.255.255.192
(that's 64 addresses at a chunk), then you would have four
subnets generated, 192.168.12.0-63, 192.168.12.64-127,
192.168.12.128-191, and 192.168.12.192-255 . However, before CIDR
you would not be allowed to use the first (192.168.12.0-63)
or last (192.168.12.192-255), leaving you with only two
usable subnets (192.168.12.64-127 and 192.168.12.128-191).


I've heard that this is something that the Cisco certification
exams love to trip people up on -- ask how many subnets there are
of a certain address of a certain size, and anyone who doesn't
reduce the "obvious" count by 2 because of the unusable ones is
considered to be wrong. "ip subnet-zero" is not the default,
and the cert exams like to push the edge of what the behaviour
would be under any defaults that they do not specifically state
have been changed.


Nice explanation...!!

Next would be SP (Service Provider)
CCNA, CCNP (Switching), CCIE#20640
More
18 years 3 months ago #16006 by jonty509
Replied by jonty509 on topic Re: ip subnet zero
goooddd onee...
Time to create page: 0.133 seconds