How to Choose an IP Address for Efficient Subnetting?

  • MHB
  • Thread starter shivajikobardan
  • Start date
  • Tags
    Confusion
In summary, to choose an IP address for subnetting, identify the class of IP address, determine the number of hosts and networks required, and calculate the appropriate subnet mask.
  • #1
shivajikobardan
674
54
5 departments are there-:

d1 d2 d3 d4 d5

d1 to d4 requires 20 hosts each and d5 requires 6 hosts.


these are various classes of ip addresses-:

A=>0-127=>network id=8, host id=24

B=>128-191=>nid=16,hid=16

C->192-223=>nid=24,hid=8


So how do I choose an IP address for my subnetting so that minimum loss of address space happens?
 
Technology news on Phys.org
  • #2
The best way to choose an IP address for subnetting is to identify the class of IP address you need, then determine the number of hosts and networks that are required, and then calculate the appropriate subnet mask. This will provide the most efficient use of the address space, while minimizing the loss of address space.
 

1. What is IP subnetting?

IP subnetting is the process of dividing a large network into smaller subnetworks, also known as subnets. This allows for efficient use of the available IP addresses and helps with network management and organization.

2. What causes confusion in IP subnetting?

The main cause of confusion in IP subnetting is the use of different subnetting methods, such as classful and classless addressing, and the different ways of representing subnet masks. This can lead to incorrect calculations and network configurations.

3. How do you calculate subnets in IP subnetting?

To calculate subnets, you need to determine the number of bits needed for the subnet mask based on the number of subnets required. Then, you can use the binary AND operation to determine the subnet address for each subnet. There are also online subnet calculators that can help with this process.

4. How do you determine the number of hosts in a subnet?

The number of hosts in a subnet can be determined by subtracting 2 from the total number of available IP addresses in the subnet. This is because the first and last address in each subnet are reserved for the network and broadcast addresses, respectively.

5. What are some tips for avoiding confusion in IP subnetting?

Some tips for avoiding confusion in IP subnetting include understanding the different subnetting methods, double-checking subnet calculations, and using subnetting charts or tools. It is also helpful to have a good understanding of binary and how it relates to subnetting.

Similar threads

  • Programming and Computer Science
Replies
1
Views
768
  • Engineering and Comp Sci Homework Help
Replies
3
Views
3K
  • Computing and Technology
Replies
4
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
629
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Computing and Technology
Replies
1
Views
5K
  • High Energy, Nuclear, Particle Physics
Replies
1
Views
2K
Replies
9
Views
2K
Replies
23
Views
5K
  • Computing and Technology
Replies
1
Views
7K
Back
Top