Question about ip subnet zero
steve2012
Member Posts: 93 ■■□□□□□□□□
in CCNA & CCENT
I am a little confused about ip subnet zero. I know the basics, that if RIPv2 is in play it is permitted, and that the default on Cisco routers today is default on. But I am having difficulty wrapping my head around the concept. I have read up on the Internet as well as Odems book and was wondering is someone can maybe explain it in a simpler form.
I am obviously not quite there yet and would appreciate a quick run down from anothers perspective.
Thank you
Steve
I am obviously not quite there yet and would appreciate a quick run down from anothers perspective.
Thank you
Steve
Comments
-
georgemc Member Posts: 429This link points to just about the clearest explanation that I've seen.
Subnet Zero and the All-Ones Subnet* [IP Addressing Services] - Cisco SystemsWGU BS: Business - Information Technology Management
Start Date: 01 October 2012
QFT1,PFIT in progress.
TRANSFERRED/COMPLETED: AGC1,BBC1,LAE1,QBT1,LUT1,QLC1,QMC1,QLT1,IWC1,INC1,INT1,BVC1,CLC1,MGC1, CWV1 BNC1, LIT1,LWC1,QAT1,WFV1,EST1,EGC1,EGT1,IWT1,MKC1,MKT1,RWT1,FNT1,FNC1, BDC1,TPV1 REQUIRED: -
CodeBlox Member Posts: 1,363 ■■■■□□□□□□Yikes, you don't want to really be unsure about objectives the night before these exams!Currently reading: Network Warrior, Unix Network Programming by Richard Stevens
-
Carl_S_901 Member Posts: 105Steve,
If you are familiar with the host and broadcast address for a subnet being unusable for hosts (which you should be) then you should get it because the concept is the same. Let me give you and example.
Let's say we have 192.168.1.0/24 and we are subnetting it into /27 networks. We would have the following networks:
192.168.1.0
192.168.1.32
192.168.1.64
192.168.1.96
192.168.1.128
192.168.1.160
192.168.1.192
192.168.1.224
or a total of 8 usable subnets when using the default of allowing subnet zero.
Using no ip subnet zero on the router means that we cannot use the all 0's are all 1's subnets. All 1s subnet may be referred as the broadcast subnet. Under that restriction, our available subnets would be:
192.168.1.0 (cannot use)
192.168.1.32
192.168.1.64
192.168.1.96
192.168.1.128
192.168.1.160
192.168.1.192
192.168.1.224 (cannot use)
or a total of 6 usable subnets when we apply the no ip subnet zero command to the router.
The original reasoning behind this is that 192.168.1.0 would be the network address for both 192.168.1.0/24 and 192.168.1.0/27. Also the broadcast address of 192.168.1.255 would be the the same for 192.168.1.0/24 and 192.168.1.224/27. In theory there would be no way to distinguish between the 2 network addresses or the two broadcast addresses. Modern routers can handle this fine though.
The crappy thing about all of this is that the concept of not using the all 0s or all 1s subnet was obsoleted in RFC 1878 which was published in......drumroll please...... 1995. So no one in the real world has been avoiding the use of the all 0s and all 1s subnets for many years. I'm not sure why they still teach this except for theory/foundation. Imagine the amount of wasted public IP address space if we followed this on the Internet? We would have run out of public addresses a very long time ago.
Hope this helps.
Thanks
Carl S.
Check out my personal certification journey blog
Carl's Certification Journey | The road to getting certified can often be bumpy -
Mstavridis Member Posts: 107Its taught cause you can still run into the issue on dated hardware that connects to your current hardware.
-
Carl_S_901 Member Posts: 105Yes, technically it was not obsoleted "decades" ago so I edited my post to reflect that. I'm guessing that a piece of gear would have to be more than 15 years old for this to be an issue?
-
Mstavridis Member Posts: 107Well yes and alot, and I mean ALOT haha will be around the 20 years old mark. No one throws this equipment away, what happens is they just but a brand new piece of equipment next to it as it would be to much work to fully decommission it.
Humans = Lazy, haha -
fadhil Member Posts: 200please remember that for cisco router all subnet are using regardless of subnet zero, because it can handle .
-
Mstavridis Member Posts: 107please remember that for cisco router all subnet are using regardless of subnet zero, because it can handle .
Unless it is 15+ years old -
networker050184 Mod Posts: 11,962 ModIf you are working with 15+ year old gear its time to find a new job!An expert is a man who has made all the mistakes which can be made.
-
steve2012 Member Posts: 93 ■■□□□□□□□□Carl_S_901 wrote: »So how did you do on the test Steve? Lets here the good news.
Made it! Very pleased.
Thnx -
JustFred Member Posts: 678 ■■■□□□□□□□Congratulations and good luck on the next[h=2]"After a time, you may find that having is not so pleasing a thing, after all, as wanting. It is not logical, but it is often true." Spock[/h]