Home > Ask the Networking Experts > Routing and switching with Sudhanshu Gupta Questions & Answers > Invalid results using a subnet calculator
Ask The Networking Expert: Questions & Answers
EMAIL THIS

Invalid results using a subnet calculator

Retired expert - Nandan Gijare EXPERT RESPONSE FROM: Retired expert - Nandan Gijare

Pose a Question
Other Networking Categories
Meet all Networking Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 13 January 2004
I have a Cisco router with four serial interfaces, two dedicated p2p and two frame sub interfaces. Each interface address is part of the 192.168.130 subnet. The hosts are numbered 13,33,26,22 with a 30-bit mask, respectively.

Everything works OK, but plugging the subnet and mask into a calculator yields invalid host for 1 and 2.

Everything is working, and has been for some time, but I need to understand a little better just why? The SNM is used by the router to talk to the interface on the other end of the circuit, why isn't it choking on the host part of the address?


>
EXPERT RESPONSE
I think you are putting the following subnet and mask values to calculate the host IP addresses
Subnet 192.168.130.0
Mask 255.255.255.252
In your case you actually have four subnets as follows:
Subnet for host 13 is 192.168.130.12 mask 255.255.255.252
Subnet for host 22 is 192.168.130.20 mask 255.255.255.252
Subnet for host 26 is 192.168.130.24 mask 255.255.255.252
Subnet for host 33 is 192.168.130.32 mask 255.255.255.252

If you use these values I think you should get the correct values for the hosts. I am answering this question on theoretical basis, because you have not provided any information about the type of subnet calculator you are using. There might also be a bug in your calculator. I hope this answers your question.

For more information, see our guide to IP addressing and subnetting fundamentals.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Routing and switching with Sudhanshu Gupta
How to upgrade an Input/Output Supervisor (IOS) router
Inter-VLAN routing with a LAN and WAN on a single router
What do routers use MAC addresses for?
Does each routing protocol have a different routing table?
How can I load balance between DSLs and LLs?
How to route L3 switches for a serial LAN design
How to configure ISDN and backup leases on routers
How can I configure 10 VLANs with 5 unmanaged switches?
Types of link-state advertisements (LSAs) used in Open Shortest Path First (OSPF)
What is broadcasting and which switch will fix timed-out requests?

IP Addressing
Do multiple router interfaces affect the amount of IP addresses?
How to locate the lost IP address of an Access Point (AP)
IPv4 or IPv6 -- Myths and Realities
What is a logical network? How do you improve one?
Why are IPv6's IP addresses in hexadecimal formatting?
Understanding VLAN implementation and IP address assignment
Prevent IP address conflicts on your wireless network by managing DHCP scopes
Get IPv6 skills now rather than later
How can I check connectivity and ping between sites?
Can I connect to my wireless network and wired LAN simultaneously?

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
32-bit IP addressing  (SearchNetworking.com)
fixed-length subnet mask  (SearchNetworking.com)
GARP (Generic Attribute Registration Protocol)  (SearchNetworking.com)
route aggregation  (SearchNetworking.com)
route summarization  (SearchNetworking.com)
routing table  (SearchNetworking.com)
subnet  (SearchNetworking.com)
subnet mask  (SearchNetworking.com)
variable-length subnet mask  (SearchNetworking.com)
wildcard mask  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Expert networking advice and tips for IT professionals
Visit KnowledgeStorm's comprehensive and easy to use business white paper directory.
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersNetworking Product Trials
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts