Compare cert salaries and plan your next career move
TurK-FX wrote: » . If subnet zero not available (where square is borrowed subnet bits)2²=available subnets. If subnet zero is available 2²-2=Available subnets.
So i am confused with host portion of the calculation. Subnet zero has nothing to the with host portion, right?
IP subnet-zero is not a new command, but in the past, cisco courseware, and cisco exam objextives, didnt cover it-but it certainly does now! This command allows you to use first and last subnet in your network design. For example, class C mask of 192 provedis subnets 64 and 128(discussed thoroughly later in this chapter), but with ip subnet-zero command, you now get to use those subnets 0, 64, 128, 192. That`s two more subnets for every subnet mask we use.
TurK-FX wrote: » I quoted this piece from Todd Lamme`s CCNA book. Are you sure it is 2^n-1?
IOS 12.4T Docs wrote: To enable the use of subnet 0 for interface addresses and routing updates, use the ip subnet-zero command in global configuration mode.
On My Router wrote: R1(config)#no ip subnet-zero R1(config)#int s0/0 R1(config-if)#ip add 1.0.0.1 255.255.255.0 Bad mask /24 for address 1.0.0.1 R1(config-if)#ip add 1.0.255.1 255.255.255.0 R1(config-if)#
Cisco Website wrote: The use of the all-ones subnet was explicitly allowed and the use of subnet zero is explicitly allowed since Cisco IOS Software Release 12.0. Even prior to Cisco IOS Software Release 12.0, subnet zero could be used by entering the ip subnet-zero global configuration command.
TurK-FX wrote: » so then there is a CLI command for subnet all the ones? how you control that one?
TehToG wrote: » C) 192.168.1.224 - 192.168.1.255 With the description of the network as 192.168.1.0/27, If we have IP subnet zero enabled we CAN use all 8 subnets. If we do not (i.e. no ip subnet zero) then we cannot use subnet A) or subnet C) but we can use the six in between.
IOS 12.4T wrote: R1(config)#no ip subnet-zero R1(config)#int fa0/0 R1(config-if)#ip add 192.168.1.225 255.255.255.224 R1(config-if)#end R1#sh i *Mar 1 16:41:32.099: %SYS-5-CONFIG_I: Configured from console by console R1#sh ip int fa0/0 | inc 27 Internet address is 192.168.1.225/27
Diggs wrote: » I was under the impression that with the "No IP Subnet Zero" command the first and last subnets could not be used.
"Sybex wrote: This command allows you to use the first and last subnets in your network design. For example, the Class C mask of 255.255.255.192 provides subnets 64 and 128 but with the ip subnet zero command, you now get to use subnets 0,64,128 and 192. Thats two more subnets for every mask we use.
TurK-FX wrote: » That`s what i am trying to figure out. I have 3 different cisco book, and all says -2, where can we confirm that it is -1? it doesnt mention that in cisco resources.
Although the all-ones subnet can now be used, misconfigurations can cause problems.
It should be noted that even though it was discouraged, the entire address space including subnet zero and the all-ones subnet have always been usable. The use of the all-ones subnet was explicitly allowed and the use of subnet zero is explicitly allowed since Cisco IOS Software Release 12.0.
NetworkVeteran wrote: » If you don't believe your eyes (IOS output) I'm not sure what to tell you, mate.
NetworkVeteran wrote: » That may be your impression, but the (modern) actual IOS behavior, documentation, and Cisco website disagree. This is why I posted all three waaaay up above.
From another Forum wrote: Only the first subnet. These get lumped together because of how the binary works. The last subnet in your example (the "all ones" subnet) is not affected by whether ip subnet-zero is on or not. The class C network with the /26 mask would have the .192 subnet available, regardless. It was recommended that you didn't use the all-ones subnet since, for example 192.168.1.255/24 and 192.168.1.255/26 both have are the same broadcast address1. Therefore, a misconfigured client with a /24 subnet mask could cause routing loops on the router that held the 192.168.1.192/26 subnet. 1 in binary, subnet bolded: /24: 11000000 10101000 00000001 11111111 /26: 11000000 10101000 00000001 11111111
second quote wrote: It used to be recommended that you didn't use either all-zeroes or all-ones. That might be why they're saying that. I'd wager the test definitely won't pull a gotcha question on that one, but I don't know for sure.
mella060 wrote: » Basically, all newer routers will have the command ip subnet-zero enabled by default. I think from ios 12.0 this has been the case. I don't see the big issue here. If the command is listed on the router, then you can use the 1st and last subnets. If it says no ip subnet-zero then you cannot use the 1st and last subnets. In the old days, the subnet formulas were 2^n-2 for subnets and 2^n-2 for hosts. Now it is 2^n for subnets since ip subnet-zero is now enabled by default. In the exam, the question will state whether ip subnet-zero is being used or not. Here is a bit of a write up on it...Subnet Zero and the All-Ones Subnet* [IP Addressing Services] - Cisco Systems
mella060 wrote: » I don't see the big issue here.. If it says no ip subnet-zero then you cannot use the 1st and last subnets.
As TheTog said, for real life -1 might be good idea, but i will be taking my ICND1 in 2 weeks, and i dont wanna lose a point for nothing.
You just shouldn't.
TehToG wrote: » While that's true, I believe it can still cause problems if there's misconfiguration?
NetworkVeteran wrote: » I suppose the only issue, is you've stated it wrong again. "no ip subnet-zero" affects the first subnet, not the last subnet. Read the messages above, especially the IOS documentation and router output, and you'll realize this. Alternatively, try this on your own router.
Compare salaries for top cybersecurity certifications. Free download for TechExams community.