• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 651
  • Last Modified:

Cisco router 2600 how to Check and set IP subnet - zero?

Hello

I have a cisco router 2600.
How do I set the router to "IP Subnet - Zero" ?
What does this mean?
How can I check the current setting?

Thanks

- Jeff
0
jeffg_91911
Asked:
jeffg_91911
1 Solution
 
mikebernhardtCommented:
Type, in config mode, "ip subnet-zero" to make the change. Newer versions of IOS have it on by default. To check, type "show running-config" and the config will say it if it's on. If it's not in the config, it's off.
0
 
lrmooreCommented:
router#show config

!
ip subnet-zero <-- enabled
 <or>
no ip subnet-zero <== disabled
!

What does it do? Just what it says, it allows you to use "subnet zero". By strict RFC standards, you cannot use subnet zero or a broadcast subnet as host IP's.
For example, 192.168.0.0 / 24 is subnet-zero of the 192.168.x.x class C address space.
            192.168.255.0 /24 is the broadcast subnet. By strict RFC standards, neither of these subnets are available for use, although they are widely used. On a strict standards-based Cisco router, you must expressly enable it to use those subnets. Mike is correct that on the most recent versions of IOS, it is enabled by default.

0
 
PennGwynCommented:
> For example, 192.168.0.0 / 24 is subnet-zero of the 192.168.x.x class C address space.

No, 192.168.0.0/24 IS the 192.168.0.x class C address range.

192.168.0.0/28 is subnet "0" of the 16 possible /28 subnets within the 192.168.0.x class C address space.

When subnetting was introduced, there was some concern that 192.168.0.0 was ambiguously the network address of both the 192.168.0.0/28 subnet and the 192.168.0.0/24 class C space.  So Cisco implemented rules which would not let you use the 192.168.0.0/28 subnet (you could still use 192.168.0.16/28, 192.168.0.32/28, etc) unless you configured "ip subnet-zero" indicating that you had determined that it was safe to do so on your network.

As far as I know, nobody has ever actually had a problem with this, which is why this setting is ON by default in recent IOSes.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now